Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
f61c8d5d
Commit
f61c8d5d
authored
Dec 18, 2009
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CHANGE] made conectors' dataset selection a bit more precise
parent
c9ff6390
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
src/modules/distanceMap/WMDistanceMap.cpp
src/modules/distanceMap/WMDistanceMap.cpp
+3
-3
src/modules/distanceMap/WMDistanceMap.h
src/modules/distanceMap/WMDistanceMap.h
+1
-1
src/modules/navSlices/WMNavSlices.cpp
src/modules/navSlices/WMNavSlices.cpp
+2
-2
src/modules/navSlices/WMNavSlices.h
src/modules/navSlices/WMNavSlices.h
+1
-1
No files found.
src/modules/distanceMap/WMDistanceMap.cpp
View file @
f61c8d5d
...
...
@@ -104,9 +104,9 @@ void WMDistanceMap::connectors()
{
// initialize connectors
m_input
=
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
>
>
(
new
WModuleInputData
<
WDataSet
>
(
shared_from_this
(),
"in"
,
"Dataset to compute
isosurface
for."
)
m_input
=
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
Single
>
>
(
new
WModuleInputData
<
WDataSet
Single
>
(
shared_from_this
(),
"in"
,
"Dataset to compute
distance map
for."
)
);
// add it to the list of connectors. Please note, that a connector NOT added via addConnector will not work as expected.
...
...
src/modules/distanceMap/WMDistanceMap.h
View file @
f61c8d5d
...
...
@@ -88,7 +88,7 @@ protected:
virtual
void
properties
();
private:
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
>
>
m_input
;
//!< Input connector required by this module.
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
Single
>
>
m_input
;
//!< Input connector required by this module.
/**
* Function to create a distance map from Anatomy data set.
...
...
src/modules/navSlices/WMNavSlices.cpp
View file @
f61c8d5d
...
...
@@ -84,8 +84,8 @@ void WMNavSlices::connectors()
// initialize connectors
// XXX to add a new connector and to offer it, these simple steps need to be done
// initialize it first
m_input
=
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
>
>
(
new
WModuleInputData
<
WDataSet
>
(
shared_from_this
(),
m_input
=
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
Single
>
>
(
new
WModuleInputData
<
WDataSet
Single
>
(
shared_from_this
(),
"in1"
,
"List of datasets to show on the slices."
)
);
...
...
src/modules/navSlices/WMNavSlices.h
View file @
f61c8d5d
...
...
@@ -162,7 +162,7 @@ private:
/**
* Input connector required by this module.
*/
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
>
>
m_input
;
boost
::
shared_ptr
<
WModuleInputData
<
WDataSet
Single
>
>
m_input
;
/**
* lock to prevent concurrent threads trying to update the osg node
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment