![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual void | AddRotation (real angle, real rx, real ry, real rz)=0 |
virtual void | AddScaling (real sx, real sy, real sz)=0 |
virtual void | AddTransformation (IMatrix4x4 *transform)=0 |
virtual void | AddTransformation (ITransform3 *transform)=0 |
virtual void | AddTranslation (real tx, real ty, real tz)=0 |
virtual void | Clear ()=0 |
virtual const char * | GetClass () |
virtual CountedPointer< IMatrix4x4 > | GetMatrix ()=0 |
virtual CountedPointer< IRealArray > | GetStack ()=0 |
virtual bool | IsA (const char *type) const |
virtual bool | IsPostMultiply ()=0 |
virtual bool | IsPreMultiply ()=0 |
virtual void | Pop ()=0 |
virtual void | PostMultiply ()=0 |
virtual void | PreMultiply ()=0 |
virtual void | Push ()=0 |
![]() | |
virtual rid | AddObserver (robserver *Observer, rid EventId)=0 |
virtual void | AddRef ()=0 |
virtual rstring | GetName ()=0 |
virtual void * | GetUserComponentArea (rid userid)=0 |
virtual void | PrintInfo ()=0 |
virtual void | Release ()=0 |
virtual void | RemoveObserver (rid ObserverId)=0 |
virtual void | SetName (const char *Name)=0 |
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static ITransform3 * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
ITransform3 handles homogeneous 4x4 transforms, i.e. transformations which can be represented by multiplying a 4x4 matrix with a homogeneous 3D coordinate.
ITransform3 can either pre-multiply a matrix onto the transformation, which will add a transform around the current transform, or it can post-multiply the matrix, which will add a transform inside the current transform. Post-multiply is the default mode.
Definition at line 7479 of file SimplygonSDK.h.
|
pure virtual |
Concatenates a rotation transform to the current transform
angle | the rotation angle around the axis |
rx | the x axis rotation component |
ry | the y axis rotation component |
rz | the z axis rotation component |
Concatenates a scaling transform to the current transform
sx | the scaling vector's x axis component |
sy | the scaling vector's y axis component |
sz | the scaling vector's z axis component |
|
pure virtual |
Concatenates a generic transform to the current transform
transform | the input transform |
|
pure virtual |
Concatenates a generic transform to the current transform
transform | the input transform |
Concatenates a translation transform to the current transform
tx | the translation vector's x component |
ty | the translation vector's y component |
tz | the translation vector's z component |
|
pure virtual |
Resets the transformation to the identity transform, resets the multiplication mode to postmultiply, and clears the matrix stack
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
|
pure virtual |
Get the matrix that is used to specify the transform
|
pure virtual |
Get the real array that is used to store the matrix stack
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::IObject.
|
inlinestatic |
The IsClassA function returns true if ITransform3 is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 7500 of file SimplygonSDK.h.
|
pure virtual |
Get the transform concatenation mode.
|
pure virtual |
Get the transform concatenation mode.
|
pure virtual |
Pops the topmost matrix on the the matrix stack, and replaces the current transform with the popped matrix.
|
pure virtual |
Set the transform concatenation mode to post-multiply, any added transform will be concatenated using this mode.
|
pure virtual |
Set the transform concatenation mode to pre-multiply, any added transform will be concatenated using this mode.
|
pure virtual |
Pushes the current transform onto the matrix stack
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a ITransform3 pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a ITransform3 pointer |
Definition at line 7513 of file SimplygonSDK.h.