![]() |
Tesseract 0.28.4
|

Public Types | |
| using | Ptr = std::shared_ptr<Marker> |
| using | ConstPtr = std::shared_ptr<const Marker> |
Public Member Functions | |
| Marker (const Marker &)=default | |
| Marker & | operator= (const Marker &)=default |
| Marker (Marker &&)=default | |
| Marker & | operator= (Marker &&)=default |
| virtual int | getType () const =0 |
| Get the marker type. | |
| virtual void | setParentLink (std::string parent_link) |
| The parent link name the marker should be attached to. | |
| virtual const std::string & | getParentLink () const |
| Get the parent link name that marker should be attached to. | |
| virtual void | setLifetime (const std::chrono::steady_clock::duration &lifetime) |
| Set the lifetime of the this marker. | |
| virtual std::chrono::steady_clock::duration | getLifetime () const |
| Get the lifetime of this Marker. | |
| virtual void | setLayer (int layer) |
| Set the layer of this Marker. | |
| virtual int | getLayer () const |
| Get the layer of this Marker. | |
| virtual void | setScale (const Eigen::Vector3d &scale) |
| Set the marker scale. | |
| virtual const Eigen::Vector3d & | getScale () const |
| Get the marker scale. | |
Protected Attributes | |
| std::chrono::steady_clock::duration | lifetime_ { 0 } |
| The lifetime of this Marker. | |
| std::string | parent_link_ |
| The parent link the marker is attched to. If empty relative to world. | |
| int | layer_ { 0 } |
| The layer of the marker. | |
| Eigen::Vector3d | scale_ { Eigen::Vector3d(1, 1, 1) } |
| The marker scale. | |
|
pure virtual |
Get the marker type.
Implemented in tesseract::visualization::ArrowMarker, tesseract::visualization::AxisMarker, tesseract::visualization::ContactResultsMarker, tesseract::visualization::GeometryMarker, and tesseract::visualization::ToolpathMarker.
|
virtual |
The parent link name the marker should be attached to.
| parent_link | The parent link name |
|
virtual |
Get the parent link name that marker should be attached to.
If empty then it should be relative world coordinates
|
virtual |
Set the lifetime of the this marker.
| lifetime | The time at which the marker will be removed |
|
virtual |
Get the lifetime of this Marker.
|
virtual |
Set the layer of this Marker.
| layer | Layer at which the marker will reside |
|
virtual |
Get the layer of this Marker.
|
virtual |
Set the marker scale.
| scale | The marker scale |
|
virtual |
Get the marker scale.