25 #ifndef WMDATACREATORSCALAR_H
26 #define WMDATACREATORSCALAR_H
31 #include "WDataSetSingleCreatorInterface.h"
32 #include "core/common/WObjectNDIP.h"
33 #include "core/common/WStrategyHelper.h"
34 #include "core/dataHandler/WDataHandlerEnums.h"
35 #include "core/dataHandler/WDataSetScalar.h"
36 #include "core/dataHandler/WValueSetBase.h"
37 #include "core/kernel/WModule.h"
38 #include "core/kernel/WModuleOutputData.h"
62 virtual const std::string
getName()
const;
76 virtual std::shared_ptr< WModule >
factory()
const;
106 std::shared_ptr< WModuleOutputData< WDataSetScalar > >
m_output;
Module which utilizes the strategy pattern to provide a multitude of dataset creation algorithms for ...
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.
WMDataCreatorScalar()
Standard constructor.
virtual void properties()
Initialize the properties for this module.
virtual const std::string getDescription() const
Gives back a description of this module.
WPropPosition m_size
where to put the origin
WPropInt m_nbVoxelsY
number of voxels in y direction
WPropBool m_timeDependent
Use time dependent variation of data (experimental).
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
WPropInt m_nbVoxelsZ
number of voxels in z direction
std::shared_ptr< WModuleOutputData< WDataSetScalar > > m_output
The only output of this module.
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.
WStrategyHelper< WObjectNDIP< WDataSetSingleCreatorInterface > > m_strategy
the strategy currently active.
WPropSelection m_structuralType
select between scalar, vector and other structural types
virtual const std::string getName() const
Gives back the name of this module.
WPropPosition m_origin
where to put the origin
WPropInt m_nbVoxelsX
number of voxels in x direction
WPropSelection m_valueType
the datatype of the valueset
~WMDataCreatorScalar()
Destructor.
Class representing a single module of OpenWalnut.
This class allows for an easy strategy pattern-based switching between properties and strategy instan...