25 #ifndef WMPOINTRENDERER_H
26 #define WMPOINTRENDERER_H
31 #include "core/common/math/linearAlgebra/WVectorFixed.h"
32 #include "core/kernel/WModule.h"
33 #include "core/kernel/WModuleInputData.h"
34 #include "core/kernel/WModuleOutputData.h"
62 virtual const std::string
getName()
const;
76 virtual std::shared_ptr< WModule >
factory()
const;
Dataset to store a bunch of points without order or topology.
This class adds some convenience methods to WGEGroupNode.
Class encapsulating the OSG Program class for a more convenient way of adding and modifying shader.
This module renders the points in a point dataset.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual const std::string getName() const
Gives back the name of this module.
WPropInt m_nbVertices
Info-property showing the number of vertices in the data set.
WPropBool m_useCorrectDepth
Slower but correct depth calculation.
virtual void connectors()
Initialize the connectors this module is using.
virtual const std::string getDescription() const
Gives back a description of this module.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual void moduleMain()
Entry point after loading the module.
WMPointRenderer()
Constructor.
std::shared_ptr< WModuleInputData< WDataSetPoints > > m_pointInput
An input connector used to get points from other modules.
osg::ref_ptr< WGEShader > m_shader
The shader for the points.
WPropBool m_useAttribute
Invisible bool property that decides whether attribute or uniform is used.
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...
WPropDouble m_size
The size of a point on screen.
virtual void properties()
Initialize the properties for this module.
virtual ~WMPointRenderer()
Destructor.
Class representing a single module of OpenWalnut.