IFXSGmatrix |
The IFXSGmatrix interface stores a model's position, rotation, and scale data in a transformation matrix. Subsequent position, rotation, and scale adjustments are called transforms.
A model's actual position within the world coordinate system is always calculated in relation to its local coordinate system based on the object's transformation matrix. The origin of the local coordinate system is the center of the object's bounding box.
A model can have several modifiers, but only one set of transforms. Transform values can be changed from frame to frame, but each model always has only one position, one rotation, and one scale transform.
|
Interface Methods |
Description |
|
IFXSGMatrix (1) |
Constructor |
|
Resets to default |
|
|
Applies other transformations |
|
|
Applies other transformations |
|
|
Applies translation |
|
|
Applies translation |
|
|
Applies translation |
|
|
Applies translation |
|
|
Applies axis-oriented rotation about the x-axis |
|
|
Applies axis-oriented rotation about the y-axis |
|
|
Applies axis-oriented rotation about the z-axis |
|
|
Applies axis-oriented rotation about the x-axis |
|
|
Applies axis-oriented rotation about the y-axis |
|
|
Applies axis-oriented rotation about the z-axis |
|
|
Applies euler angle rotation |
|
|
Applies euler angle rotation |
|
|
Applies euler angle rotation |
|
|
Applies euler angle rotation |
|
|
Applies generic rotation |
|
|
Applies generic rotation |
|
|
Applies generic rotation |
|
|
Applies generic rotation |
|
|
Applies generic rotation |
|
|
Applies generic rotation |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies scales |
|
|
Applies vector position |
|
|
Applies vector position |
|
|
Gets translation |
|
|
Sets translation |
|
|
Removes translation |
|
|
Sets rotation |
|
|
Gets rotation |
|
|
Removes rotation |
|
|
Sets rotation |
|
|
Gets rotation |
|
|
Sets scale |
|
|
Gets scale |
|
|
Removes scale |
|
|
Decomposes the matrix into a translation, a rotation, and a scale. A simplified version of the next method. |
|
|
Decomposes the matrix into a translation, two shears, a rotation, and a scale. |
|
|
Sets an up direction |
|
|
Sets a direction |
|
|
Sets the direction as up |
|
|
Points at the up position |
|
|
List of operators |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
|
|
Used in transform calculations |
Constructor.
Parameters:
None
Return Values:
None
Constructor.
Parameters:
|
c0 |
Reference to IFXSGVector position |
|
c1 |
Reference to IFXSGVector position |
|
c2 |
Reference to IFXSGVector position |
Return Values:
None
Constructor.
Parameters:
|
c0 |
Reference to IFXSGVector position |
|
c1 |
Reference to IFXSGVector position |
|
c2 |
Reference to IFXSGVector position |
|
c3 |
Reference to IFXSGVector position |
Return Values:
None
Constructor.
Parameters:
|
a-p |
Indicates row order |
Return Values:
None
The method resets to default settings.
Parameters:
None
Return Values:
None
This method applies other transformations.
Parameters:
|
matrix |
Reference to the IFXSGMatrix |
Return Values:
None
This method applies other transformations.
Parameters:
|
matrix |
Reference to the IFXSGMatrix |
Return Values:
None
This method references the translated vector.
Parameters:
|
x |
X-axis vector |
|
y |
Y-axis vector |
|
z |
Z-axis vector |
Return Values:
None
This method references the translated vector.
Parameters:
|
v |
Reference to IFXSGVector position |
Return Values:
None
This method references the translated vector.
Parameters:
|
v |
Reference to IFXSGVector position |
Return Values:
None
This method references the translated vector.
Parameters:
|
v |
Reference to IFXSGVector position |
Return Values:
None
This method rotates about the x axis.
Parameters:
|
a |
Reference to IFXSGFloat x-axis rotation angle |
Return Values:
None
This method rotates about the y axis.
Parameters:
|
a |
Reference to IFXSGFloat y-axis rotation angle |
Return Values:
None
This method rotates about the z axis.
Parameters:
|
a |
Reference to IFXSGFloat z-axis rotation angle |
Return Values:
None
This method rotates about the x axis.
Parameters:
|
a |
Reference to IFXSGFloat x-axis rotation angle |
Return Values:
None
This method rotates about the y axis.
Parameters:
|
a |
Reference to IFXSGFloat y-axis rotation angle |
Return Values:
None
This method rotates about the z axis.
Parameters:
|
a |
Reference to IFXSGFloat z-axis rotation angle |
Return Values:
None
This method determines the euler angle rotation.
Parameters:
|
x |
x-axis IFXSGFloat for rotation |
|
y |
y-axis IFXSGFloat for rotation |
|
z |
z-axis IFXSGFloat for rotation |
Return Values:
None
This method determines euler angle rotation.
Parameters:
|
rotation |
Reference to the IFXSGVector for rotation |
Return Values:
None
This method determines the euler angle rotation.
Parameters:
|
x |
x-axis IFXSGFloat for rotation |
|
y |
y-axis IFXSGFloat for rotation |
|
z |
z-axis IFXSGFloat for rotation |
Return Values:
None
This method determines euler angle rotation.
Parameters:
|
rotation |
Reference to the IFXSGVector for rotation |
Return Values:
None
Parameters:
|
axis |
Reference to the vector axis |
|
angle |
Angle degree |
Return Values:
None
This method determines generic rotation.
Parameters:
|
x |
IFXSGFloat on x axis |
|
y |
IFXSGFloat on y axis |
|
z |
IFXSGFloat on z axis |
|
axis |
IFXSGVector axis |
|
angle |
IFXSGFloat angle |
Return Values:
None
Parameters:
|
position |
Reference to the vector position |
|
axis |
Reference to the vector axis |
|
angle |
Reference to the vector angle |
Return Values:
None
Parameters:
|
axis |
Reference to the vector axis |
|
angle |
Angle degree |
Return Values:
None
This method determines generic rotation.
Parameters:
|
x |
IFXSGFloat on x axis |
|
y |
IFXSGFloat on y axis |
|
z |
IFXSGFloat on z axis |
|
axis |
IFXSGVector axis |
|
angle |
IFXSGFloat angle |
Return Values:
None
Parameters:
|
position |
Reference to the vector position |
|
axis |
Reference to the vector axis |
|
angle |
Reference to the vector angle |
Return Values:
None
Parameters:
|
uniformScaleFactor |
scaling factor |
Parameters:
|
x |
X-axis |
|
y |
Y-axis |
|
z |
Z-axis |
Parameters:
|
scale |
Reference to the vector scale |
Parameters:
|
uniformScaleFactor |
scaling factor |
Parameters:
|
x |
X-axis |
|
y |
Y-axis |
|
z |
Z-axis |
Parameters:
|
scale |
Reference to the vector scale |
Parameters:
|
xScale |
X-axis scale |
|
yScale |
Y-axis scale |
|
zScale |
Z-axis scale |
Parameters:
|
v |
Reference to the vector position |
Return Values:
None
Parameters:
None
Return Values:
Reference to IFXSGVector
This method gets translation.
Parameters:
|
x |
Reference to the x-axis |
|
y |
Reference to the y-axis |
|
z |
Reference to the z-axis |
Return Values:
bool
This method sets translation.
Parameters:
|
x |
The x-axis |
|
y |
The y-axis |
|
z |
The z-axis |
Return Values:
bool
This method removes translation.
Parameters:
None
Return Values:
bool
This method sets rotation.
Parameters:
|
axis |
Reference to the IFXSGVector axis |
|
angle |
The IFXSGFloat for axis rotation |
bool
This method gets rotation.
Parameters:
|
axis |
Reference to the IFXSGVector axis |
|
angle |
Reference to the IFXSGFloat for axis rotation |
Return Values:
bool
This method sets rotation.
Parameters:
|
xRadians |
IFXSGFloat for x axis rotation |
|
yRadians |
IFXSGFloat for y axis rotation |
|
zRadians |
IFXSGFloat for z axis rotation |
Return Values:
bool
This method gets rotation.
Parameters:
|
xRadians |
Reference to the IFXSGFloat for x axis rotation |
|
yRadians |
Reference to the IFXSGFloat for y axis rotation |
|
zRadians |
Reference to the IFXSGFloat for z axis rotation |
Return Values:
bool
This method removes rotation.
Parameters:
None
Return Values:
bool
This method sets scale.
Parameters:
|
xScale |
IFXSGFloat for x axis scale |
|
yScale |
IFXSGFloat for y axis scale |
|
zScale |
IFXSGFloat for z axis scale |
Return Values:
bool
This method gets scale.
Parameters:
|
xScale |
Reference to the IFXSGFloat for x axis scale |
|
yScale |
Reference to the IFXSGFloat for y axis scale |
|
zScale |
Reference to the IFXSGFloat for z axis scale |
Return Values:
bool
This method removes scale.
Parameters:
None
Return Values:
bool
This method decomposes the matrix into a translation, a rotation, and a scale. A simplified version of the next method.
Parameters:
|
translation |
Reference to the IFXSGVector for translation |
|
rotation |
Reference to the IFXSGMatrix for rotation |
|
scale |
Reference to the IFXSGVector for scale |
Return Values:
bool
This method decomposes the matrix into a translation, two shears, a rotation, and a scale.
Parameters:
|
translation |
Reference to the IFXSGVector for translation |
|
shear1 |
Reference to the IFXSGMatrix for a shear (1) |
|
shear2 |
Reference to the IFXSGMatrix for a shear (2) |
|
rotation |
Reference to the IFXSGMatrix for rotation |
|
scale |
Reference to the IFXSGVector for scale |
Return Values:
bool
This method sets an up direction.
Parameters:
|
direction |
Reference to IFXSGVector rotate direction |
|
up |
Reference to IFXSGVector up position |
Return Values:
None
This method sets a direction.
Parameters:
None
Return Values:
const IFXSGVector
This method sets a direction as up.
Parameters:
None
Return Values:
const IFXSGVector
This method points at the up position.
Parameters:
|
position |
Reference to IFXSGVector position |
|
up |
Reference to IFXSGVector up position |
Return Values:
None
Parameters:
|
i |
Long integer |
Return Values:
IFXSGVector reference
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
bool
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
bool
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix reference
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix reference
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix reference
Parameters:
|
s |
Reference to IFXSGFloat |
Return Values:
IFXSGMatrix reference
Parameters:
|
v |
Reference to IFXSGVector |
Return Values:
IFXSGMatrix reference
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix reference
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix
Parameters:
|
s |
Reference to IFXSGFloat |
Return Values:
IFXSGMatrix
Parameters:
|
s |
Reference to IFXSGFloat |
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix
Parameters:
|
v |
Reference to IFXSGVector |
Return Values:
IFXSGVector
Parameters:
|
v |
Reference to IFXSGVector |
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGVector
Parameters:
|
m |
Reference to IFXSGMatrix |
Return Values:
IFXSGMatrix
Parameters:
None
Return Values:
Reference to IFXSGMatrix
Parameters:
None
Return Values:
Reference to IFXSGFloat
Parameters:
None
Return Values:
Reference to IFXSGMatrix
Parameters:
None
Return Values:
None
Parameters:
None
Return Values:
Reference to IFXSGMatrix
Parameters:
None
Return Values:
Reference to IFXSGMatrix
Parameters:
|
v |
Reference to IFXSGVector |
Return Values:
Reference to IFXSGMatrix
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.