From 2a904a4dad69bf1c93f4b2dcb905d45216f2e2db Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 15 Oct 2004 09:10:36 +0000 Subject: [PATCH] Added docs --- include/osgGA/NodeTrackerManipulator | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/osgGA/NodeTrackerManipulator b/include/osgGA/NodeTrackerManipulator index 1c96901a7..828d9dd86 100644 --- a/include/osgGA/NodeTrackerManipulator +++ b/include/osgGA/NodeTrackerManipulator @@ -41,8 +41,16 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator enum TrackerMode { + /** Track the center of the node's bounding sphere, but not rotations of the node. + * For datatbases which have a CoordinateSystemNode, the orientation is kept relative the coordinate frame if the center of the node. + */ NODE_CENTER, + /** Track the center of the node's bounding sphere, and the azimuth rotation (about the z axis of the current coordinate frame). + * For datatbases which have a CoordinateSystemNode, the orientation is kept relative the coordinate frame if the center of the node. + */ NODE_CENTER_AND_AZIM, + /** Tack the center of the node's bounding sphere, and the all rotations of the node. + */ NODE_CENTER_AND_ROTATION, }; @@ -52,7 +60,11 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator enum RotationMode { + /** Use a trackball style manipulation of the view direction w.r.t the tracked orientation. + */ TRACKBALL, + /** Allow the elevation and azimuth angles to be adjust w.r.t the tracked orientation. + */ ELEVATION_AZIM, };