Go to the documentation of this file.
21 template<
class Archive>
54 if(
value1 == (
unsigned long int)(-1))
57 if(
value2 == (
unsigned long int)(-1))
60 if(
value3 == (
unsigned long int)(-1))
258 template<
class Archive>
virtual SCH_API S_ObjectType getType() const
must be overloaded to return the type
const SCH_API Vector3 & getPosition() const
returns the position
Definition: S_Object.hxx:31
virtual SCH_API S_Object * clone() const =0
Returns a copy of this S_Object.
virtual SCH_API Point3 support(const Vector3 &v) const =0
put it in objects coordinates, then calls l_support. DO NOT OVERLOAD IT UNLESS YOU KNOW WHAT YOU ARE ...
_TimeStamp()
Definition: S_Object.h:27
@ TSphere
Definition: S_Object.h:238
void serialize(Archive &ar, const unsigned int)
Definition: S_Object.h:22
S_ObjectType
type of a solid object. Don't use it to cast !
Definition: S_Object.h:233
#define SCH_API
Definition: sch_api.h:13
SCH_API void addScale(const Scalar &x, const Scalar &y, const Scalar &z)
composes the current transfornation with a scale
@ TCapsule
Definition: S_Object.h:243
Vector3 trans_
Definition: S_Object.h:272
SCH_API void addTransformation(const Matrix4x4 &transformation)
composes the current transfornation with transformation matrix one
virtual SCH_API ~S_Object(void)
Matrix3x3 mRot_
Definition: S_Object.h:271
unsigned long int value1
Definition: S_Object.h:19
void operator++()
Definition: S_Object.h:34
@ TCone
Definition: S_Object.h:244
int slices_
Definition: S_Object.h:270
Definition: SmallMatrix4x4T.h:15
int getSlices() const
Definition: S_Object.hxx:36
struct sch::_TimeStamp S_ObjectTimeStamp
SCH_API void addRotation(const Matrix3x3 &Rotation)
composes the current orientation with a Rotation
void serialize(Archive &ar, const unsigned int)
Definition: S_Object.h:259
SCH_API void setOrientation(const Matrix3x3 &Rotation)
SCH_API void resetTransformation()
loads Identity
@ TSuperellipsoid
Definition: S_Object.h:240
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....
@ TSTP_BV
Definition: S_Object.h:237
@ TS_Object
Definition: S_Object.h:235
virtual SCH_API void constructFromFile(const std::string &filename)
SCH_API void setPosition(const Vector3 &v)
Sets the position.
Definition: S_Object.h:17
unsigned long int value4
Definition: S_Object.h:19
Definition: QuaternionT.h:10
SCH_API void getTransformationMatrix(Scalar *S) const
puts the transfomation matrix in a sclar array
Definition: S_Object.hxx:6
const S_ObjectTimeStamp & checkStamp() const
returns the current time stamp
Definition: S_Object.hxx:1
@ TCylinder
Definition: S_Object.h:245
SCH_API void addTranslation(const Vector3 &v)
@ TBox
Definition: S_Object.h:239
void operator--()
Definition: S_Object.h:51
const SCH_API Matrix3x3 & getOrientation() const
returns the orientation as a rotation matrix
Definition: S_Object.hxx:26
SCH_API void setTransformation(const Matrix4x4 &transformation)
Sets the transformation matrix.
@ TPolyhedron
Definition: S_Object.h:236
unsigned long int value3
Definition: S_Object.h:19
@ TSTP_BV_WithPolyhedron
Definition: S_Object.h:241
Definition: S_Object.h:71
double Scalar
Definition: SCH_Types.h:23
int getStacks() const
Definition: S_Object.hxx:41
unsigned long int value2
Definition: S_Object.h:19
@ TPoint
Definition: S_Object.h:242
int stacks_
Definition: S_Object.h:270
bool operator==(const _TimeStamp &t) const
Definition: S_Object.h:29
S_ObjectTimeStamp stamp_
Definition: S_Object.h:269