gz/rendering/base/BaseMarker.hh
virtual std::chrono::steady_clock::duration Lifetime() const override
Get the lifetime of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:127
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
virtual void ClearPoints() override
Clear the points of the marker, if applicable.
Definition: gz/rendering/base/BaseMarker.hh:178
std::chrono::steady_clock::duration lifetime
Life time of a marker.
Definition: gz/rendering/base/BaseMarker.hh:87
int32_t layer
Layer at which the marker will reside.
Definition: gz/rendering/base/BaseMarker.hh:92
bool markerDirty
Flag to indicate if marker needs to be updated.
Definition: gz/rendering/base/BaseMarker.hh:95
virtual ~BaseMarker()
Destructor.
Definition: gz/rendering/base/BaseMarker.hh:112
virtual MarkerType Type() const override
Get the render type of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:157
virtual void Destroy() override
Destroy function.
Definition: gz/rendering/base/BaseMarker.hh:171
A marker geometry class. The marker's visual appearance is based on the marker type specified.
Definition: gz/rendering/Marker.hh:74
virtual void AddPoint(double _x, double _y, double _z, const gz::math::Color &_color) override
Add a point with its respective color to the marker.
Definition: gz/rendering/base/BaseMarker.hh:193
BaseMarker()
Constructor.
Definition: gz/rendering/base/BaseMarker.hh:106
virtual void SetPoint(unsigned int _index, const gz::math::Vector3d &_value) override
Set an existing point's vector.
Definition: gz/rendering/base/BaseMarker.hh:201
Base implementation of a Marker geometry.
Definition: gz/rendering/base/BaseMarker.hh:33
MarkerType
Enum for marker types.
Definition: gz/rendering/Marker.hh:35
virtual void SetLayer(int32_t _layer) override
Set the layer of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:134
virtual void PreRender() override
PreRender function.
Definition: gz/rendering/base/BaseMarker.hh:164
virtual void SetLifetime(const std::chrono::steady_clock::duration &_lifetime) override
Set the lifetime of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:118
virtual void SetType(const MarkerType _markerType) override
Set the render type of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:149
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
virtual int32_t Layer() const override
Get the layer of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:142
MarkerType markerType
Marker type.
Definition: gz/rendering/base/BaseMarker.hh:98