Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::geom::Primitive3DFilter::Primitive3D Struct Reference

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...
 

Detailed Description

a primitive

Constructor & Destructor Documentation

◆ Primitive3D()

icl::geom::Primitive3DFilter::Primitive3D::Primitive3D ( const PrimitiveType type,
const Vec position,
const Quaternion orientation,
const Vec scale,
unsigned long  timestamp,
const std::string &  description = "" 
)
inline

Constructor.

Member Function Documentation

◆ toSceneObject()

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)

Member Data Documentation

◆ description

std::string icl::geom::Primitive3DFilter::Primitive3D::description

string describing the object (e.g., a robot link)

◆ groupBit

unsigned char icl::geom::Primitive3DFilter::Primitive3D::groupBit

internal group id (see PrimitiveGroup)

◆ orientation

Quaternion icl::geom::Primitive3DFilter::Primitive3D::orientation

orientation of the primitive

◆ position

Vec icl::geom::Primitive3DFilter::Primitive3D::position

position of the primitive center

◆ scale

Vec icl::geom::Primitive3DFilter::Primitive3D::scale

scale (e.g., [2r 2r 2r] for a sphere with radius r)

◆ timestamp

unsigned long icl::geom::Primitive3DFilter::Primitive3D::timestamp

timestamp of creation

◆ type

PrimitiveType icl::geom::Primitive3DFilter::Primitive3D::type

the type of primitive


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