2003-07-23 19:27:31 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGGA_EXPORT osgGA::KeySwitchMatrixManipulator< / TITLE >
2004-08-06 14:53:36 +08:00
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.6" >
2003-07-23 19:27:31 +08:00
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGGA_EXPORT < A HREF = "#DOC.DOCU" > osgGA::KeySwitchMatrixManipulator< / A > < / H2 > < / H2 > < BLOCKQUOTE > KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key.< / BLOCKQUOTE >
< 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,CKeySwitchMatrixManipulator,MKeySwitchMatrixManipulator.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 Methods< / H3 > < DD > < DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.10.3" > className< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.10.4" > addMatrixManipulator< / A > < / B > (int key, std::string name, <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * cm)
2003-07-23 19:27:31 +08:00
< DD > < I > Add a camera manipulator with an associated name, and a key to trigger the switch,< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.10.5" > addNumberedMatrixManipulator< / A > < / B > (<!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * cm)
2003-07-23 19:27:31 +08:00
< DD > < I > Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > unsigned int < B > < A HREF = "#DOC.2.10.6" > getNumMatrixManipulators< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.10.7" > selectMatrixManipulator< / A > < / B > (unsigned int num)
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.2" > KeyManipMap< / A > & < B > < A HREF = "#DOC.2.10.8" > getKeyManipMap< / A > < / B > ()
< DD > < I > Get the complete list of manipulators attached to this keyswitch manipulator< / I >
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.2" > KeyManipMap< / A > & < B > < A HREF = "#DOC.2.10.9" > getKeyManipMap< / A > < / B > () const
< DD > < I > Get the const complete list of manipulators attached to this keyswitch manipulator< / I >
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * < B > < A HREF = "#DOC.2.10.10" > getCurrentMatrixManipulator< / A > < / B > ()
< DD > < I > Get the current active manipulators< / I >
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * < B > < A HREF = "#DOC.2.10.11" > getCurrentMatrixManipulator< / A > < / B > () const
< DD > < I > Get the const current active manipulators< / I >
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * < B > < A HREF = "#DOC.2.10.12" > getMatrixManipulator< / A > < / B > (unsigned int key)
< DD > < I > Get manipulator assigned to a specified key< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * < B > < A HREF = "#DOC.2.10.13" > getMatrixManipulator< / A > < / B > (unsigned int key) const
< DD > < I > Get const manipulator assigned to a specified key< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.14" > setMinimumDistance< / A > < / B > (float minimumDistance)
< DD > < I > set the minimum distance (as ratio) the eye point can be zoomed in towards the center before the center is pushed forward< / I >
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.15" > setCoordinateFrameCallback< / A > < / B > (<!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > * cb)
< DD > < I > set the coordinate frame which callback tells the manipulator which way is up, east and north< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.16" > setByMatrix< / A > < / B > (const osg::Matrixd& matrix)
< DD > < I > Set the position of the matrix manipulator using a 4x4 Matrix< / I >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.17" > setByInverseMatrix< / A > < / B > (const osg::Matrixd& matrix)
2003-07-23 19:27:31 +08:00
< DD > < I > set the position of the matrix manipulator using a 4x4 Matrix< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Matrixd < B > < A HREF = "#DOC.2.10.18" > getMatrix< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DD > < I > get the position of the manipulator as 4x4 Matrix< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Matrixd < B > < A HREF = "#DOC.2.10.19" > getInverseMatrix< / A > < / B > () const
2003-07-23 19:27:31 +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-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osgUtil::SceneView::FusionDistanceMode < B > < A HREF = "#DOC.2.10.20" > getFusionDistanceMode< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DD > < I > Get the FusionDistanceMode.< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual float < B > < A HREF = "#DOC.2.10.21" > getFusionDistanceValue< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DD > < I > Get the FusionDistanceValue.< / I >
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.22" > setNode< / A > < / B > (osg::Node* n)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const osg::Node* < B > < A HREF = "#DOC.2.10.23" > getNode< / A > < / B > () const
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual osg::Node* < B > < A HREF = "#DOC.2.10.24" > getNode< / A > < / B > ()
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.25" > setHomePosition< / A > < / B > (const osg::Vec3d& eye, const osg::Vec3d& center, const osg::Vec3d& up)
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.26" > setAutoComputeHomePosition< / A > < / B > (bool flag)
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.27" > computeHomePosition< / A > < / B > ()
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.28" > home< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ee, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & aa)
2003-07-23 19:27:31 +08:00
< DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.29" > init< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ee, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & aa)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.10.30" > handle< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.10.31" > getUsage< / A > < / B > (osg::ApplicationUsage& usage) const
2003-07-23 19:27:31 +08:00
< DD > < I > Get the keyboard and mouse usage of this manipulator< / I >
< / DL > < / P >
2004-08-06 14:53:36 +08:00
< P > < DL >
< DT > < H3 > Public< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::pair< std::string, osg::ref_ptr< <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > > > < B > < A HREF = "#DOC.2.10.1" > NamedManipulator< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::map< int, <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.1" > NamedManipulator< / A > > < B > < A HREF = "#DOC.2.10.2" > KeyManipMap< / A > < / B >
< / DL > < / P >
2003-07-23 19:27:31 +08:00
< / DL >
< HR > < H3 > Inherited from < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > :< / H3 >
< DL >
2004-08-06 14:53:36 +08:00
< 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 >
2003-07-23 19:27:31 +08:00
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2004-08-06 14:53:36 +08:00
< IMG ALT = "o" SRC = icon2.gif > float < B > getMinimumDistance< / B > () const
< 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 > getHomePosition< / B > (osg::Vec3d& eye, osg::Vec3d& center, osg::Vec3d& up)
< DT >
< IMG ALT = "o" SRC = icon2.gif > bool < B > getAutoComputeHomePosition< / B > () const
< DT >
2003-07-23 19:27:31 +08:00
< IMG ALT = "o" SRC = icon2.gif > virtual void < B > accept< / B > (<!1> < A HREF = "GUIEventHandlerVisitor.html" > GUIEventHandlerVisitor< / A > & v)
< / DL > < / P >
2004-08-06 14:53:36 +08:00
< 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 >
2003-07-23 19:27:31 +08:00
< / 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 >
< BLOCKQUOTE >
KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator
being used to be switched by pressing a key. E.g. '1' for a TrackballManipultor,
'2' for a DriveManipulator, '3' for a FlightManipulator. The manipulators available,
and the associated switch keys, can be configured.< / BLOCKQUOTE >
< DL >
2004-08-06 14:53:36 +08:00
< A NAME = "NamedManipulator" > < / A >
< A NAME = "DOC.2.10.1" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::pair< std::string, osg::ref_ptr< <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > > > NamedManipulator< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "KeyManipMap" > < / A >
< A NAME = "DOC.2.10.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::map< int, <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.1" > NamedManipulator< / A > > KeyManipMap< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2003-07-23 19:27:31 +08:00
< A NAME = "className" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const char* className() const < / B > < / TT >
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.4" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addMatrixManipulator(int key, std::string name, <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * cm)< / B > < / TT >
< DD >
Add a camera manipulator with an associated name, and a key to
trigger the switch,
< DL > < DT > < DD > < / DL > < P >
< A NAME = "addNumberedMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.5" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void addNumberedMatrixManipulator(<!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * cm)< / B > < / TT >
< DD >
Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd
< DL > < DT > < DD > < / DL > < P >
2003-09-08 18:51:14 +08:00
< A NAME = "getNumMatrixManipulators" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.6" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > unsigned int getNumMatrixManipulators() const < / B > < / TT >
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "selectMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.7" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void selectMatrixManipulator(unsigned int num)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2004-08-06 14:53:36 +08:00
< A NAME = "getKeyManipMap" > < / A >
< A NAME = "DOC.2.10.8" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.2" > KeyManipMap< / A > & getKeyManipMap()< / B > < / TT >
< DD > Get the complete list of manipulators attached to this keyswitch manipulator
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getKeyManipMap" > < / A >
< A NAME = "DOC.2.10.9" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "KeySwitchMatrixManipulator.html#DOC.2.10.2" > KeyManipMap< / A > & getKeyManipMap() const < / B > < / TT >
< DD > Get the const complete list of manipulators attached to this keyswitch manipulator
< DL > < DT > < DD > < / DL > < P >
2003-07-23 19:27:31 +08:00
< A NAME = "getCurrentMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.10" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * getCurrentMatrixManipulator()< / B > < / TT >
2004-08-06 14:53:36 +08:00
< DD > Get the current active manipulators
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCurrentMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.11" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * getCurrentMatrixManipulator() const < / B > < / TT >
2004-08-06 14:53:36 +08:00
< DD > Get the const current active manipulators
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.12" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * getMatrixManipulator(unsigned int key)< / B > < / TT >
< DD > Get manipulator assigned to a specified key
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMatrixManipulator" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.13" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "MatrixManipulator.html" > MatrixManipulator< / A > * getMatrixManipulator(unsigned int key) const < / B > < / TT >
< DD > Get const manipulator assigned to a specified key
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setMinimumDistance" > < / A >
< A NAME = "DOC.2.10.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setMinimumDistance(float minimumDistance)< / B > < / TT >
< DD > set the minimum distance (as ratio) the eye point can be zoomed in towards the
center before the center is pushed forward
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setCoordinateFrameCallback" > < / A >
< A NAME = "DOC.2.10.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setCoordinateFrameCallback(<!1> < A HREF = "CoordinateFrameCallback.html" > CoordinateFrameCallback< / A > * cb)< / B > < / TT >
< DD > set the coordinate frame which callback tells the manipulator which way is up, east and north
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setByMatrix" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.16" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setByMatrix(const osg::Matrixd& matrix)< / B > < / TT >
2004-08-06 14:53:36 +08:00
< DD > Set the position of the matrix manipulator using a 4x4 Matrix
2003-07-23 19:27:31 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setByInverseMatrix" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.17" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setByInverseMatrix(const osg::Matrixd& matrix)< / B > < / TT >
2003-07-23 19:27:31 +08:00
< DD > set the position of the matrix manipulator using a 4x4 Matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMatrix" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.18" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Matrixd getMatrix() const < / B > < / TT >
2003-07-23 19:27:31 +08:00
< DD > get the position of the manipulator as 4x4 Matrix
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getInverseMatrix" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.19" > < / A >
2003-09-08 18:51:14 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Matrixd getInverseMatrix() const < / B > < / TT >
2003-07-23 19:27:31 +08:00
< 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-06 14:53:36 +08:00
< A NAME = "DOC.2.10.20" > < / A >
2003-07-23 19:27:31 +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-06 14:53:36 +08:00
< A NAME = "DOC.2.10.21" > < / A >
2003-07-23 19:27:31 +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-06 14:53:36 +08:00
< A NAME = "DOC.2.10.22" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setNode(osg::Node* n)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.23" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const osg::Node* getNode() const < / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getNode" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.24" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual osg::Node* getNode()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2004-08-06 14:53:36 +08:00
< A NAME = "setHomePosition" > < / A >
< A NAME = "DOC.2.10.25" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setHomePosition(const osg::Vec3d& eye, const osg::Vec3d& center, const osg::Vec3d& up)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setAutoComputeHomePosition" > < / A >
< A NAME = "DOC.2.10.26" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setAutoComputeHomePosition(bool flag)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "computeHomePosition" > < / A >
< A NAME = "DOC.2.10.27" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void computeHomePosition()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2003-07-23 19:27:31 +08:00
< A NAME = "home" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.28" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void home(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ee, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & aa)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "init" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.29" > < / A >
2003-07-23 19:27:31 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void init(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ee, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & aa)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "handle" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.30" > < / A >
2003-07-23 19:27:31 +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 >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getUsage" > < / A >
2004-08-06 14:53:36 +08:00
< A NAME = "DOC.2.10.31" > < / A >
2003-07-23 19:27:31 +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 > < / 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 >
2004-08-06 14:53:36 +08:00
This page was generated with the help of < A HREF = "http://www.linuxsupportline.com/~doc++" > DOC++< / A > .
2003-07-23 19:27:31 +08:00
< / BODY >
< / HTML >