15#ifndef POINTMARKERHELPER_H_6014714286
16#define POINTMARKERHELPER_H_6014714286
69 const std::unique_ptr< Details > pimpl;
76 const static unsigned int DEFAULT_POINT_SIZE = 6;
82 (
unsigned int geometryType
83 ,
unsigned int pointSize = DEFAULT_POINT_SIZE );
88 (
unsigned int geometryType
89 ,
unsigned int meshRole
90 ,
unsigned int materialRole
91 ,
unsigned int pointSize = DEFAULT_POINT_SIZE );
Contains forward-declarations.
Represents a color. Objects from this class are copyable and assignable.
Defines scene graph leafs. Instances of this class represent visible geometry that can be rendered....
Simplifies the creation and maintenance of point markers.
~PointMarkerHelper()
Releases all previously acquired materials.
const unsigned int geometryType
Holds the markers' geometry type.
const unsigned int meshRole
Holds the role used to attach the mesh to the markers.
static void resetDefaultColor()
Resets the color that the next invocation to the argument-less version of createPointMarker uses.
const unsigned int pointSize
Holds the preferred pixel size of the markers.
base::Geometry * createPointMarker() const
Creates new point marker of preferred pixel size, colored differently than the last point marker crea...
PointMarkerHelper(unsigned int geometryType, unsigned int meshRole, unsigned int materialRole, unsigned int pointSize=DEFAULT_POINT_SIZE)
base::Geometry * createPointMarker(unsigned int pointSize) const
Creates new point marker of pointSize colored differently than the last point marker created by any P...
base::Geometry * createPointMarker(const base::Color &color, unsigned int pointSize) const
Creates new point marker of pointSize with color. This method creates a new material each time it is ...
base::Geometry * createPointMarker(const base::Color &color) const
Creates new point marker of preferred pixel size with color. This method creates a new material each ...
PointMarkerHelper(unsigned int geometryType, unsigned int pointSize=DEFAULT_POINT_SIZE)
Instantiates.
void releaseGeometryFeatures()
Releases all previously acquired materials. Invoke this method when it is sure that no further marker...
const unsigned int materialRole
Holds the role used to attach the material to the markers.
Defines LibCarna::base::noncopyable and NON_COPYABLE.
#define NON_COPYABLE
Marks the class that it is placed in as non-copyable.