Public Member Functions | Public Attributes | List of all members
tesseract_visualization::ToolpathMarker Class Reference

An arrow defined by two points. More...

#include <toolpath_marker.h>

Inheritance diagram for tesseract_visualization::ToolpathMarker:
Inheritance graph
[legend]

Public Member Functions

int getType () const override
 Get the marker type. More...
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW ToolpathMarker ()=default
 
 ToolpathMarker (tesseract_common::Toolpath toolpath)
 
- Public Member Functions inherited from tesseract_visualization::Marker
virtual int getLayer () const
 Get the layer of this Marker. More...
 
virtual std::chrono::steady_clock::duration getLifetime () const
 Get the lifetime of this Marker. More...
 
virtual const std::string & getParentLink () const
 Get the parent link name that marker should be attached to. More...
 
virtual const Eigen::Vector3dgetScale () const
 Get the marker scale. More...
 
 Marker ()=default
 
 Marker (const Marker &)=default
 
 Marker (Marker &&)=default
 
Markeroperator= (const Marker &)=default
 
Markeroperator= (Marker &&)=default
 
virtual void setLayer (int layer)
 Set the layer of this Marker. More...
 
virtual void setLifetime (const std::chrono::steady_clock::duration &lifetime)
 Set the lifetime of the this marker. More...
 
virtual void setParentLink (std::string parent_link)
 The parent link name the marker should be attached to. More...
 
virtual void setScale (const Eigen::Vector3d &scale)
 Set the marker scale. More...
 
virtual ~Marker ()=default
 

Public Attributes

Eigen::Vector3d scale { Eigen::Vector3d::Constant(0.03) }
 
bool show_axis { true }
 
bool show_path { true }
 
tesseract_common::Toolpath toolpath
 

Additional Inherited Members

- Public Types inherited from tesseract_visualization::Marker
using ConstPtr = std::shared_ptr< const Marker >
 
using Ptr = std::shared_ptr< Marker >
 
- Protected Attributes inherited from tesseract_visualization::Marker
int layer_ { 0 }
 The layer of the marker. More...
 
std::chrono::steady_clock::duration lifetime_ { 0 }
 The lifetime of this Marker. More...
 
std::string parent_link_
 The parent link the marker is attched to. If empty relative to world. More...
 
Eigen::Vector3d scale_ { Eigen::Vector3d(1, 1, 1) }
 The marker scale. More...
 

Detailed Description

An arrow defined by two points.

Definition at line 10 of file toolpath_marker.h.

Constructor & Destructor Documentation

◆ ToolpathMarker() [1/2]

EIGEN_MAKE_ALIGNED_OPERATOR_NEW tesseract_visualization::ToolpathMarker::ToolpathMarker ( )
default

◆ ToolpathMarker() [2/2]

tesseract_visualization::ToolpathMarker::ToolpathMarker ( tesseract_common::Toolpath  toolpath)
inline

Definition at line 16 of file toolpath_marker.h.

Member Function Documentation

◆ getType()

int tesseract_visualization::ToolpathMarker::getType ( ) const
inlineoverridevirtual

Get the marker type.

Returns
The type of the marker

Implements tesseract_visualization::Marker.

Definition at line 18 of file toolpath_marker.h.

Member Data Documentation

◆ scale

Eigen::Vector3d tesseract_visualization::ToolpathMarker::scale { Eigen::Vector3d::Constant(0.03) }

Definition at line 23 of file toolpath_marker.h.

◆ show_axis

bool tesseract_visualization::ToolpathMarker::show_axis { true }

Definition at line 21 of file toolpath_marker.h.

◆ show_path

bool tesseract_visualization::ToolpathMarker::show_path { true }

Definition at line 20 of file toolpath_marker.h.

◆ toolpath

tesseract_common::Toolpath tesseract_visualization::ToolpathMarker::toolpath

Definition at line 22 of file toolpath_marker.h.


The documentation for this class was generated from the following file:


tesseract_visualization
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:27