47 #ifndef _MIRA_MODEL_GEOMETRY_H_ 48 #define _MIRA_MODEL_GEOMETRY_H_ 57 namespace mira {
namespace model {
108 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
110 template<
typename Reflector>
113 r.property(
"Size", size,
"The size of the box");
138 template<
typename Reflector>
141 r.property(
"Radius", radius,
"The radius of the cone");
142 r.property(
"Length", length,
"The length of the cone");
167 template<
typename Reflector>
170 r.property(
"Radius", radius,
"The radius of the cylinder");
171 r.property(
"Length", length,
"The length of the cylinder");
195 template<
typename Reflector>
198 r.property(
"Radius", radius,
"The radius of the sphere");
221 template<
typename Reflector>
224 r.property(
"Filename", filename,
"The filename of the mesh");
225 r.property(
"Scale", scale,
"The scale factor of the mesh", 1.0f);
249 template<
typename Reflector>
252 r.member(
"Polygon", polygon,
"The polygon geometry");
void reflect(Reflector &r)
Definition: Geometry.h:250
void reflect(Reflector &r)
Definition: Geometry.h:196
Size3f size
The size of the box.
Definition: Geometry.h:121
boost::shared_ptr< Box > BoxPtr
Definition: Geometry.h:124
Cone representation The origin of the cone is located at the center of its base circle.
Definition: Geometry.h:134
float length
The length of the cone.
Definition: Geometry.h:151
virtual ~Geometry()
Definition: Geometry.h:71
float radius
The radius of the cone.
Definition: Geometry.h:150
float radius
The radius of the cylinder.
Definition: Geometry.h:179
void reflect(Reflector &r)
Definition: Geometry.h:168
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Polygon representation The vertices of the polygon are given relative to its origin.
Definition: Geometry.h:245
Base class for all geometric representations of a rigid model part (link).
Definition: Geometry.h:66
boost::shared_ptr< Cylinder > CylinderPtr
Definition: Geometry.h:183
Spherical representation The origin of the sphere is at its center.
Definition: Geometry.h:191
RigidModel export macro declaration.
boost::shared_ptr< Polygon > PolygonPtr
Definition: Geometry.h:267
float scale
The scale factor of the mesh.
Definition: Geometry.h:234
boost::shared_ptr< Geometry > GeometryPtr
pointer to a geometric representation
Definition: Geometry.h:95
#define MIRA_OBJECT(classIdentifier)
float length
The length of the cylinder.
Definition: Geometry.h:180
boost::shared_ptr< Mesh > MeshPtr
Definition: Geometry.h:237
EIGEN_MAKE_ALIGNED_OPERATOR_NEW void reflect(Reflector &r)
Definition: Geometry.h:111
Cylinder representation The origin is in the center of the cylinder.
Definition: Geometry.h:163
void reflect(Reflector &r)
Definition: Geometry.h:139
#define MIRA_RIGID_MODEL_EXPORT
Definition: RigidModelExports.h:61
boost::shared_ptr< Cone > ConePtr
Definition: Geometry.h:154
Polygon2f polygon
The polygon geometry.
Definition: Geometry.h:264
boost::shared_ptr< Sphere > SpherePtr
Definition: Geometry.h:209
boost::geometry::model::ring< Point2f > Polygon2f
void reflect(Reflector &r)
Definition: Geometry.h:222
Box representation The box is axis aligned and its origin is at the center of the box...
Definition: Geometry.h:103
Mesh representation The vertices of the mesh are given relative to its origin.
Definition: Geometry.h:217
std::string filename
The filename of the mesh.
Definition: Geometry.h:233
float radius
The radius of the sphere.
Definition: Geometry.h:206