Commit cce9dd39 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] undone some useles changes

parent df4bb618
......@@ -64,7 +64,7 @@ const char** WMDistanceMapIsosurface::getXPMIcon() const
return distancemapIsosurface_xpm;
}
void WMDistanceMapIsosurface::moduleSetup()
void WMDistanceMapIsosurface::moduleMain()
{
//////////////////////////////////////////////////////////////////////////////////
// Marching Cubes
......@@ -130,16 +130,6 @@ void WMDistanceMapIsosurface::moduleSetup()
// we want the container input connector "in" to be connected to the input of WMDistanceMap
m_input->forward( m_distanceMapModule->getInputConnector( "in" ) );
}
void WMDistanceMapIsosurface::moduleMain()
{
//////////////////////////////////////////////////////////////////////////////////
// Initialize the modules whose properties we want to forward.
//////////////////////////////////////////////////////////////////////////////////
moduleSetup();
//////////////////////////////////////////////////////////////////////////////////
// Done! Modules are set up.
//////////////////////////////////////////////////////////////////////////////////
......@@ -180,11 +170,6 @@ void WMDistanceMapIsosurface::connectors()
WModule::connectors();
}
void WMDistanceMapIsosurface::properties()
{
// this module's properties get added during moduleMain.
}
void WMDistanceMapIsosurface::activate()
{
m_marchingCubesModule->getProperties()->getProperty( "active" )->toPropBool()->set( m_active->get() );
......
......@@ -80,21 +80,11 @@ protected:
*/
virtual void connectors();
/**
* Initialize the properties for this module.
*/
virtual void properties();
/**
* Callback for m_active. Overwrite this in your modules to handle m_active changes separately.
*/
virtual void activate();
/**
* Setup the modules
*/
virtual void moduleSetup();
private:
WPropDouble m_isoValueProp; //!< Property holding the value for the distance.
......
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