2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class OSGUTIL_EXPORT osgUtil::CameraManipulator< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class OSGUTIL_EXPORT < A HREF = "#DOC.DOCU" > osgUtil::CameraManipulator< / A > < / H2 > < / H2 > < HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 185 >
< param name = classes value = "Mosg::Referenced,M,CGUIEventHandler,MGUIEventHandler.html,CCameraManipulator,MCameraManipulator.html,CTrackballManipulator,MTrackballManipulator.html,CFlightManipulator,MFlightManipulator.html,CDriveManipulator,MDriveManipulator.html" >
< param name = before value = "M,M,M,M|_,MR_,Mr_" >
< param name = after value = "Md_SP,Md_,M,M,M,M" >
< param name = indent value = "0,1,2,2,2,2" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.2.1" > CameraManipulator< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.2.2" > ~CameraManipulator< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.3" > setCamera< / A > < / B > (osg::Camera*)
2001-09-20 05:19:47 +08:00
< DD > < I > attach a camera to the manipulator to be used for specifying view< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const osg::Camera* < B > < A HREF = "#DOC.2.2.4" > getCamera< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< DD > < I > get the attached a camera< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.5" > setNode< / A > < / B > (osg::Node*)
2001-09-20 05:19:47 +08:00
< DD > < I > Attach a node to the manipulator.< / I >
< DT >
2001-09-22 10:42:08 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const osg::Node* < B > < A HREF = "#DOC.2.2.6" > getNode< / A > < / B > () const
2001-09-20 05:19:47 +08:00
< DD > < I > Return node if attached< / I >
< DT >
2002-04-22 05:53:03 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.7" > setHomeToUseNode< / A > < / B > ()
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.2.8" > setHome< / A > < / B > (const osg::Vec3& eye, const osg::Vec3& center, const osg::Vec3& up)
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.9" > home< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & , <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & )
2001-09-20 05:19:47 +08:00
< DD > < I > Move the camera to the default position.< / I >
< DT >
2002-04-22 05:53:03 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.2.10" > init< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & , <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & )
2001-09-20 05:19:47 +08:00
< DD > < I > Start/restart the manipulator< / I >
< DT >
2002-04-22 05:53:03 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual bool < B > < A HREF = "#DOC.2.2.11" > handle< / A > < / B > (const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & ea, <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & us)
2001-09-20 05:19:47 +08:00
< DD > < I > Handle events, return true if handled, false otherwise< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2002-04-22 05:53:03 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::ref_ptr< osg::Camera> < B > < A HREF = "#DOC.2.2.12" > _camera< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > bool < B > < A HREF = "#DOC.2.2.13" > _homeToUseNode< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3 < B > < A HREF = "#DOC.2.2.14" > _eyeHome< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3 < B > < A HREF = "#DOC.2.2.15" > _centerHome< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > osg::Vec3 < B > < A HREF = "#DOC.2.2.16" > _upHome< / A > < / B >
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< / DL >
< HR > < H3 > Inherited from < A HREF = "GUIEventHandler.html" > GUIEventHandler< / A > :< / H3 >
< DL >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< DL >
< A NAME = "CameraManipulator" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > CameraManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~CameraManipulator" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.2" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~CameraManipulator()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setCamera" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.3" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void setCamera(osg::Camera*)< / B > < / TT >
< DD > attach a camera to the manipulator to be used for specifying view
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCamera" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.4" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual const osg::Camera* getCamera() const < / B > < / TT >
< DD > get the attached a camera
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setNode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.5" > < / A >
2001-09-20 05:19:47 +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 >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.6" > < / A >
2001-09-20 05:19:47 +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 >
2002-04-22 05:53:03 +08:00
< A NAME = "setHomeToUseNode" > < / A >
2001-09-22 10:42:08 +08:00
< A NAME = "DOC.2.2.7" > < / A >
2002-04-22 05:53:03 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setHomeToUseNode()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setHome" > < / A >
< A NAME = "DOC.2.2.8" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setHome(const osg::Vec3& eye, const osg::Vec3& center, const osg::Vec3& up)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "home" > < / A >
< A NAME = "DOC.2.2.9" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void home(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & , <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & )< / 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 >
2002-04-22 05:53:03 +08:00
< A NAME = "DOC.2.2.10" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual void init(const <!1> < A HREF = "GUIEventAdapter.html" > GUIEventAdapter< / A > & , <!1> < A HREF = "GUIActionAdapter.html" > GUIActionAdapter< / A > & )< / B > < / TT >
< DD > Start/restart the manipulator
< DL > < DT > < DD > < / DL > < P >
< A NAME = "handle" > < / A >
2002-04-22 05:53:03 +08:00
< A NAME = "DOC.2.2.11" > < / A >
2001-09-20 05:19:47 +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 = "_camera" > < / A >
2002-04-22 05:53:03 +08:00
< A NAME = "DOC.2.2.12" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::ref_ptr< osg::Camera> _camera< / B > < / TT >
2002-04-22 05:53:03 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_homeToUseNode" > < / A >
< A NAME = "DOC.2.2.13" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > bool _homeToUseNode< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_eyeHome" > < / A >
< A NAME = "DOC.2.2.14" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3 _eyeHome< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_centerHome" > < / A >
< A NAME = "DOC.2.2.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3 _centerHome< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_upHome" > < / A >
< A NAME = "DOC.2.2.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > osg::Vec3 _upHome< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR >
< DL > < DT > < B > Direct child classes:
< / B > < DD > < A HREF = "TrackballManipulator.html" > TrackballManipulator< / A > < BR >
< A HREF = "FlightManipulator.html" > FlightManipulator< / A > < BR >
< A HREF = "DriveManipulator.html" > DriveManipulator< / A > < BR >
< / 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://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >