Dynamic Orientations
Introduction
View3D offers the capability to define dynamic orientations to objects. This offers several additional capabilities to an application:
Local Coordinate Systems - Objects can maintain their own local coordinate system. By specifying an offset and an orientation of an object, it can be placed within a scene of other objects with unique coordinate systems.
Animation - Objects can be moved and manipulated in real-time by simply adjusting the offset, or orientation of an object.
This functionality is offered through the following API calls:
XintView3DSetObjRotation - Sets or resets an object's current rotation or orientation. Any previous rotations applied to the object are lost.
XintView3DSetObjScale - Sets or resets an object's scaling or size. Any previous scaling operations applied to the object are lost.
XintView3DSetObjTranslation - Sets or resets an object's translation or location. Any previous translations applied to the object are lost.
XintView3DAdjObjRotation - Adjusts an object's current rotation or orientation. All operations are cumulative.
XintView3DAdjObjScale - Adjusts an object's scaling or size. All operations are cumulative.
XintView3DAdjObjTranslation - Adjusts an object's translation or location. All operations are cumulative.
Whenever an object's orientation has been changed, it will be redrawn in every View3D widget that contains it.