Class: ewol::PhysicsShape


Synopsis:

+  static PhysicsShape *      create        (const std::string & _name);
+ PhysicsShape (void);
+ ~PhysicsShape (void);
+ enum type getType (void);
+ bool parse (const char * _line);
+ void display (void);
+ const vec4 & getQuaternion (void);
+ const vec3 & getOrigin (void);
+ bool isBox (void);
+ bool isCylinder (void);
+ bool isCapsule (void);
+ bool isCone (void);
+ bool isConvexHull (void);
+ bool isSphere (void);
+ const PhysicsBox * toBox (void);
+ PhysicsBox * toBox (void);
+ const PhysicsCylinder * toCylinder (void);
+ PhysicsCylinder * toCylinder (void);
+ const PhysicsCapsule * toCapsule (void);
+ PhysicsCapsule * toCapsule (void);
+ const PhysicsCone * toCone (void);
+ PhysicsCone * toCone (void);
+ const PhysicsConvexHull * toConvexHull (void);
+ PhysicsConvexHull * toConvexHull (void);
+ const PhysicsSphere * toSphere (void);
+ PhysicsSphere * toSphere (void);

Object Hierarchy:

ewol::PhysicsShape
    +--> ewol::PhysicsBox
    +--> ewol::PhysicsCone
    +--> ewol::PhysicsCapsule
    +--> ewol::PhysicsConvexHull
    +--> ewol::PhysicsSphere
    +--> ewol::PhysicsCylinder

Detail:

ewol::create ()

static PhysicsShape * create(const std::string & _name);



ewol::PhysicsShape ()

PhysicsShape(void);



ewol::~PhysicsShape ()

~PhysicsShape(void);



getType ()

enum type getType(void);



parse ()

bool parse(const char * _line);



display ()

void display(void);



getQuaternion ()

const vec4 & getQuaternion(void);



getOrigin ()

const vec3 & getOrigin(void);



isBox ()

bool isBox(void);



isCylinder ()

bool isCylinder(void);



isCapsule ()

bool isCapsule(void);



isCone ()

bool isCone(void);



isConvexHull ()

bool isConvexHull(void);



isSphere ()

bool isSphere(void);



toBox ()

const PhysicsBox * toBox(void);



toBox ()

PhysicsBox * toBox(void);



toCylinder ()

const PhysicsCylinder * toCylinder(void);



toCylinder ()

PhysicsCylinder * toCylinder(void);



toCapsule ()

const PhysicsCapsule * toCapsule(void);



toCapsule ()

PhysicsCapsule * toCapsule(void);



toCone ()

const PhysicsCone * toCone(void);



toCone ()

PhysicsCone * toCone(void);



toConvexHull ()

const PhysicsConvexHull * toConvexHull(void);



toConvexHull ()

PhysicsConvexHull * toConvexHull(void);



toSphere ()

const PhysicsSphere * toSphere(void);



toSphere ()

PhysicsSphere * toSphere(void);