25 #ifndef WMSAMPLEONFIBERS_H
26 #define WMSAMPLEONFIBERS_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 samples it at a given parameter value.
std::shared_ptr< WModuleInputData< WDataSetFibers > > m_fiberInput
The fiber dataset which is going to be used.
WPropDouble m_parameter
Filter fib point according to its parameter value and this value.
WPropString m_paramHint
A string which informs the user whether filtering is possible.
WMSampleOnFibers()
Default constructor.
virtual const std::string getName() const
Gives back the name of this module.
std::shared_ptr< WModuleOutputData< WDataSetPoints > > m_pointsOutput
The output connector used to provide the calculated point data to other modules.
WPropColor m_color
The color to use for the resulting points.
virtual void connectors()
Initialize the connectors this module is using.
virtual ~WMSampleOnFibers()
Destructor.
double m_parameterMax
fiber parameter max
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 const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void properties()
Initialize the properties for this module.
virtual void moduleMain()
Entry point after loading the module.
virtual const std::string getDescription() const
Gives back a description of this module.
double m_parameterMin
fiber parameter min
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
Class representing a single module of OpenWalnut.