25 #ifndef WMFIBERSTOPOINTS_H
26 #define WMFIBERSTOPOINTS_H
31 #include "core/dataHandler/WDataSetFibers.h"
32 #include "core/dataHandler/WDataSetPoints.h"
33 #include "core/kernel/WModule.h"
34 #include "core/kernel/WModuleInputData.h"
35 #include "core/kernel/WModuleOutputData.h"
59 virtual const std::string
getName()
const;
73 virtual std::shared_ptr< WModule >
factory()
const;
This modules takes a fiber dataset and extracts its vertices to build a point dataset.
double m_parameterMax
fiber parameter max
virtual ~WMFibersToPoints()
Destructor.
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...
WPropDouble m_parametersFilterValue
Filter fib point according to its parameter value and this value.
WPropString m_paramHint
A string which informs the user whether filtering is possible.
std::shared_ptr< WModuleOutputData< WDataSetPoints > > m_pointsOutput
The output connector used to provide the calculated point data to other modules.
double m_parameterMin
fiber parameter min
virtual void moduleMain()
Entry point after loading the module.
virtual const std::string getDescription() const
Gives back a description of this module.
WPropDouble m_parametersFilterWidth
Filter width.
virtual const std::string getName() const
Gives back the name of this module.
virtual void properties()
Initialize the properties for this module.
WMFibersToPoints()
Default constructor.
WPropGroup m_filterGroup
Group contains the filtering options.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
std::shared_ptr< WModuleInputData< WDataSetFibers > > m_fiberInput
The fiber dataset which is going to be used.
WPropColor m_color
The color to use for the resulting points.
Class representing a single module of OpenWalnut.