25 #ifndef WMVECTORNORMALIZE_H
26 #define WMVECTORNORMALIZE_H
35 #include <osg/Uniform>
37 #include "core/dataHandler/WDataSetScalar.h"
38 #include "core/dataHandler/WDataSetVector.h"
39 #include "core/kernel/WModule.h"
40 #include "core/kernel/WModuleInputData.h"
64 virtual const std::string
getName()
const;
78 virtual std::shared_ptr< WModule >
factory()
const;
102 std::shared_ptr< WModuleInputData< WDataSetVector > >
m_inputA;
104 std::shared_ptr< WModuleOutputData< WDataSetVector > >
m_output;
Operator for normalizing vectors.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WModuleOutputData< WDataSetVector > > m_output
The only output of this filter module.
virtual void properties()
Initialize the properties for this module.
virtual const std::string getName() const
Gives back the name of this module.
virtual const std::string getDescription() const
Gives back a description of this module.
~WMVectorNormalize()
Destructor.
std::shared_ptr< WModuleInputData< WDataSetVector > > m_inputA
Input connector required by this module.
virtual void moduleMain()
Entry point after loading the module.
WPropDouble m_zeroTol
Zero Tollerance.
WMVectorNormalize()
Standard constructor.
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...
Class representing a single module of OpenWalnut.