3 #ifndef SE2EZ_CORE_GEOMETRY_ 4 #define SE2EZ_CORE_GEOMETRY_ 7 #include <Eigen/Geometry> 40 static const unsigned int TYPE_MAX = SIMPLE;
71 Geometry(
Type type,
const Eigen::VectorXd &dimensions,
const Eigen::Isometry2d &offset,
72 const Eigen::Vector4d &color = {0., 0., 0., 1.});
80 Geometry(Type type,
const Eigen::VectorXd &dimensions,
const Eigen::Vector3d &offset,
81 const Eigen::Vector4d &color = {0., 0., 0., 1.});
89 Geometry(Type type,
const tf::EigenVector<Eigen::Vector2d> &points,
const Eigen::Isometry2d &offset,
90 const Eigen::Vector4d &color = {0., 0., 0., 1.});
98 Geometry(Type type,
const tf::EigenVector<Eigen::Vector2d> &points,
const Eigen::Vector3d &offset,
99 const Eigen::Vector4d &color = {0., 0., 0., 1.});
102 Geometry(
const Geometry &) =
delete;
103 Geometry(Geometry &&) =
delete;
Eigen::Isometry2d offset
Offset of geometry from base frame.
Eigen::VectorXd dimensions
The geometry's dimensions.
const Type type
Type of geometry.
tf::EigenVector< Eigen::Vector2d > points
Point list for polygons.
A shared pointer wrapper for se2ez::Geometry.
#define SE2EZ_EIGEN_CLASS
bool isOffset
Is this geometry offset?
#define SE2EZ_CLASS_FORWARD(C)
Eigen::Vector4d color
The color to display this geometry as.