Commit 053ff36c authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[ADD] color selection for distance map

parent b6f819b7
......@@ -90,6 +90,9 @@ void WMDistanceMapIsosurface::moduleMain()
m_useTextureProp->set( true );
m_properties->addProperty( m_useTextureProp );
m_surfaceColorProp = mcProps->getProperty( "Surface Color" )->toPropColor();
m_properties->addProperty( m_surfaceColorProp );
m_opacityProp = mcProps->getProperty( "Opacity %" )->toPropInt();
m_properties->addProperty( m_opacityProp );
......@@ -90,6 +90,7 @@ private:
WPropDouble m_isoValueProp; //!< Property holding the value for the distance.
WPropInt m_opacityProp; //!< Property holding the value for the opacity of the surface.
WPropBool m_useTextureProp; //!< Property indicating whether to use texturing with scalar data sets.
WPropColor m_surfaceColorProp; //!< Property indicating which color to use for non-textured surface.
boost::shared_ptr< WModuleInputForwardData< WDataSetScalar > > m_input; //!< Input connector required by this module.
boost::shared_ptr< WModuleOutputForwardData< WDataSetScalar > > m_output; //!< Connector to provide the distance map to other modules.
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