Image Component Library (ICL)
|
a primitive More...
#include <Primitive3DFilter.h>
Public Member Functions | |
Primitive3D (const PrimitiveType &type, const Vec &position, const Quaternion &orientation, const Vec &scale, unsigned long timestamp, const std::string &description="") | |
Constructor. More... | |
void | toSceneObject (SceneObject *object, uint32_t slices=15, GeomColor const &color=geom_white(100)) |
renders this 3D primitive into the scene object (by adding a child object to SceneObject *object) More... | |
Public Attributes | |
PrimitiveType | type |
the type of primitive More... | |
Vec | position |
position of the primitive center More... | |
Quaternion | orientation |
orientation of the primitive More... | |
Vec | scale |
scale (e.g., [2r 2r 2r] for a sphere with radius r) More... | |
unsigned long | timestamp |
timestamp of creation More... | |
std::string | description |
string describing the object (e.g., a robot link) More... | |
unsigned char | groupBit |
internal group id (see PrimitiveGroup) More... | |
a primitive
|
inline |
Constructor.
void icl::geom::Primitive3DFilter::Primitive3D::toSceneObject | ( | SceneObject * | object, |
uint32_t | slices = 15 , |
||
GeomColor const & | color = geom_white(100) |
||
) |
renders this 3D primitive into the scene object (by adding a child object to SceneObject *object)
std::string icl::geom::Primitive3DFilter::Primitive3D::description |
string describing the object (e.g., a robot link)
unsigned char icl::geom::Primitive3DFilter::Primitive3D::groupBit |
internal group id (see PrimitiveGroup)
Quaternion icl::geom::Primitive3DFilter::Primitive3D::orientation |
orientation of the primitive
Vec icl::geom::Primitive3DFilter::Primitive3D::position |
position of the primitive center
Vec icl::geom::Primitive3DFilter::Primitive3D::scale |
scale (e.g., [2r 2r 2r] for a sphere with radius r)
unsigned long icl::geom::Primitive3DFilter::Primitive3D::timestamp |
timestamp of creation
PrimitiveType icl::geom::Primitive3DFilter::Primitive3D::type |
the type of primitive