140 lines
5.8 KiB
HTML
140 lines
5.8 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGUTIL_EXPORT osgUtil::FlightManipulator</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::FlightManipulator</A>: public <!1><A HREF="CameraManipulator.html#DOC.2.1.8">CameraManipulator</A></H2>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
|
|
<param name=classes value="Mosg::Referenced,M,CCameraManipulator,MCameraManipulator.html,CFlightManipulator,MFlightManipulator.html">
|
|
<param name=before value="M,M,M">
|
|
<param name=after value="Md_SP,Md_,M">
|
|
<param name=indent value="0,1,2">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<A HREF="#DOC.2.4.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>YawControlMode</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.4.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>FlightManipulator</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~FlightManipulator</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>setNode</B>(osg::Node*)
|
|
<DD><I>Attach a node to the manipulator.</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual osg::Node* <B>getNode</B>() const
|
|
<DD><I>Return node if attached</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>home</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)
|
|
<DD><I>Move the camera to the default position.</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>init</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)
|
|
<DD><I>Start/restart the manipulator</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>update</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us)
|
|
<DD><I>handle events, return true if handled, false otherwise</I>
|
|
<DT>
|
|
<A HREF="#DOC.2.4.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setYawControlMode</B>(<!1><A HREF="FlightManipulator.html#DOC.2.4.6">YawControlMode</A> ycm)
|
|
<DD><I>Set the yaw control between no yaw and yawing when banked</I>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="CameraManipulator.html">CameraManipulator</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>setCamera</B>(osg::Camera*)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual osg::Camera* <B>getCamera</B>() const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>osg::ref_ptr<osg::Camera> <B>_camera</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU">
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="FlightManipulator">
|
|
<A NAME="DOC.2.4.11">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FlightManipulator()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~FlightManipulator">
|
|
<A NAME="DOC.2.4.12">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~FlightManipulator()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNode">
|
|
<A NAME="DOC.2.4.1">
|
|
<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 NAME="DOC.2.4.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode() const </B></TT>
|
|
<DD>Return node if attached
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="home">
|
|
<A NAME="DOC.2.4.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void home(<!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 NAME="DOC.2.4.4">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void init(<!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="update">
|
|
<A NAME="DOC.2.4.5">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool update(<!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="YawControlMode">
|
|
<A NAME="DOC.2.4.6">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum YawControlMode</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="YAW_AUTOMATICALLY_WHEN_BANKED">
|
|
<A NAME="DOC.2.4.6.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> YAW_AUTOMATICALLY_WHEN_BANKED</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="NO_AUTOMATIC_YAW">
|
|
<A NAME="DOC.2.4.6.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NO_AUTOMATIC_YAW</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setYawControlMode">
|
|
<A NAME="DOC.2.4.7">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setYawControlMode(<!1><A HREF="FlightManipulator.html#DOC.2.4.6">YawControlMode</A> ycm)</B></TT>
|
|
<DD>Set the yaw control between no yaw and yawing when banked
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
|
|
|
<DL><DT><DD></DL><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>
|