| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|---|
| 2 | |
|---|
| 3 | <HTML> |
|---|
| 4 | <HEAD> |
|---|
| 5 | <TITLE>class OSGGA_EXPORT osgGA::MatrixManipulator</TITLE> |
|---|
| 6 | <META NAME="GENERATOR" CONTENT="DOC++ 3.4.6"> |
|---|
| 7 | </HEAD> |
|---|
| 8 | <BODY BGCOLOR="#ffffff"> |
|---|
| 9 | |
|---|
| 10 | <H2>class OSGGA_EXPORT <A HREF="#DOC.DOCU">osgGA::MatrixManipulator</A></H2></H2><HR> |
|---|
| 11 | |
|---|
| 12 | <H2>Inheritance:</H2> |
|---|
| 13 | <APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=305> |
|---|
| 14 | <param name=classes value="Mosg::Object,M,CGUIEventHandler,MGUIEventHandler.html,CMatrixManipulator,MMatrixManipulator.html,CTrackerManipulator,MTrackerManipulator.html,CTrackballManipulator,MTrackballManipulator.html,CTerrainManipulator,MTerrainManipulator.html,CKeySwitchMatrixManipulator,MKeySwitchMatrixManipulator.html,CFlightManipulator,MFlightManipulator.html,CDriveManipulator,MDriveManipulator.html,CAnimationPathManipulator,MAnimationPathManipulator.html"> |
|---|
| 15 | <param name=before value="M,M,M,M|_,MR_,MR_,MR_,MR_,MR_,Mr_"> |
|---|
| 16 | <param name=after value="Md_SP,Md_,M,M,M,M,M,M,M,M"> |
|---|
| 17 | <param name=indent value="0,1,2,2,2,2,2,2,2,2"> |
|---|
| 18 | <param name=arrowdir value="down"> |
|---|
| 19 | </APPLET> |
|---|
| 20 | <HR> |
|---|
| 21 | |
|---|
| 22 | <DL> |
|---|
| 23 | <P><DL> |
|---|
| 24 | <DT><H3>Public Classes</H3><DD><DT> |
|---|
| 25 | class <B><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A></B>: public osg::Referenced |
|---|
| 26 | <DD><I>callback class to use to allow matrix manipulators to querry the application for the local coordinate frame</I> |
|---|
| 27 | </DL></P> |
|---|
| 28 | |
|---|
| 29 | <P><DL> |
|---|
| 30 | <DT><H3>Public Methods</H3><DD><DT> |
|---|
| 31 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.11.1">className</A></B>() const |
|---|
| 32 | <DT> |
|---|
| 33 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.3">setMinimumDistance</A></B>(float minimumDistance) |
|---|
| 34 | <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> |
|---|
| 35 | <DT> |
|---|
| 36 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.11.4">getMinimumDistance</A></B>() const |
|---|
| 37 | <DD><I>get the minimum distance (as ratio) the eye point can be zoomed in </I> |
|---|
| 38 | <DT> |
|---|
| 39 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.5">setCoordinateFrameCallback</A></B>(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb) |
|---|
| 40 | <DD><I>set the coordinate frame which callback tells the manipulator which way is up, east and north</I> |
|---|
| 41 | <DT> |
|---|
| 42 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B><A HREF="#DOC.2.11.6">getCoordinateFrameCallback</A></B>() |
|---|
| 43 | <DD><I>get the coordinate frame callback which tells the manipulator which way is up, east and north</I> |
|---|
| 44 | <DT> |
|---|
| 45 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B><A HREF="#DOC.2.11.7">getCoordinateFrameCallback</A></B>() const |
|---|
| 46 | <DD><I>get the coordinate frame callback which tells the manipulator which way is up, east and north</I> |
|---|
| 47 | <DT> |
|---|
| 48 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::CoordinateFrame <B><A HREF="#DOC.2.11.8">getCoordinateFrame</A></B>(const osg::Vec3d& position) const |
|---|
| 49 | <DD><I>get the coordinate frame</I> |
|---|
| 50 | <DT> |
|---|
| 51 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.9">getSideVector</A></B>(const osg::CoordinateFrame& cf) const |
|---|
| 52 | <DT> |
|---|
| 53 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.10">getFrontVector</A></B>(const osg::CoordinateFrame& cf) const |
|---|
| 54 | <DT> |
|---|
| 55 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.11">getUpVector</A></B>(const osg::CoordinateFrame& cf) const |
|---|
| 56 | <DT> |
|---|
| 57 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.12">setByMatrix</A></B>(const osg::Matrixd& matrix) |
|---|
| 58 | <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> |
|---|
| 59 | <DT> |
|---|
| 60 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.13">setByInverseMatrix</A></B>(const osg::Matrixd& matrix) |
|---|
| 61 | <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> |
|---|
| 62 | <DT> |
|---|
| 63 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.11.14">getMatrix</A></B>() const |
|---|
| 64 | <DD><I>get the position of the manipulator as 4x4 Matrix</I> |
|---|
| 65 | <DT> |
|---|
| 66 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.11.15">getInverseMatrix</A></B>() const |
|---|
| 67 | <DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I> |
|---|
| 68 | <DT> |
|---|
| 69 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.11.16">getFusionDistanceMode</A></B>() const |
|---|
| 70 | <DD><I>Get the FusionDistanceMode.</I> |
|---|
| 71 | <DT> |
|---|
| 72 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.11.17">getFusionDistanceValue</A></B>() const |
|---|
| 73 | <DD><I>Get the FusionDistanceValue.</I> |
|---|
| 74 | <DT> |
|---|
| 75 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.18">setNode</A></B>(osg::Node*) |
|---|
| 76 | <DD><I> Attach a node to the manipulator, automatically detaching any previously attached node.</I> |
|---|
| 77 | <DT> |
|---|
| 78 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.11.19">getNode</A></B>() const |
|---|
| 79 | <DD><I>Return const node if attached</I> |
|---|
| 80 | <DT> |
|---|
| 81 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.11.20">getNode</A></B>() |
|---|
| 82 | <DD><I>Return node if attached</I> |
|---|
| 83 | <DT> |
|---|
| 84 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.21">setHomePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& center, const osg::Vec3d& up) |
|---|
| 85 | <DT> |
|---|
| 86 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.22">getHomePosition</A></B>(osg::Vec3d& eye, osg::Vec3d& center, osg::Vec3d& up) |
|---|
| 87 | <DT> |
|---|
| 88 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.23">setAutoComputeHomePosition</A></B>(bool flag) |
|---|
| 89 | <DT> |
|---|
| 90 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.11.24">getAutoComputeHomePosition</A></B>() const |
|---|
| 91 | <DT> |
|---|
| 92 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.25">computeHomePosition</A></B>() |
|---|
| 93 | <DT> |
|---|
| 94 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.26">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&) |
|---|
| 95 | <DD><I> Move the camera to the default position.</I> |
|---|
| 96 | <DT> |
|---|
| 97 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.27">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>&, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>&) |
|---|
| 98 | <DD><I> Start/restart the manipulator.</I> |
|---|
| 99 | <DT> |
|---|
| 100 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.11.28">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) |
|---|
| 101 | <DD><I>Handle events, return true if handled, false otherwise.</I> |
|---|
| 102 | <DT> |
|---|
| 103 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.11.29">accept</A></B>(<!1><A HREF="GUIEventHandlerVisitor.html">GUIEventHandlerVisitor</A>& v) |
|---|
| 104 | <DD><I>Handle visitations </I> |
|---|
| 105 | </DL></P> |
|---|
| 106 | |
|---|
| 107 | <P><DL> |
|---|
| 108 | <DT><H3>Protected Fields</H3><DD><DT> |
|---|
| 109 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.11.32">_minimumDistance</A></B> |
|---|
| 110 | <DT> |
|---|
| 111 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.11.33">_autoComputeHomePosition</A></B> |
|---|
| 112 | <DT> |
|---|
| 113 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.34">_homeEye</A></B> |
|---|
| 114 | <DT> |
|---|
| 115 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.35">_homeCenter</A></B> |
|---|
| 116 | <DT> |
|---|
| 117 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::Vec3d <B><A HREF="#DOC.2.11.36">_homeUp</A></B> |
|---|
| 118 | <DT> |
|---|
| 119 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr<<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>> <B><A HREF="#DOC.2.11.37">_coordinateFrameCallback</A></B> |
|---|
| 120 | </DL></P> |
|---|
| 121 | |
|---|
| 122 | <P><DL> |
|---|
| 123 | <DT><H3>Protected Methods</H3><DD><DT> |
|---|
| 124 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.11.30">MatrixManipulator</A></B>() |
|---|
| 125 | <DT> |
|---|
| 126 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.11.31">~MatrixManipulator</A></B>() |
|---|
| 127 | </DL></P> |
|---|
| 128 | |
|---|
| 129 | </DL> |
|---|
| 130 | <HR><H3>Inherited from <A HREF="GUIEventHandler.html">GUIEventHandler</A>:</H3> |
|---|
| 131 | <DL> |
|---|
| 132 | <P><DL> |
|---|
| 133 | <DT><H3>Public Methods</H3><DD><DT> |
|---|
| 134 | <IMG ALT="o" SRC=icon2.gif>META_Object <B>(osgGA, GUIEventHandler) const </B>() const |
|---|
| 135 | <DT> |
|---|
| 136 | <IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="CompositeGUIEventHandler.html">CompositeGUIEventHandler</A>* <B>getComposite</B>() |
|---|
| 137 | <DT> |
|---|
| 138 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>getUsage</B>(osg::ApplicationUsage&) const |
|---|
| 139 | </DL></P> |
|---|
| 140 | |
|---|
| 141 | </DL> |
|---|
| 142 | |
|---|
| 143 | <A NAME="DOC.DOCU"></A> |
|---|
| 144 | <HR> |
|---|
| 145 | <H2>Documentation</H2> |
|---|
| 146 | <BLOCKQUOTE> |
|---|
| 147 | |
|---|
| 148 | <P>MatrixManipulator is an abstract base class defining the interface, and a certain |
|---|
| 149 | amount of default functionality, for classes which wish to control OSG cameras |
|---|
| 150 | in response to GUI events. |
|---|
| 151 | </BLOCKQUOTE> |
|---|
| 152 | <DL> |
|---|
| 153 | |
|---|
| 154 | <A NAME="className"></A> |
|---|
| 155 | <A NAME="DOC.2.11.1"></A> |
|---|
| 156 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> |
|---|
| 157 | <DL><DT><DD></DL><P> |
|---|
| 158 | <A NAME="setMinimumDistance"></A> |
|---|
| 159 | <A NAME="DOC.2.11.3"></A> |
|---|
| 160 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setMinimumDistance(float minimumDistance)</B></TT> |
|---|
| 161 | <DD>set the minimum distance (as ratio) the eye point can be zoomed in towards the |
|---|
| 162 | center before the center is pushed forward |
|---|
| 163 | <DL><DT><DD></DL><P> |
|---|
| 164 | <A NAME="getMinimumDistance"></A> |
|---|
| 165 | <A NAME="DOC.2.11.4"></A> |
|---|
| 166 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getMinimumDistance() const </B></TT> |
|---|
| 167 | <DD>get the minimum distance (as ratio) the eye point can be zoomed in |
|---|
| 168 | <DL><DT><DD></DL><P> |
|---|
| 169 | <A NAME="setCoordinateFrameCallback"></A> |
|---|
| 170 | <A NAME="DOC.2.11.5"></A> |
|---|
| 171 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setCoordinateFrameCallback(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb)</B></TT> |
|---|
| 172 | <DD>set the coordinate frame which callback tells the manipulator which way is up, east and north |
|---|
| 173 | <DL><DT><DD></DL><P> |
|---|
| 174 | <A NAME="getCoordinateFrameCallback"></A> |
|---|
| 175 | <A NAME="DOC.2.11.6"></A> |
|---|
| 176 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* getCoordinateFrameCallback()</B></TT> |
|---|
| 177 | <DD>get the coordinate frame callback which tells the manipulator which way is up, east and north |
|---|
| 178 | <DL><DT><DD></DL><P> |
|---|
| 179 | <A NAME="getCoordinateFrameCallback"></A> |
|---|
| 180 | <A NAME="DOC.2.11.7"></A> |
|---|
| 181 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* getCoordinateFrameCallback() const </B></TT> |
|---|
| 182 | <DD>get the coordinate frame callback which tells the manipulator which way is up, east and north |
|---|
| 183 | <DL><DT><DD></DL><P> |
|---|
| 184 | <A NAME="getCoordinateFrame"></A> |
|---|
| 185 | <A NAME="DOC.2.11.8"></A> |
|---|
| 186 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::CoordinateFrame getCoordinateFrame(const osg::Vec3d& position) const </B></TT> |
|---|
| 187 | <DD>get the coordinate frame |
|---|
| 188 | <DL><DT><DD></DL><P> |
|---|
| 189 | <A NAME="getSideVector"></A> |
|---|
| 190 | <A NAME="DOC.2.11.9"></A> |
|---|
| 191 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d getSideVector(const osg::CoordinateFrame& cf) const </B></TT> |
|---|
| 192 | <DL><DT><DD></DL><P> |
|---|
| 193 | <A NAME="getFrontVector"></A> |
|---|
| 194 | <A NAME="DOC.2.11.10"></A> |
|---|
| 195 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d getFrontVector(const osg::CoordinateFrame& cf) const </B></TT> |
|---|
| 196 | <DL><DT><DD></DL><P> |
|---|
| 197 | <A NAME="getUpVector"></A> |
|---|
| 198 | <A NAME="DOC.2.11.11"></A> |
|---|
| 199 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d getUpVector(const osg::CoordinateFrame& cf) const </B></TT> |
|---|
| 200 | <DL><DT><DD></DL><P> |
|---|
| 201 | <A NAME="setByMatrix"></A> |
|---|
| 202 | <A NAME="DOC.2.11.12"></A> |
|---|
| 203 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByMatrix(const osg::Matrixd& matrix)</B></TT> |
|---|
| 204 | <DD>set the position of the matrix manipulator using a 4x4 Matrix |
|---|
| 205 | <DL><DT><DD></DL><P> |
|---|
| 206 | <A NAME="setByInverseMatrix"></A> |
|---|
| 207 | <A NAME="DOC.2.11.13"></A> |
|---|
| 208 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByInverseMatrix(const osg::Matrixd& matrix)</B></TT> |
|---|
| 209 | <DD>set the position of the matrix manipulator using a 4x4 Matrix |
|---|
| 210 | <DL><DT><DD></DL><P> |
|---|
| 211 | <A NAME="getMatrix"></A> |
|---|
| 212 | <A NAME="DOC.2.11.14"></A> |
|---|
| 213 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getMatrix() const </B></TT> |
|---|
| 214 | <DD>get the position of the manipulator as 4x4 Matrix |
|---|
| 215 | <DL><DT><DD></DL><P> |
|---|
| 216 | <A NAME="getInverseMatrix"></A> |
|---|
| 217 | <A NAME="DOC.2.11.15"></A> |
|---|
| 218 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getInverseMatrix() const </B></TT> |
|---|
| 219 | <DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix |
|---|
| 220 | <DL><DT><DD></DL><P> |
|---|
| 221 | <A NAME="getFusionDistanceMode"></A> |
|---|
| 222 | <A NAME="DOC.2.11.16"></A> |
|---|
| 223 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT> |
|---|
| 224 | <DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. |
|---|
| 225 | <DL><DT><DD></DL><P> |
|---|
| 226 | <A NAME="getFusionDistanceValue"></A> |
|---|
| 227 | <A NAME="DOC.2.11.17"></A> |
|---|
| 228 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getFusionDistanceValue() const </B></TT> |
|---|
| 229 | <DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. |
|---|
| 230 | <DL><DT><DD></DL><P> |
|---|
| 231 | <A NAME="setNode"></A> |
|---|
| 232 | <A NAME="DOC.2.11.18"></A> |
|---|
| 233 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node*)</B></TT> |
|---|
| 234 | <DD> |
|---|
| 235 | Attach a node to the manipulator, automatically detaching any previously attached node. |
|---|
| 236 | setNode(NULL) detaches previous nodes. |
|---|
| 237 | May be ignored by manipulators which do not require a reference model. |
|---|
| 238 | <DL><DT><DD></DL><P> |
|---|
| 239 | <A NAME="getNode"></A> |
|---|
| 240 | <A NAME="DOC.2.11.19"></A> |
|---|
| 241 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const osg::Node* getNode() const </B></TT> |
|---|
| 242 | <DD>Return const node if attached |
|---|
| 243 | <DL><DT><DD></DL><P> |
|---|
| 244 | <A NAME="getNode"></A> |
|---|
| 245 | <A NAME="DOC.2.11.20"></A> |
|---|
| 246 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT> |
|---|
| 247 | <DD>Return node if attached |
|---|
| 248 | <DL><DT><DD></DL><P> |
|---|
| 249 | <A NAME="setHomePosition"></A> |
|---|
| 250 | <A NAME="DOC.2.11.21"></A> |
|---|
| 251 | <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> |
|---|
| 252 | <DL><DT><DD></DL><P> |
|---|
| 253 | <A NAME="getHomePosition"></A> |
|---|
| 254 | <A NAME="DOC.2.11.22"></A> |
|---|
| 255 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void getHomePosition(osg::Vec3d& eye, osg::Vec3d& center, osg::Vec3d& up)</B></TT> |
|---|
| 256 | <DL><DT><DD></DL><P> |
|---|
| 257 | <A NAME="setAutoComputeHomePosition"></A> |
|---|
| 258 | <A NAME="DOC.2.11.23"></A> |
|---|
| 259 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setAutoComputeHomePosition(bool flag)</B></TT> |
|---|
| 260 | <DL><DT><DD></DL><P> |
|---|
| 261 | <A NAME="getAutoComputeHomePosition"></A> |
|---|
| 262 | <A NAME="DOC.2.11.24"></A> |
|---|
| 263 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getAutoComputeHomePosition() const </B></TT> |
|---|
| 264 | <DL><DT><DD></DL><P> |
|---|
| 265 | <A NAME="computeHomePosition"></A> |
|---|
| 266 | <A NAME="DOC.2.11.25"></A> |
|---|
| 267 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void computeHomePosition()</B></TT> |
|---|
| 268 | <DL><DT><DD></DL><P> |
|---|
| 269 | <A NAME="home"></A> |
|---|
| 270 | <A NAME="DOC.2.11.26"></A> |
|---|
| 271 | <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> |
|---|
| 272 | <DD> |
|---|
| 273 | Move the camera to the default position. |
|---|
| 274 | May be ignored by manipulators if home functionality is not appropriate. |
|---|
| 275 | <DL><DT><DD></DL><P> |
|---|
| 276 | <A NAME="init"></A> |
|---|
| 277 | <A NAME="DOC.2.11.27"></A> |
|---|
| 278 | <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> |
|---|
| 279 | <DD> |
|---|
| 280 | Start/restart the manipulator. |
|---|
| 281 | FIXME: what does this actually mean? Provide examples. |
|---|
| 282 | <DL><DT><DD></DL><P> |
|---|
| 283 | <A NAME="handle"></A> |
|---|
| 284 | <A NAME="DOC.2.11.28"></A> |
|---|
| 285 | <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> |
|---|
| 286 | <DD>Handle events, return true if handled, false otherwise. |
|---|
| 287 | <DL><DT><DD></DL><P> |
|---|
| 288 | <A NAME="accept"></A> |
|---|
| 289 | <A NAME="DOC.2.11.29"></A> |
|---|
| 290 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="GUIEventHandlerVisitor.html">GUIEventHandlerVisitor</A>& v)</B></TT> |
|---|
| 291 | <DD>Handle visitations |
|---|
| 292 | <DL><DT><DD></DL><P> |
|---|
| 293 | <A NAME="MatrixManipulator"></A> |
|---|
| 294 | <A NAME="DOC.2.11.30"></A> |
|---|
| 295 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> MatrixManipulator()</B></TT> |
|---|
| 296 | <DL><DT><DD></DL><P> |
|---|
| 297 | <A NAME="~MatrixManipulator"></A> |
|---|
| 298 | <A NAME="DOC.2.11.31"></A> |
|---|
| 299 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~MatrixManipulator()</B></TT> |
|---|
| 300 | <DL><DT><DD></DL><P> |
|---|
| 301 | <A NAME="_minimumDistance"></A> |
|---|
| 302 | <A NAME="DOC.2.11.32"></A> |
|---|
| 303 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _minimumDistance</B></TT> |
|---|
| 304 | <DL><DT><DD></DL><P> |
|---|
| 305 | <A NAME="_autoComputeHomePosition"></A> |
|---|
| 306 | <A NAME="DOC.2.11.33"></A> |
|---|
| 307 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _autoComputeHomePosition</B></TT> |
|---|
| 308 | <DL><DT><DD></DL><P> |
|---|
| 309 | <A NAME="_homeEye"></A> |
|---|
| 310 | <A NAME="DOC.2.11.34"></A> |
|---|
| 311 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _homeEye</B></TT> |
|---|
| 312 | <DL><DT><DD></DL><P> |
|---|
| 313 | <A NAME="_homeCenter"></A> |
|---|
| 314 | <A NAME="DOC.2.11.35"></A> |
|---|
| 315 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _homeCenter</B></TT> |
|---|
| 316 | <DL><DT><DD></DL><P> |
|---|
| 317 | <A NAME="_homeUp"></A> |
|---|
| 318 | <A NAME="DOC.2.11.36"></A> |
|---|
| 319 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::Vec3d _homeUp</B></TT> |
|---|
| 320 | <DL><DT><DD></DL><P> |
|---|
| 321 | <A NAME="_coordinateFrameCallback"></A> |
|---|
| 322 | <A NAME="DOC.2.11.37"></A> |
|---|
| 323 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr<<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>> _coordinateFrameCallback</B></TT> |
|---|
| 324 | <DL><DT><DD></DL><P></DL> |
|---|
| 325 | <HR> |
|---|
| 326 | <DL><DT><B>Direct child classes: |
|---|
| 327 | </B><DD><A HREF="TrackerManipulator.html">TrackerManipulator</A><BR> |
|---|
| 328 | <A HREF="TrackballManipulator.html">TrackballManipulator</A><BR> |
|---|
| 329 | <A HREF="TerrainManipulator.html">TerrainManipulator</A><BR> |
|---|
| 330 | <A HREF="KeySwitchMatrixManipulator.html">KeySwitchMatrixManipulator</A><BR> |
|---|
| 331 | <A HREF="FlightManipulator.html">FlightManipulator</A><BR> |
|---|
| 332 | <A HREF="DriveManipulator.html">DriveManipulator</A><BR> |
|---|
| 333 | <A HREF="AnimationPathManipulator.html">AnimationPathManipulator</A><BR> |
|---|
| 334 | </DL> |
|---|
| 335 | |
|---|
| 336 | <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> |
|---|
| 337 | <BR> |
|---|
| 338 | This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>. |
|---|
| 339 | </BODY> |
|---|
| 340 | </HTML> |
|---|