![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual void | DeepCopy (IMatrix4x4 *mtxin)=0 |
virtual real | Determinant3x3 ()=0 |
virtual void | Direction3ArrayMultiply (IRealArray *vecarray)=0 |
virtual const char * | GetClass () |
virtual real | GetElement (unsigned int column, unsigned int row)=0 |
virtual void | GetElements (real *realReturnDataPtr)=0 |
virtual void | Identity ()=0 |
virtual void | Invert ()=0 |
virtual void | Invert (IMatrix4x4 *mtxin)=0 |
virtual bool | IsA (const char *type) const |
virtual void | Point3ArrayMultiply (IRealArray *vecarray)=0 |
virtual void | SetElement (unsigned int column, unsigned int row, real value)=0 |
virtual void | SetToRotationTransform (real angle, real ax, real ay, real az)=0 |
virtual void | SetToScalingTransform (real sx, real sy, real sz)=0 |
virtual void | SetToTranslationTransform (real tx, real ty, real tz)=0 |
virtual void | Transpose ()=0 |
virtual void | Transpose (IMatrix4x4 *mtxin)=0 |
virtual void | Vector4ArrayMultiply (IRealArray *vecarray)=0 |
virtual void | Zero ()=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 IMatrix4x4 * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
IMatrix4x4 is used to represent and manipulate 4x4 transformation matrices, which can be either standard matrices, or homogeneous 4x4 matrices used to transform 3D homogeneous coordinates [x y z w]. The transformations are defined in row-major order.
Definition at line 7306 of file SimplygonSDK.h.
|
pure virtual |
Copies the contents of an input matrix to the current matrix
mtxin | is the source matrix |
|
pure virtual |
Returns the top 3x3 determinant
|
pure virtual |
Multiply in-place an array with 3D direction vectors [x y z 0].
vecarray | is the vectors to be multiplied and written to |
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
|
pure virtual |
Get a matrix element.
column | is column index |
row | is the row index |
|
pure virtual |
Gets the elements of the matrix
realReturnDataPtr | pointer to a user-provided data area to receive the return value. Note! Needs to be at least 16 elements in size |
|
pure virtual |
Set the current matrix to the identity matrix.
|
pure virtual |
Invert the current matrix.
|
pure virtual |
Invert the input matrix and save it to the current matrix.
mtxin | is the input matrix |
|
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 IMatrix4x4 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 7327 of file SimplygonSDK.h.
|
pure virtual |
Multiply in-place an array with 3D points [x y z 1].
vecarray | is the vectors to be multiplied and written to |
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IMatrix4x4 pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IMatrix4x4 pointer |
Definition at line 7340 of file SimplygonSDK.h.
|
pure virtual |
Set a matrix element.
column | is column index |
row | is the row index |
value | is the value to which the element will be set |
|
pure virtual |
Creates a 3D rotation in a homogeneous transformation 4x4 matrix around the specified axis.
angle | is the angle |
ax | is the x component of the rotation axis |
ay | is the y component of the rotation axis |
az | is the z component of the rotation axis |
|
pure virtual |
Creates a 3D scaling in a homogeneous transformation 4x4 matrix
sx | is the x component of the scaling |
sy | is the y component of the scaling |
sz | is the z component of the scaling |
|
pure virtual |
Creates a 3D translation in a homogeneous 4x4 matrix.
tx | is the x component of the scaling |
ty | is the y component of the scaling |
tz | is the z component of the scaling |
|
pure virtual |
Transpose the current matrix
|
pure virtual |
Transpose the input matrix and save it to the current matrix.
mtxin | is the input matrix |
|
pure virtual |
Multiply in-place an array with full 4D vectors [x y z w].
vecarray | is the vectors to be multiplied and written to |
|
pure virtual |
Set the current matrix to the zero matrix (all zeros).