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:136
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
virtual void SetSize(double _size) override
Set size of the marker. Only affects MT_POINTS. e.g. size of rasterized points in pixels.
Definition: gz/rendering/base/BaseMarker.hh:173
virtual void ClearPoints() override
Clear the points of the marker, if applicable.
Definition: gz/rendering/base/BaseMarker.hh:202
std::chrono::steady_clock::duration lifetime
Life time of a marker.
Definition: gz/rendering/base/BaseMarker.hh:93
int32_t layer
Layer at which the marker will reside.
Definition: gz/rendering/base/BaseMarker.hh:98
bool markerDirty
Flag to indicate if marker needs to be updated.
Definition: gz/rendering/base/BaseMarker.hh:101
virtual ~BaseMarker()
Destructor.
Definition: gz/rendering/base/BaseMarker.hh:121
double size
Marker size.
Definition: gz/rendering/base/BaseMarker.hh:108
virtual double Size() const override
Get the size of the marker.
Definition: gz/rendering/base/BaseMarker.hh:181
virtual MarkerType Type() const override
Get the render type of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:166
virtual void Destroy() override
Destroy function.
Definition: gz/rendering/base/BaseMarker.hh:195
A marker geometry class. The marker's visual appearance is based on the marker type specified.
Definition: gz/rendering/Marker.hh:77
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:217
BaseMarker()
Constructor.
Definition: gz/rendering/base/BaseMarker.hh:115
virtual void SetPoint(unsigned int _index, const gz::math::Vector3d &_value) override
Set an existing point's vector.
Definition: gz/rendering/base/BaseMarker.hh:225
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:143
virtual void PreRender() override
PreRender function.
Definition: gz/rendering/base/BaseMarker.hh:188
virtual void SetLifetime(const std::chrono::steady_clock::duration &_lifetime) override
Set the lifetime of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:127
virtual void SetType(const MarkerType _markerType) override
Set the render type of this Marker.
Definition: gz/rendering/base/BaseMarker.hh:158
#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:151
MarkerType markerType
Marker type.
Definition: gz/rendering/base/BaseMarker.hh:104