2004-08-06 14:53:36 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGGA_EXPORT osgGA::TerrainManipulator< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.6" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGGA_EXPORT < A HREF = "#DOC.DOCU" > osgGA::TerrainManipulator< / A > < / H2 > < / H2 > < HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 125 >
< param name = classes value = "Mosg::Object,M,CGUIEventHandler,MGUIEventHandler.html,CMatrixManipulator,MMatrixManipulator.html,CTerrainManipulator,MTerrainManipulator.html" >
< param name = before value = "M,M,M,M" >
< param name = after value = "Md_SPSP,Md_SP,Md_,M" >
< param name = indent value = "0,1,2,3" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Classes< / H3 > < DD > < DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.14.3" > RotationMode< / A > < / B >
2004-08-06 14:53:36 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.14.1" > TerrainManipulator< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.14.2" > className< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.4" > setRotationMode< / A > < / B > (<!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > mode)
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > < B > < A HREF = "#DOC.2.14.5" > getRotationMode< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.6" > setByMatrix< / A > < / B > (const osg::Matrixd& matrix)
2004-08-06 14:53:36 +08:00
< DD > < I > set the position of the matrix manipulator using a 4x4 Matrix< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.7" > setByInverseMatrix< / A > < / B > (const osg::Matrixd& matrix)
2004-08-06 14:53:36 +08:00
< DD > < I > set the position of the matrix manipulator using a 4x4 Matrix< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Matrixd < B > < A HREF = "#DOC.2.14.8" > getMatrix< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DD > < I > get the position of the manipulator as 4x4 Matrix< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Matrixd < B > < A HREF = "#DOC.2.14.9" > getInverseMatrix< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DD > < I > get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osgUtil::SceneView::FusionDistanceMode < B > < A HREF = "#DOC.2.14.10" > getFusionDistanceMode< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DD > < I > Get the FusionDistanceMode.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual float < B > < A HREF = "#DOC.2.14.11" > getFusionDistanceValue< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DD > < I > Get the FusionDistanceValue.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.12" > setNode< / A > < / B > (osg::Node*)
2004-08-06 14:53:36 +08:00
< DD > < I > Attach a node to the manipulator.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const osg::Node* < B > < A HREF = "#DOC.2.14.13" > getNode< / A > < / B > () const
2004-08-06 14:53:36 +08:00
< DD > < I > Return node if attached< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Node* < B > < A HREF = "#DOC.2.14.14" > getNode< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DD > < I > Return node if attached< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.15" > home< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2004-08-06 14:53:36 +08:00
< DD > < I > Move the camera to the default position.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.16" > init< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2004-08-06 14:53:36 +08:00
< DD > < I > Start/restart the manipulator< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.14.17" > handle< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2004-08-06 14:53:36 +08:00
< DD > < I > handle events, return true if handled, false otherwise< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.14.18" > getUsage< / A > < / B > (osg::ApplicationUsage& usage) const
2004-08-06 14:53:36 +08:00
< DD > < I > Get the keyboard and mouse usage of this manipulator< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > < B > < A HREF = "#DOC.2.14.28" > _ga_t1< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > < B > < A HREF = "#DOC.2.14.29" > _ga_t0< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::Node> < B > < A HREF = "#DOC.2.14.30" > _node< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > < B > < A HREF = "#DOC.2.14.31" > _rotationMode< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.14.32" > _thrown< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3d < B > < A HREF = "#DOC.2.14.33" > _center< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Quat < B > < A HREF = "#DOC.2.14.34" > _rotation< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > float < B > < A HREF = "#DOC.2.14.35" > _distance< / A > < / B >
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3d < B > < A HREF = "#DOC.2.14.36" > _previousUp< / A > < / B >
2004-08-06 14:53:36 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.14.19" > ~TerrainManipulator< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.20" > flushMouseEventStack< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DD > < I > Reset the internal GUIEvent stack< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.21" > addMouseEvent< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea)
2004-08-06 14:53:36 +08:00
< DD > < I > Add the current mouse GUIEvent to internal stack< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.22" > computePosition< / A > < / B > (const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up)
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.14.23" > calcMovement< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DD > < I > For the give mouse movement calculate the movement of the camera.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.24" > trackball< / A > < / B > (osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y)
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > double < B > < A HREF = "#DOC.2.14.25" > tb_project_to_sphere< / A > < / B > (double r, double x, double y)
2004-08-06 14:53:36 +08:00
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.14.26" > isMouseMoving< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< DD > < I > Check the speed at which the mouse is moving.< / I >
< DT >
2004-08-24 18:58:51 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.14.27" > clampOrientation< / A > < / B > ()
2004-08-06 14:53:36 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Classes< / H3 > < DD > < DT >
class < B > < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > < / B > : public osg::Referenced
< DD > < I > callback class to use to allow matrix manipulators to querry the application for the local coordinate frame< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > setMinimumDistance< / B > (float minimumDistance)
< DT >
< IMG ALT = "o" SRC = icon2.gif > float < B > getMinimumDistance< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > setCoordinateFrameCallback< / B > (<!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > * cb)
< DT >
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > * < B > getCoordinateFrameCallback< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > const <!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > * < B > getCoordinateFrameCallback< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::CoordinateFrame < B > getCoordinateFrame< / B > (const osg::Vec3d& position) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > getSideVector< / B > (const osg::CoordinateFrame& cf) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > getFrontVector< / B > (const osg::CoordinateFrame& cf) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > getUpVector< / B > (const osg::CoordinateFrame& cf) const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > setHomePosition< / B > (const osg::Vec3d& eye, const osg::Vec3d& center, const osg::Vec3d& up)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > getHomePosition< / B > (osg::Vec3d& eye, osg::Vec3d& center, osg::Vec3d& up)
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > setAutoComputeHomePosition< / B > (bool flag)
< DT >
< IMG ALT = "o" SRC = icon2.gif > bool < B > getAutoComputeHomePosition< / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > computeHomePosition< / B > ()
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "GUIEventHandlerVisitor.html" > GUIEventHandlerVisitor< / A > & v)
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > double < B > _minimumDistance< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > bool < B > _autoComputeHomePosition< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > _homeEye< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > _homeCenter< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::Vec3d < B > _homeUp< / B >
< DT >
< IMG ALT = "o" SRC = icon2.gif > osg::ref_ptr< <!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > > < B > _coordinateFrameCallback< / B >
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "GUIEventHandler.html" > GUIEventHandler< / A > :< / H3 >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
< IMG ALT = "o" SRC = icon2.gif > META_Object < B > (osgGA, GUIEventHandler) const < / B > () const
< DT >
< IMG ALT = "o" SRC = icon2.gif > virtual <!1> < A HREF = "CompositeGUIEventHandler.html" > CompositeGUIEventHandler< / A > * < B > getComposite< / B > ()
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< DL >
< A NAME = "TerrainManipulator" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.1" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > TerrainManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "className" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.2" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const char* className() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RotationMode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.3" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum RotationMode< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "ELEVATION_AZIM_ROLL" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.3.1" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ELEVATION_AZIM_ROLL< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "ELEVATION_AZIM" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.3.2" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > ELEVATION_AZIM< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "setRotationMode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.4" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setRotationMode(<!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > mode)< / B > < / TT >
2004-08-06 14:53:36 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getRotationMode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.5" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > getRotationMode() const < / B > < / TT >
2004-08-06 14:53:36 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setByMatrix" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.6" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setByMatrix(const osg::Matrixd& matrix)< / B > < / TT >
< DD > set the position of the matrix manipulator using a 4x4 Matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setByInverseMatrix" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.7" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setByInverseMatrix(const osg::Matrixd& matrix)< / B > < / TT >
< DD > set the position of the matrix manipulator using a 4x4 Matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMatrix" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.8" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Matrixd getMatrix() const < / B > < / TT >
< DD > get the position of the manipulator as 4x4 Matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getInverseMatrix" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.9" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Matrixd getInverseMatrix() const < / B > < / TT >
< DD > get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getFusionDistanceMode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.10" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const < / B > < / TT >
< DD > Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getFusionDistanceValue" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.11" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual float getFusionDistanceValue() const < / B > < / TT >
< DD > Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setNode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.12" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setNode(osg::Node*)< / B > < / TT >
< DD > Attach a node to the manipulator.
Automatically detaches previously attached node.
setNode(NULL) detaches previously nodes.
Is ignored by manipulators which do not require a reference model.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.13" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const osg::Node* getNode() const < / B > < / TT >
< DD > Return node if attached
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.14" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Node* getNode()< / B > < / TT >
< DD > Return node if attached
< DL > < DT > < DD > < / DL > < P >
< A NAME = "home" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.15" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void home(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
< DD > Move the camera to the default position.
May be ignored by manipulators if home functionality is not appropriate.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "init" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.16" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void init(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
< DD > Start/restart the manipulator
< DL > < DT > < DD > < / DL > < P >
< A NAME = "handle" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.17" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual bool handle(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)< / B > < / TT >
< DD > handle events, return true if handled, false otherwise
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getUsage" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.18" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void getUsage(osg::ApplicationUsage& usage) const < / B > < / TT >
< DD > Get the keyboard and mouse usage of this manipulator
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~TerrainManipulator" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.19" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~TerrainManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "flushMouseEventStack" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.20" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void flushMouseEventStack()< / B > < / TT >
< DD > Reset the internal GUIEvent stack
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addMouseEvent" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.21" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addMouseEvent(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea)< / B > < / TT >
< DD > Add the current mouse GUIEvent to internal stack
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computePosition" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.22" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void computePosition(const osg::Vec3d& eye, const osg::Vec3d& lv, const osg::Vec3d& up)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "calcMovement" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.23" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool calcMovement()< / B > < / TT >
< DD > For the give mouse movement calculate the movement of the camera.
Return true is camera has moved and a redraw is required.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "trackball" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.24" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void trackball(osg::Vec3& axis, double& angle, double p1x, double p1y, double p2x, double p2y)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "tb_project_to_sphere" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.25" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > double tb_project_to_sphere(double r, double x, double y)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "isMouseMoving" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.26" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool isMouseMoving()< / B > < / TT >
< DD > Check the speed at which the mouse is moving.
If speed is below a threshold then return false, otherwise return true.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "clampOrientation" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.27" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void clampOrientation()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_ga_t1" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.28" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > _ga_t1< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_ga_t0" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.29" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > > _ga_t0< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_node" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.30" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::Node> _node< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_rotationMode" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.31" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "TerrainManipulator.html#DOC.2.14.3" > RotationMode< / A > _rotationMode< / B > < / TT >
2004-08-06 14:53:36 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_thrown" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.32" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool _thrown< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_center" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.33" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3d _center< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_rotation" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.34" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Quat _rotation< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_distance" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.35" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > float _distance< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_previousUp" > < / A >
2004-08-24 18:58:51 +08:00
< A NAME = "DOC.2.14.36" > < / A >
2004-08-06 14:53:36 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3d _previousUp< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://www.linuxsupportline.com/~doc++" > DOC++< / A > .
< / BODY >
< / HTML >