#include <sch/S_Object/S_ObjectNonNormalized.h>
Public Member Functions | |
SCH_API | S_ObjectNonNormalized (void) |
SCH_API | ~S_ObjectNonNormalized (void) |
virtual SCH_API Point3 | support (const Vector3 &v) const |
put the vector in objects coordinates, then calls l_support, without normalizing it More... | |
virtual SCH_API Point3 | support (const Vector3 &v, int &LastFeature) const |
put the vector in objects coordinates, then calls l_support, without normalizing it More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
![]() | |
virtual SCH_API Point3 | l_Support (const Vector3 &v, int &lastFeature) const =0 |
gives the support point for a given vector in local cordinates and a given last feature. MUST BE OVERLOADED. More... | |
virtual SCH_API S_Object * | clone () const =0 |
Returns a copy of this S_Object. More... | |
SCH_API | S_Object (void) |
virtual SCH_API | ~S_Object (void) |
virtual SCH_API void | constructFromFile (const std::string &filename) |
SCH_API void | setOrientation (const Matrix3x3 &Rotation) |
SCH_API void | setOrientation (const Scalar &r00, const Scalar &r01, const Scalar &r02, const Scalar &r10, const Scalar &r11, const Scalar &r12, const Scalar &r20, const Scalar &r21, const Scalar &r22) |
SCH_API void | setOrientation (const Quaternion quaternion) |
SCH_API void | setOrientation (const Scalar &q0, const Scalar &q1, const Scalar &q2, const Scalar &q3) |
SCH_API void | setOrientation (const Scalar &yaw, const Scalar &pitch, const Scalar &roll) |
SCH_API void | setOrientation (const Scalar *const p) |
SCH_API void | setOrientation (const Scalar &angle, const Vector3 &axe) |
SCH_API void | setPosition (const Vector3 &v) |
Sets the position. More... | |
SCH_API void | setPosition (const Scalar &x, const Scalar &y, const Scalar &z) |
SCH_API void | setPosition (const Scalar *const v) |
SCH_API void | setTransformation (const Matrix4x4 &transformation) |
Sets the transformation matrix. More... | |
SCH_API void | addRotation (const Matrix3x3 &Rotation) |
composes the current orientation with a Rotation More... | |
SCH_API void | addRotation (const Scalar &r00, const Scalar &r01, const Scalar &r02, const Scalar &r10, const Scalar &r11, const Scalar &r12, const Scalar &r20, const Scalar &r21, const Scalar &r22) |
SCH_API void | addRotation (const Quaternion quaternion) |
SCH_API void | addRotation (const Scalar &q0, const Scalar &q1, const Scalar &q2, const Scalar &q3) |
SCH_API void | addRotation (const Scalar &angle, const Vector3 &axe) |
SCH_API void | addRotation (const Scalar &yaw, const Scalar &pitch, const Scalar &roll) |
SCH_API void | addRotation (const Scalar *const p) |
SCH_API void | addScale (const Scalar &x, const Scalar &y, const Scalar &z) |
composes the current transfornation with a scale More... | |
SCH_API void | addTransformation (const Matrix4x4 &transformation) |
composes the current transfornation with transformation matrix one More... | |
SCH_API void | resetTransformation () |
loads Identity More... | |
const SCH_API Vector3 & | getPosition () const |
returns the position More... | |
const SCH_API Matrix3x3 & | getOrientation () const |
returns the orientation as a rotation matrix More... | |
SCH_API void | getTransformationMatrix (Scalar *S) const |
puts the transfomation matrix in a sclar array More... | |
int | getSlices () const |
int | getStacks () const |
virtual SCH_API S_ObjectType | getType () const |
must be overloaded to return the type More... | |
const S_ObjectTimeStamp & | checkStamp () const |
returns the current time stamp More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
SCH_API void | addTranslation (const Vector3 &v) |
SCH_API void | addTranslation (const Scalar *const v) |
SCH_API void | addTranslation (const Scalar &x, const Scalar &y, const Scalar &z) |
Additional Inherited Members | |
![]() | |
enum | S_ObjectType { TS_Object, TPolyhedron, TSTP_BV, TSphere, TBox, TSuperellipsoid, TSTP_BV_WithPolyhedron, TPoint, TCapsule, TCone, TCylinder } |
type of a solid object. Don't use it to cast ! More... | |
![]() | |
S_ObjectTimeStamp | stamp_ |
int | stacks_ |
int | slices_ |
Matrix3x3 | mRot_ |
Vector3 | trans_ |
SCH_API sch::S_ObjectNonNormalized::S_ObjectNonNormalized | ( | void | ) |
SCH_API sch::S_ObjectNonNormalized::~S_ObjectNonNormalized | ( | void | ) |
|
inline |
put the vector in objects coordinates, then calls l_support, without normalizing it
v | direction vector |
Implements sch::S_Object.
put the vector in objects coordinates, then calls l_support, without normalizing it
v | direction vector |
lastFeature | tells in which feature we were in last query, amd returns the new one. very important in spatio-temporal coherence |
Implements sch::S_Object.