25 #ifndef WMFIBERPARAMETERCOLORING_H
26 #define WMFIBERPARAMETERCOLORING_H
31 #include "core/dataHandler/WDataSetFibers.h"
32 #include "core/kernel/WModule.h"
33 #include "core/kernel/WModuleInputData.h"
34 #include "core/kernel/WModuleOutputData.h"
58 virtual const std::string
getName()
const;
72 virtual std::shared_ptr< WModule >
factory()
const;
std::shared_ptr< std::vector< float > > ColorArray
Colors for each vertex in VertexArray.
This modules takes a dataset and equalizes its histogram.
virtual ~WMFiberParameterColoring()
Destructor.
std::shared_ptr< WModuleOutputData< WDataSetFibers > > m_fiberOutput
The output connector used to provide the calculated data to other modules.
virtual const std::string getDescription() const
Gives back a description of this module.
WMFiberParameterColoring()
Default 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...
virtual void moduleMain()
Entry point after loading the module.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
std::shared_ptr< WModuleInputData< WDataSetFibers > > m_fiberInput
The fiber dataset which is going to be filtered.
WPropColor m_scaleColor
The color gets scaled by the calculated color (i.e.
virtual void properties()
Initialize the properties for this module.
virtual void connectors()
Initialize the connectors this module is using.
WDataSetFibers::ColorArray m_fibLengthColors
The colors encoding the segment length.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
WPropColor m_baseColor
The offset color.
WDataSetFibers::ColorArray m_fibCurvatureColors
The colors encoding the curvature.
virtual const std::string getName() const
Gives back the name of this module.
Class representing a single module of OpenWalnut.