Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tesseract_visualization::GeometryMarker Class Reference

An geometry marker. More...

#include <geometry_marker.h>

Inheritance diagram for tesseract_visualization::GeometryMarker:
Inheritance graph
[legend]
Collaboration diagram for tesseract_visualization::GeometryMarker:
Collaboration graph
[legend]

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW GeometryMarker ()=default
 
 GeometryMarker (tesseract_geometry::Geometry::ConstPtr geom, Eigen::Isometry3d origin=Eigen::Isometry3d::Identity())
 
int getType () const override
 Get the marker type. More...
 
- Public Member Functions inherited from tesseract_visualization::Marker
 Marker ()=default
 
virtual ~Marker ()=default
 
 Marker (const Marker &)=default
 
Markeroperator= (const Marker &)=default
 
 Marker (Marker &&)=default
 
Markeroperator= (Marker &&)=default
 
virtual int getType () const =0
 Get the marker type. More...
 
virtual void setParentLink (std::string parent_link)
 The parent link name the marker should be attached to. More...
 
virtual const std::string & getParentLink () const
 Get the parent link name that marker should be attached to. More...
 
virtual void setLifetime (const std::chrono::steady_clock::duration &lifetime)
 Set the lifetime of the this marker. More...
 
virtual std::chrono::steady_clock::duration getLifetime () const
 Get the lifetime of this Marker. More...
 
virtual void setLayer (int layer)
 Set the layer of this Marker. More...
 
virtual int getLayer () const
 Get the layer of this Marker. More...
 
virtual void setScale (const Eigen::Vector3d &scale)
 Set the marker scale. More...
 
virtual const Eigen::Vector3d & getScale () const
 Get the marker scale. More...
 

Public Attributes

tesseract_geometry::Geometry::ConstPtr geom
 The geometry object. More...
 
Eigen::Isometry3d origin { Eigen::Isometry3d::Identity() }
 The origin definition. More...
 

Additional Inherited Members

- Public Types inherited from tesseract_visualization::Marker
using Ptr = std::shared_ptr< Marker >
 
using ConstPtr = std::shared_ptr< const Marker >
 
- Protected Attributes inherited from tesseract_visualization::Marker
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...
 
int layer_ { 0 }
 The layer of the marker. More...
 
Eigen::Vector3d scale_ { Eigen::Vector3d(1, 1, 1) }
 The marker scale. More...
 

Detailed Description

An geometry marker.

Constructor & Destructor Documentation

◆ GeometryMarker() [1/2]

EIGEN_MAKE_ALIGNED_OPERATOR_NEW tesseract_visualization::GeometryMarker::GeometryMarker ( )
default

◆ GeometryMarker() [2/2]

tesseract_visualization::GeometryMarker::GeometryMarker ( tesseract_geometry::Geometry::ConstPtr  geom,
Eigen::Isometry3d  origin = Eigen::Isometry3d::Identity() 
)
inline

Member Function Documentation

◆ getType()

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

Get the marker type.

Returns
The type of the marker

Implements tesseract_visualization::Marker.

Member Data Documentation

◆ geom

tesseract_geometry::Geometry::ConstPtr tesseract_visualization::GeometryMarker::geom

The geometry object.

◆ origin

Eigen::Isometry3d tesseract_visualization::GeometryMarker::origin { Eigen::Isometry3d::Identity() }

The origin definition.


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