BaseMarker.hh
Go to the documentation of this file.
virtual std::chrono::steady_clock::duration Lifetime() const override
Get the lifetime of this Marker.
Definition: BaseMarker.hh:123
A marker geometry class. The marker's visual appearance is based on the marker type specified...
Definition: Marker.hh:74
virtual void SetPoint(unsigned int _index, const ignition::math::Vector3d &_value) override
Set an existing point's vector.
Definition: BaseMarker.hh:197
virtual void PreRender() override
PreRender function.
Definition: BaseMarker.hh:160
Base implementation of a Marker geometry.
Definition: BaseMarker.hh:31
virtual void ClearPoints() override
Clear the points of the marker, if applicable.
Definition: BaseMarker.hh:174
virtual MarkerType Type() const override
Get the render type of this Marker.
Definition: BaseMarker.hh:153
virtual void Destroy() override
Destroy function.
Definition: BaseMarker.hh:167
virtual ~BaseMarker()
Destructor.
Definition: BaseMarker.hh:108
virtual void SetLifetime(const std::chrono::steady_clock::duration &_lifetime) override
Set the lifetime of this Marker.
Definition: BaseMarker.hh:114
virtual void SetType(const MarkerType _markerType) override
Set the render type of this Marker.
Definition: BaseMarker.hh:145
virtual void SetLayer(int32_t _layer) override
Set the layer of this Marker.
Definition: BaseMarker.hh:130
virtual void AddPoint(double _x, double _y, double _z, const ignition::math::Color &_color) override
Add a point with its respective color to the marker.
Definition: BaseMarker.hh:189
virtual int32_t Layer() const override
Get the layer of this Marker.
Definition: BaseMarker.hh:138