Removed HoveManipulator
This commit is contained in:
parent
81d2e576a4
commit
5095ee5909
@ -1,431 +0,0 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
|
|
||||||
<HTML>
|
|
||||||
<HEAD>
|
|
||||||
<TITLE>class OSGGA_EXPORT osgGA::HoverManipulator</TITLE>
|
|
||||||
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
||||||
</HEAD>
|
|
||||||
<BODY BGCOLOR="#ffffff">
|
|
||||||
|
|
||||||
<H2>class OSGGA_EXPORT <A HREF="#DOC.DOCU">osgGA::HoverManipulator</A></H2></H2><BLOCKQUOTE> HoverManipulator is a MatrixManipulator which provides a camera motion model using mouse and keyboard, designed for flythrough applications (eg.</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,CHoverManipulator,MHoverManipulator.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>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.9.1">HoverManipulator</A></B>()
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.9.2">className</A></B>() const
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.3">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.9.4">setByInverseMatrix</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 osg::Matrixd <B><A HREF="#DOC.2.9.5">getMatrix</A></B>() const
|
|
||||||
<DD><I>get the position of the manipulator as 4x4 Matrix</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.9.6">getInverseMatrix</A></B>() const
|
|
||||||
<DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.7">setNode</A></B>(osg::Node*)
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.9.8">getNode</A></B>() const
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.9.9">getNode</A></B>()
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.10">home</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.9.11">init</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 bool <B><A HREF="#DOC.2.9.12">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.9.13">getUsage</A></B>(osg::ApplicationUsage& usage) const
|
|
||||||
<DD><I>Get the keyboard and mouse usage of this manipulator</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.14">stopAllMotion</A></B>()
|
|
||||||
</DL></P>
|
|
||||||
|
|
||||||
<P><DL>
|
|
||||||
<DT><H3>Protected Fields</H3><DD><DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.9.23">_ga_t1</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>> <B><A HREF="#DOC.2.9.24">_ga_t0</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<osg::Node> <B><A HREF="#DOC.2.9.25">_node</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.26">_modelScale</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.27">_velocity</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.28">_heading</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.29">_pitch</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.30">_headingSpeed</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.31">_pitchSpeed</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.9.32">_moveRight</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.9.33">_moveLeft</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.9.34">_moveForward</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.9.35">_moveBackward</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.36">_leftRightSpeed</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.37">_forwBackwSpeed</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.38">_leftRightDefaultAcc</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.39">_forwBackwDefaultAcc</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.40">_leftRightDefaultBrake</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.41">_forwBackwDefaultBrake</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.42">_mouseFlyDefaultBrake</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3 <B><A HREF="#DOC.2.9.43">_eye</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.9.44">_rotation</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Quat <B><A HREF="#DOC.2.9.45">_refRotation</A></B>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.9.46">_distance</A></B>
|
|
||||||
</DL></P>
|
|
||||||
|
|
||||||
<P><DL>
|
|
||||||
<DT><H3>Protected Methods</H3><DD><DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.9.15">~HoverManipulator</A></B>()
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.16">flushMouseEventStack</A></B>()
|
|
||||||
<DD><I>Reset the internal GUIEvent stack</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.17">addMouseEvent</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea)
|
|
||||||
<DD><I>Add the current mouse GUIEvent to internal stack</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.18">computePosition</A></B>(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.9.19">calcMovement</A></B>()
|
|
||||||
<DD><I>For the given mouse movement, calculate the movement of the camera.</I>
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.20">calcSpeedFromArrowKeys</A></B>(double dt)
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.21">calcSpeedFromMouseMotion</A></B>(double dt)
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.9.22">updatePositionRotation</A></B>(float dt)
|
|
||||||
<DD><I>called each frame by calcMoveMent, updates eye position and rotation based on heading, pitch & velocity </I>
|
|
||||||
</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 osgUtil::SceneView::FusionDistanceMode <B>getFusionDistanceMode</B>() const
|
|
||||||
<DT>
|
|
||||||
<IMG ALT="o" SRC=icon2.gif>virtual float <B>getFusionDistanceValue</B>() 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>
|
|
||||||
<BLOCKQUOTE>
|
|
||||||
HoverManipulator is a MatrixManipulator which provides a camera motion model using mouse and keyboard,
|
|
||||||
designed for flythrough applications (eg. architectural visualisation).
|
|
||||||
This class was based on FlightManipulator and inspired by the OpenGL Performer (TM) 'fly' navigation mode.
|
|
||||||
|
|
||||||
<P>Mouse input:
|
|
||||||
Dragging the middle mouse button changes the orientation of the camera.
|
|
||||||
While holding down the middle mouse button, you increase/decrease flying speed using the left and
|
|
||||||
right mouse buttons. Pressing the left and right buttons simultaneously works as a brake.
|
|
||||||
|
|
||||||
<P>Keyboard input:
|
|
||||||
Space - stops all motion immediately
|
|
||||||
Arrow keys - move the camera parallel to the ground plane. Holding two 'opposing' arrow keys works as a
|
|
||||||
brake.
|
|
||||||
'r' or 'R' - return the camera to the 'home' position
|
|
||||||
------
|
|
||||||
Martijn Kragtwijk, May 2004</BLOCKQUOTE>
|
|
||||||
<DL>
|
|
||||||
|
|
||||||
<A NAME="HoverManipulator"></A>
|
|
||||||
<A NAME="DOC.2.9.1"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> HoverManipulator()</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="className"></A>
|
|
||||||
<A NAME="DOC.2.9.2"></A>
|
|
||||||
<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="setByMatrix"></A>
|
|
||||||
<A NAME="DOC.2.9.3"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.4"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.5"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.6"></A>
|
|
||||||
<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="setNode"></A>
|
|
||||||
<A NAME="DOC.2.9.7"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node*)</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="getNode"></A>
|
|
||||||
<A NAME="DOC.2.9.8"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.9"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="home"></A>
|
|
||||||
<A NAME="DOC.2.9.10"></A>
|
|
||||||
<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>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="init"></A>
|
|
||||||
<A NAME="DOC.2.9.11"></A>
|
|
||||||
<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>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="handle"></A>
|
|
||||||
<A NAME="DOC.2.9.12"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.13"></A>
|
|
||||||
<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="stopAllMotion"></A>
|
|
||||||
<A NAME="DOC.2.9.14"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void stopAllMotion()</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="~HoverManipulator"></A>
|
|
||||||
<A NAME="DOC.2.9.15"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~HoverManipulator()</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="flushMouseEventStack"></A>
|
|
||||||
<A NAME="DOC.2.9.16"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.17"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.18"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computePosition(const osg::Vec3& eye, const osg::Vec3& lv, const osg::Vec3& up)</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="calcMovement"></A>
|
|
||||||
<A NAME="DOC.2.9.19"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool calcMovement()</B></TT>
|
|
||||||
<DD>For the given 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="calcSpeedFromArrowKeys"></A>
|
|
||||||
<A NAME="DOC.2.9.20"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void calcSpeedFromArrowKeys(double dt)</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="calcSpeedFromMouseMotion"></A>
|
|
||||||
<A NAME="DOC.2.9.21"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void calcSpeedFromMouseMotion(double dt)</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="updatePositionRotation"></A>
|
|
||||||
<A NAME="DOC.2.9.22"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool updatePositionRotation(float dt)</B></TT>
|
|
||||||
<DD>called each frame by calcMoveMent, updates eye position and rotation
|
|
||||||
based on heading, pitch & velocity
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_ga_t1"></A>
|
|
||||||
<A NAME="DOC.2.9.23"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.24"></A>
|
|
||||||
<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>
|
|
||||||
<A NAME="DOC.2.9.25"></A>
|
|
||||||
<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="_modelScale"></A>
|
|
||||||
<A NAME="DOC.2.9.26"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _modelScale</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_velocity"></A>
|
|
||||||
<A NAME="DOC.2.9.27"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _velocity</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_heading"></A>
|
|
||||||
<A NAME="DOC.2.9.28"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _heading</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_pitch"></A>
|
|
||||||
<A NAME="DOC.2.9.29"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _pitch</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_headingSpeed"></A>
|
|
||||||
<A NAME="DOC.2.9.30"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _headingSpeed</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_pitchSpeed"></A>
|
|
||||||
<A NAME="DOC.2.9.31"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _pitchSpeed</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_moveRight"></A>
|
|
||||||
<A NAME="DOC.2.9.32"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _moveRight</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_moveLeft"></A>
|
|
||||||
<A NAME="DOC.2.9.33"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _moveLeft</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_moveForward"></A>
|
|
||||||
<A NAME="DOC.2.9.34"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _moveForward</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_moveBackward"></A>
|
|
||||||
<A NAME="DOC.2.9.35"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _moveBackward</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_leftRightSpeed"></A>
|
|
||||||
<A NAME="DOC.2.9.36"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _leftRightSpeed</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_forwBackwSpeed"></A>
|
|
||||||
<A NAME="DOC.2.9.37"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _forwBackwSpeed</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_leftRightDefaultAcc"></A>
|
|
||||||
<A NAME="DOC.2.9.38"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _leftRightDefaultAcc</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_forwBackwDefaultAcc"></A>
|
|
||||||
<A NAME="DOC.2.9.39"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _forwBackwDefaultAcc</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_leftRightDefaultBrake"></A>
|
|
||||||
<A NAME="DOC.2.9.40"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _leftRightDefaultBrake</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_forwBackwDefaultBrake"></A>
|
|
||||||
<A NAME="DOC.2.9.41"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _forwBackwDefaultBrake</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_mouseFlyDefaultBrake"></A>
|
|
||||||
<A NAME="DOC.2.9.42"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _mouseFlyDefaultBrake</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_eye"></A>
|
|
||||||
<A NAME="DOC.2.9.43"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3 _eye</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_rotation"></A>
|
|
||||||
<A NAME="DOC.2.9.44"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _rotation</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_refRotation"></A>
|
|
||||||
<A NAME="DOC.2.9.45"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Quat _refRotation</B></TT>
|
|
||||||
<DL><DT><DD></DL><P>
|
|
||||||
<A NAME="_distance"></A>
|
|
||||||
<A NAME="DOC.2.9.46"></A>
|
|
||||||
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _distance</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>
|
|
Loading…
Reference in New Issue
Block a user