25 #ifndef WMDATACREATORFIBERS_H
26 #define WMDATACREATORFIBERS_H
31 #include "WDataSetFibersCreatorInterface.h"
32 #include "core/common/WObjectNDIP.h"
33 #include "core/common/WStrategyHelper.h"
34 #include "core/dataHandler/WDataSetFibers.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< WDataSetFibers > >
m_output;
Module which utilizes the strategy pattern to provide a multitude of dataset creation algorithms for ...
WPropPosition m_size
Size of the fiber bounding box.
virtual void connectors()
Initialize the connectors this module is using.
WPropPosition m_origin
Origin of the bounding box.
virtual const std::string getName() const
Gives back the name of this module.
WPropInt m_numVertsPerFiber
Number of vertices per fiber.
~WMDataCreatorFibers()
Destructor.
virtual const std::string getDescription() const
Gives back a description of this module.
WPropBool m_timeDependent
Use time dependent variation of data (experimental).
WMDataCreatorFibers()
Standard constructor.
std::shared_ptr< WModuleOutputData< WDataSetFibers > > m_output
The only output of this module.
WPropInt m_numFibers
Number of fibers.
WStrategyHelper< WObjectNDIP< WDataSetFibersCreatorInterface > > m_strategy
the strategy currently active.
WPropColor m_fibColor
Fiber color.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
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 std::shared_ptr< WModule > factory() const
Due to the prototype design pattern used to build modules, this method returns a new instance of this...
WPropInt m_seed
The seed for the random.
Class representing a single module of OpenWalnut.
This class allows for an easy strategy pattern-based switching between properties and strategy instan...