Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
geometry_marker.h
Go to the documentation of this file.
1#ifndef TESSERACT_VISUALIZATION_MARKERS_GEOMETRY_MARKER_H
2#define TESSERACT_VISUALIZATION_MARKERS_GEOMETRY_MARKER_H
3
6
8{
10class GeometryMarker : public Marker
11{
12public:
13 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
14
15 GeometryMarker() = default;
16 GeometryMarker(tesseract_geometry::Geometry::ConstPtr geom, Eigen::Isometry3d origin = Eigen::Isometry3d::Identity())
17 : geom(std::move(geom)), origin(std::move(origin))
18 {
19 }
20
21 int getType() const override { return static_cast<int>(MarkerType::GEOMETRY); }
22
25
27 Eigen::Isometry3d origin{ Eigen::Isometry3d::Identity() };
28};
29
30} // namespace tesseract_visualization
31#endif // TESSERACT_VISUALIZATION_MARKERS_GEOMETRY_MARKER_H
std::shared_ptr< const Geometry > ConstPtr
Definition: geometry.h:63
An geometry marker.
Definition: geometry_marker.h:11
GeometryMarker(tesseract_geometry::Geometry::ConstPtr geom, Eigen::Isometry3d origin=Eigen::Isometry3d::Identity())
Definition: geometry_marker.h:16
EIGEN_MAKE_ALIGNED_OPERATOR_NEW GeometryMarker()=default
Eigen::Isometry3d origin
The origin definition.
Definition: geometry_marker.h:27
tesseract_geometry::Geometry::ConstPtr geom
The geometry object.
Definition: geometry_marker.h:24
int getType() const override
Get the marker type.
Definition: geometry_marker.h:21
Definition: marker.h:75
Definition: conversions.h:39
Tesseract Geometries.