25 #ifndef WMDATACREATORPOINTS_H
26 #define WMDATACREATORPOINTS_H
31 #include "WDataSetPointsCreatorInterface.h"
32 #include "core/common/WObjectNDIP.h"
33 #include "core/common/WStrategyHelper.h"
34 #include "core/dataHandler/WDataSetPoints.h"
35 #include "core/kernel/WModule.h"
36 #include "core/kernel/WModuleOutputData.h"
60 virtual const std::string
getName()
const;
74 virtual std::shared_ptr< WModule >
factory()
const;
104 std::shared_ptr< WModuleOutputData< WDataSetPoints > >
m_output;
Module which utilizes the strategy pattern to provide a multitude of dataset creation algorithms for ...
WPropPosition m_size
Size of the point bounding box.
WStrategyHelper< WObjectNDIP< WDataSetPointsCreatorInterface > > m_strategy
the strategy currently active.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void connectors()
Initialize the connectors this module is using.
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...
WPropBool m_timeDependent
Use time dependent variation of data (experimental).
virtual const std::string getDescription() const
Gives back a description of this module.
WMDataCreatorPoints()
Standard constructor.
WPropInt m_numPoints
Number of points.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual void properties()
Initialize the properties for this module.
WPropPosition m_origin
Origin of the bounding box.
virtual void moduleMain()
Entry point after loading the module.
std::shared_ptr< WModuleOutputData< WDataSetPoints > > m_output
The only output of this module.
virtual const std::string getName() const
Gives back the name of this module.
WPropColor m_pointColor
Point color.
WPropInt m_seed
The seed for the random.
~WMDataCreatorPoints()
Destructor.
Class representing a single module of OpenWalnut.
This class allows for an easy strategy pattern-based switching between properties and strategy instan...