25 #ifndef WMDISTANCEMAPISOSURFACE_H
26 #define WMDISTANCEMAPISOSURFACE_H
31 #include "core/dataHandler/WDataSetScalar.h"
32 #include "core/kernel/WModule.h"
33 #include "core/kernel/WModuleContainer.h"
34 #include "core/kernel/WModuleInputForwardData.h"
35 #include "core/kernel/WModuleOutputForwardData.h"
66 virtual std::shared_ptr< WModule >
factory()
const;
101 std::shared_ptr< WModuleInputForwardData< WDataSetScalar > >
m_input;
102 std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > >
m_output;
Computes a distance map from an anatomy dataset and renders it as isosurface.
std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > > m_output
Connector to provide the distance map to other modules.
std::shared_ptr< WModuleInputForwardData< WDataSetScalar > > m_input
Input connector required by this module.
virtual void activate()
Callback for m_active.
WPropColor m_surfaceColorProp
Property indicating which color to use for non-textured surface.
std::shared_ptr< WModule > m_isosurfaceModule
The isosurface module used in this container.
~WMDistanceMapIsosurface()
Destructor.
virtual void connectors()
Initialize the connectors this module is using.
WMDistanceMapIsosurface()
Standard constructor.
virtual std::shared_ptr< WModule > factory() const
Due to the prototype design pattern used to build modules, this method returns a new instance of this...
WPropInt m_opacityProp
Property holding the value for the opacity of the surface.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
WPropDouble m_isoValueProp
Property holding the value for the distance.
virtual void requirements()
Initialize requirements for this module.
std::shared_ptr< WModule > m_distanceMapModule
The distance map module used in this container.
virtual void moduleMain()
Entry point after loading the module.
friend class WMDistanceMapIsosurfaceTest
Only UnitTests may be friends.
WPropBool m_useTextureProp
Property indicating whether to use texturing with scalar data sets.
Class able to contain other modules.