25 #ifndef WMMERGECOMPONENTSTOVECTOR_H
26 #define WMMERGECOMPONENTSTOVECTOR_H
31 #include "core/dataHandler/WDataSetScalar.h"
32 #include "core/dataHandler/WDataSetVector.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;
74 virtual std::shared_ptr< WModule >
factory()
const;
96 std::shared_ptr< WModuleInputData< WDataSetScalar > >
m_scalarInX;
101 std::shared_ptr< WModuleInputData< WDataSetScalar > >
m_scalarInY;
106 std::shared_ptr< WModuleInputData< WDataSetScalar > >
m_scalarInZ;
111 std::shared_ptr< WModuleOutputData< WDataSetVector > >
m_vectorOut;
This modules takes several scalar inputs and merges them to a vector dataset.
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 std::string getName() const
Gives back the name of this module.
WMMergeComponentsToVector()
Default constructor.
virtual void properties()
Initialize the properties for this module.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_scalarInY
An input connector used to get datasets from other modules.
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_scalarInX
An input connector used to get datasets from other modules.
std::shared_ptr< WModuleOutputData< WDataSetVector > > m_vectorOut
The output connector used to provide the calculated data to other modules.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual ~WMMergeComponentsToVector()
Destructor.
virtual const std::string getDescription() const
Provide description.
virtual void moduleMain()
Entry point after loading the module.
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_scalarInZ
An input connector used to get datasets from other modules.
Class representing a single module of OpenWalnut.