Commit f61c8d5d authored by Alexander Wiebel's avatar Alexander Wiebel

[CHANGE] made conectors' dataset selection a bit more precise

parent c9ff6390
......@@ -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< WDataSetSingle > >(
new WModuleInputData< WDataSetSingle >( 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.
......
......@@ -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< WDataSetSingle > > m_input; //!< Input connector required by this module.
/**
* Function to create a distance map from Anatomy data set.
......
......@@ -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< WDataSetSingle > >(
new WModuleInputData< WDataSetSingle >( shared_from_this(),
"in1", "List of datasets to show on the slices." )
);
......
......@@ -162,7 +162,7 @@ private:
/**
* Input connector required by this module.
*/
boost::shared_ptr<WModuleInputData< WDataSet > > m_input;
boost::shared_ptr<WModuleInputData< WDataSetSingle > > m_input;
/**
* lock to prevent concurrent threads trying to update the osg node
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment