Transform3Bvr Class

Just as a Transform2Bvr transforms a two-dimensional object into another two-dimensional object, a Transform3Bvr transforms a three-dimensional object into another three-dimensional object. Other transforms include the render method, which transforms three-dimensional objects into two-dimensional objects; and the project method, which transforms a three-dimensional point into a two-dimensional point.

For more information about behaviors, see the Behavior class.

For relevant methods and fields from the Statics class, see the following topics.

Transform3Bvr Methods

inverse Creates a transformation behavior that is the inverse of the original transformation.
isSingular Creates a Boolean behavior that indicates whether the transform is singular.
parallelTransform2 Creates a Transform2Bvr object from the Transform3Bvr object.
newUninitBvr Enables you to refer to a Transform3Bvr behavior before that behavior has been defined.

inverse

Transform3Bvr Class

Creates a transformation behavior that is the inverse of the original transformation.

Syntax

public Transform3Bvr inverse( );

Return Value

Returns the Transform3Bvr object.

Remarks

The inverse transformation is useful for removing the effects of the original transformation from a three-dimensional object. To characterize transforms of an unknown type, use isSingular.

isSingular

Transform3Bvr Class

Creates a Boolean behavior that indicates whether the transform is singular. A singular transform is one that has no inverse.

Syntax

public BooleanBvr isSingular( );

Return Value

Returns the BooleanBvr object. This object's value is true if the transform is singular; otherwise, it is false.

parallelTransform2

Transform3Bvr Class

Creates a Transform2Bvr object from the Transform3Bvr object.

Syntax

public Transform2Bvr parallelTransform2( );

Return Value

Returns the Transform2Bvr object.

Remarks

This method is equivalent to casting an orthographic projection of the Transform3Bvr onto the X-Y plane. For predictable results, the transform must be an affine (4´3) transform rather than a perspective (4´4) transform.

newUninitBvr

Transform3Bvr Class

Enables you to refer to a Transform3Bvr behavior before that behavior has been defined. With this method you can create the behavior and use it in the definition of other behaviors, but not actually define its contents until some later point. (This is accomplished with the init method, which is available on all behaviors.) The system generates a run-time error if you initialize a non-uninitialized behavior, initialize an uninitialized behavior that has already been initialized, or run an initialized behavior that has not yet been initialized.

Syntax

public static Transform3Bvr newUninitBvr( );

Return Value

Returns the Transform3Bvr object.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.