void SetManipulatedObject ( SObjectInfo* ObjectInfo );
|ObjectInfo||Pointer to a SObjectInfo structure describing object information such as object translation, object rotation, object ID, e.t.c. NULL value clears manipulated object settings from the COpenGL object.|
The SetManipulatedObject method is most usually called in SelectObjectCallback procedure. However it might be called outside the callback to “instruct” COpenGL object that all pan and rotate operations done by mouse should be performed with given object with keeping the eye point location rather that moving the eye point location and keeping the scene static.
When manipulated object is set, the IsFitSelectedInfo returns TRUE and FitSelected method call focuses the rendering window to the manipulated object.
This method is available from ClassGL version 3.0
GetManipulatedObject, SetSelectObjectCallback ]
|© 2001 Solid Graphics, All rights reserved.|
|To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher.|