COpenGL::SetManipulatedObject

void SetManipulatedObject ( SObjectInfo* ObjectInfo );

Parameters

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.

Remarks

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 

See Also

GetManipulatedObject, SetSelectObjectCallback ]