API Documentation > Interface Classes > Class pfcTransform3D
Class pfcTransform3D

# include <pfcBase.h>

class
pfcTransform3D
: public virtual
xobject
{
xdeclare(pfcTransform3D)
...
};
This is a
COMPACT class.

Description
This class provides information about a coordinate system transformation.
Manual References:
Method Summary
Creates a Transform3D object.
void
The transformation matrix
Retrieves the point that represents the origin of the coordinate system.
Retrieves the vector that represents the X-axis.
Retrieves the vector that represents the Y-axis.
Retrieves the vector that represents the Z-axis.
void
Inverts the 4 x 4 matrix contained in the transform object.
void
This method specifies the point that represents the origin of the coordinate system.
void
This method returns a vector that representing the X-axis of the coordinate system.
void
This method specifies a vector that represents the Y-axis of the coordinate system.
void
Specifies the vector that represents the Z-axis of the coordinate system.
Transforms the specified point using the transformation matrix (both shift and rotation).
Transforms the specified vector by the given transformation matrix (rotation only).
Method Detail
GetMatrix
()
void
SetMatrix
(pfcMatrix3D_ptr value)
The transformation matrix
Manual References:
GetXAxis
()
Retrieves the vector that represents the X-axis.
Manual References:
Returns:
The X-axis
void
SetXAxis
(pfcVector3D_ptr Input)
This method returns a vector that representing the X-axis of the coordinate system.
Parameters:
Input
The X-axis
Returns:
GetYAxis
()
Retrieves the vector that represents the Y-axis.
Manual References:
Returns:
The Y-axis
void
SetYAxis
(pfcVector3D_ptr Input)
This method specifies a vector that represents the Y-axis of the coordinate system.
Parameters:
Input
The Y-axis
Returns:
GetZAxis
()
Retrieves the vector that represents the Z-axis.
Manual References:
Returns:
The Z-axis
void
SetZAxis
(pfcVector3D_ptr Input)
Specifies the vector that represents the Z-axis of the coordinate system.
Parameters:
Input
The Z-axis
Returns:
GetOrigin
()
Retrieves the point that represents the origin of the coordinate system.
Manual References:
Returns:
The origin
void
SetOrigin
(pfcPoint3D_ptr Input)
This method specifies the point that represents the origin of the coordinate system.
Manual References:
Parameters:
Input
The three-dimensional point that represents the origin
Returns:
TransformVector
(pfcVector3D_ptr Input)
Transforms the specified vector by the given transformation matrix (rotation only).
Manual References:
Parameters:
Input
The vector to transform
Returns:
The resulting vector. Note that this can be the same as theInput vector.
TransformPoint
(pfcPoint3D_ptr Input)
Transforms the specified point using the transformation matrix (both shift and rotation).
Manual References:
Parameters:
Input
The point to transform
Returns:
The resulting point. Note that this can be the same as theInput point.
void
Invert
()
Inverts the 4 x 4 matrix contained in the transform object.
Manual References:
Returns:
Creates a Transform3D object.
Parameters:
Matrix
The transformation matrix
Returns:
The new Transform3D
Was this helpful?