gz/rendering/Marker.hh
virtual void SetLifetime(const std::chrono::steady_clock::duration &_lifetime)=0
Set the lifetime of this Marker.
@ MT_TRIANGLE_LIST
Triangle list primitive.
Definition: gz/rendering/Marker.hh:65
@ MT_TRIANGLE_STRIP
Triangle strip primitive.
Definition: gz/rendering/Marker.hh:68
@ MT_LINE_STRIP
Line strip primitive.
Definition: gz/rendering/Marker.hh:47
@ MT_LINE_LIST
Line list primitive.
Definition: gz/rendering/Marker.hh:50
virtual void SetType(const MarkerType _markerType)=0
Set the render type of this Marker.
virtual void AddPoint(double _x, double _y, double _z, const gz::math::Color &_color)=0
Add a point with its respective color to the marker.
@ MT_TRIANGLE_FAN
Triangle fan primitive.
Definition: gz/rendering/Marker.hh:62
virtual void ClearPoints()=0
Clear the points of the marker, if applicable.
virtual std::chrono::steady_clock::duration Lifetime() const =0
Get the lifetime of this Marker.
virtual void SetLayer(int32_t _layer)=0
Set the layer of this Marker.
virtual void SetPoint(unsigned int _index, const gz::math::Vector3d &_value)=0
Set an existing point's vector.
A marker geometry class. The marker's visual appearance is based on the marker type specified.
Definition: gz/rendering/Marker.hh:74
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35
virtual MarkerType Type() const =0
Get the render type of this Marker.
@ MT_CYLINDER
Cylinder geometry.
Definition: gz/rendering/Marker.hh:44
Represents a geometric shape to be rendered.
Definition: gz/rendering/Geometry.hh:34