OpenSceneGraph/doc/osgUtil/DriveManipulator.html
2001-01-10 16:32:10 +00:00

122 lines
5.0 KiB
HTML

<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::DriveManipulator</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::DriveManipulator</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,CDriveManipulator,MDriveManipulator.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 Methods</H3><DD><DT>
<A HREF="#DOC.2.3.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>DriveManipulator</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.3.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~DriveManipulator</B>()
<DD><I></I>
<DT>
<A HREF="#DOC.2.3.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.3.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.3.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>home</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
<DD><I>Move the camera to the default position.</I>
<DT>
<A HREF="#DOC.2.3.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual void <B>init</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
<DD><I>Start/restart the manipulator</I>
<DT>
<A HREF="#DOC.2.3.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>update</B>(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)
<DD><I>handle events, return true if handled, false otherwise</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&lt;osg::Camera&gt; <B>_camera</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU">
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="DriveManipulator">
<A NAME="DOC.2.3.10">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DriveManipulator()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~DriveManipulator">
<A NAME="DOC.2.3.11">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~DriveManipulator()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setNode">
<A NAME="DOC.2.3.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.3.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.3.3">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void home(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; 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.3.4">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void init(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)</B></TT>
<DD>Start/restart the manipulator
<DL><DT><DD></DL><P>
<A NAME="update">
<A NAME="DOC.2.3.5">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool update(<!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&amp; ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&amp; us)</B></TT>
<DD>handle events, return true if handled, false otherwise
<DL><DT><DD></DL><P><DL>
<A NAME="USE_MOUSE_Y_FOR_SPEED">
<A NAME="DOC.2.3.9.1">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> USE_MOUSE_Y_FOR_SPEED</B></TT>
<DL><DT><DD></DL><P>
<A NAME="USE_MOUSE_BUTTONS_FOR_SPEED">
<A NAME="DOC.2.3.9.2">
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> USE_MOUSE_BUTTONS_FOR_SPEED</B></TT>
<DL><DT><DD></DL><P></DL>
</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>