| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|---|
| 2 | |
|---|
| 3 | <HTML> |
|---|
| 4 | <HEAD> |
|---|
| 5 | <TITLE>class OSGGA_EXPORT osgGA::KeySwitchMatrixManipulator</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::KeySwitchMatrixManipulator</A></H2></H2><BLOCKQUOTE> KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator being used to be switched by pressing a key.</BLOCKQUOTE> |
|---|
| 11 | <HR> |
|---|
| 12 | |
|---|
| 13 | <H2>Inheritance:</H2> |
|---|
| 14 | <APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125> |
|---|
| 15 | <param name=classes value="Mosg::Object,M,CGUIEventHandler,MGUIEventHandler.html,CMatrixManipulator,MMatrixManipulator.html,CKeySwitchMatrixManipulator,MKeySwitchMatrixManipulator.html"> |
|---|
| 16 | <param name=before value="M,M,M,M"> |
|---|
| 17 | <param name=after value="Md_SPSP,Md_SP,Md_,M"> |
|---|
| 18 | <param name=indent value="0,1,2,3"> |
|---|
| 19 | <param name=arrowdir value="down"> |
|---|
| 20 | </APPLET> |
|---|
| 21 | <HR> |
|---|
| 22 | |
|---|
| 23 | <DL> |
|---|
| 24 | <P><DL> |
|---|
| 25 | <DT><H3>Public Methods</H3><DD><DT> |
|---|
| 26 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.9.3">className</A></B>() const |
|---|
| 27 | <DT> |
|---|
| 28 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.4">addMatrixManipulator</A></B>(int key, std::string name, <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* cm) |
|---|
| 29 | <DD><I> Add a camera manipulator with an associated name, and a key to trigger the switch,</I> |
|---|
| 30 | <DT> |
|---|
| 31 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.5">addNumberedMatrixManipulator</A></B>(<!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* cm) |
|---|
| 32 | <DD><I> Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd</I> |
|---|
| 33 | <DT> |
|---|
| 34 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.9.6">getNumMatrixManipulators</A></B>() const |
|---|
| 35 | <DT> |
|---|
| 36 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.9.7">selectMatrixManipulator</A></B>(unsigned int num) |
|---|
| 37 | <DT> |
|---|
| 38 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.2">KeyManipMap</A>& <B><A HREF="#DOC.2.9.8">getKeyManipMap</A></B>() |
|---|
| 39 | <DD><I>Get the complete list of manipulators attached to this keyswitch manipulator</I> |
|---|
| 40 | <DT> |
|---|
| 41 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.2">KeyManipMap</A>& <B><A HREF="#DOC.2.9.9">getKeyManipMap</A></B>() const |
|---|
| 42 | <DD><I>Get the const complete list of manipulators attached to this keyswitch manipulator</I> |
|---|
| 43 | <DT> |
|---|
| 44 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* <B><A HREF="#DOC.2.9.10">getCurrentMatrixManipulator</A></B>() |
|---|
| 45 | <DD><I>Get the current active manipulators</I> |
|---|
| 46 | <DT> |
|---|
| 47 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* <B><A HREF="#DOC.2.9.11">getCurrentMatrixManipulator</A></B>() const |
|---|
| 48 | <DD><I>Get the const current active manipulators</I> |
|---|
| 49 | <DT> |
|---|
| 50 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* <B><A HREF="#DOC.2.9.12">getMatrixManipulator</A></B>(unsigned int key) |
|---|
| 51 | <DD><I>Get manipulator assigned to a specified key</I> |
|---|
| 52 | <DT> |
|---|
| 53 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* <B><A HREF="#DOC.2.9.13">getMatrixManipulator</A></B>(unsigned int key) const |
|---|
| 54 | <DD><I>Get const manipulator assigned to a specified key</I> |
|---|
| 55 | <DT> |
|---|
| 56 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.14">setMinimumDistance</A></B>(float minimumDistance) |
|---|
| 57 | <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> |
|---|
| 58 | <DT> |
|---|
| 59 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.15">setCoordinateFrameCallback</A></B>(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb) |
|---|
| 60 | <DD><I>set the coordinate frame which callback tells the manipulator which way is up, east and north</I> |
|---|
| 61 | <DT> |
|---|
| 62 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.16">setByMatrix</A></B>(const osg::Matrixd& matrix) |
|---|
| 63 | <DD><I>Set the position of the matrix manipulator using a 4x4 Matrix</I> |
|---|
| 64 | <DT> |
|---|
| 65 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.17">setByInverseMatrix</A></B>(const osg::Matrixd& matrix) |
|---|
| 66 | <DD><I>set the position of the matrix manipulator using a 4x4 Matrix</I> |
|---|
| 67 | <DT> |
|---|
| 68 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.9.18">getMatrix</A></B>() const |
|---|
| 69 | <DD><I>get the position of the manipulator as 4x4 Matrix</I> |
|---|
| 70 | <DT> |
|---|
| 71 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Matrixd <B><A HREF="#DOC.2.9.19">getInverseMatrix</A></B>() const |
|---|
| 72 | <DD><I>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix</I> |
|---|
| 73 | <DT> |
|---|
| 74 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osgUtil::SceneView::FusionDistanceMode <B><A HREF="#DOC.2.9.20">getFusionDistanceMode</A></B>() const |
|---|
| 75 | <DD><I>Get the FusionDistanceMode.</I> |
|---|
| 76 | <DT> |
|---|
| 77 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual float <B><A HREF="#DOC.2.9.21">getFusionDistanceValue</A></B>() const |
|---|
| 78 | <DD><I>Get the FusionDistanceValue.</I> |
|---|
| 79 | <DT> |
|---|
| 80 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.22">setNode</A></B>(osg::Node* n) |
|---|
| 81 | <DT> |
|---|
| 82 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const osg::Node* <B><A HREF="#DOC.2.9.23">getNode</A></B>() const |
|---|
| 83 | <DT> |
|---|
| 84 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Node* <B><A HREF="#DOC.2.9.24">getNode</A></B>() |
|---|
| 85 | <DT> |
|---|
| 86 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.25">setHomePosition</A></B>(const osg::Vec3d& eye, const osg::Vec3d& center, const osg::Vec3d& up) |
|---|
| 87 | <DT> |
|---|
| 88 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.26">setAutoComputeHomePosition</A></B>(bool flag) |
|---|
| 89 | <DT> |
|---|
| 90 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.27">computeHomePosition</A></B>() |
|---|
| 91 | <DT> |
|---|
| 92 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.28">home</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ee, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& aa) |
|---|
| 93 | <DT> |
|---|
| 94 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.29">init</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ee, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& aa) |
|---|
| 95 | <DT> |
|---|
| 96 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.9.30">handle</A></B>(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ea, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& us) |
|---|
| 97 | <DT> |
|---|
| 98 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.9.31">getUsage</A></B>(osg::ApplicationUsage& usage) const |
|---|
| 99 | <DD><I>Get the keyboard and mouse usage of this manipulator</I> |
|---|
| 100 | </DL></P> |
|---|
| 101 | |
|---|
| 102 | <P><DL> |
|---|
| 103 | <DT><H3>Public</H3><DD><DT> |
|---|
| 104 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::pair<std::string, osg::ref_ptr<<!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>> > <B><A HREF="#DOC.2.9.1">NamedManipulator</A></B> |
|---|
| 105 | <DT> |
|---|
| 106 | <IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map<int, <!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.1">NamedManipulator</A>> <B><A HREF="#DOC.2.9.2">KeyManipMap</A></B> |
|---|
| 107 | </DL></P> |
|---|
| 108 | |
|---|
| 109 | </DL> |
|---|
| 110 | <HR><H3>Inherited from <A HREF="MatrixManipulator.html">MatrixManipulator</A>:</H3> |
|---|
| 111 | <DL> |
|---|
| 112 | <P><DL> |
|---|
| 113 | <DT><H3>Public Classes</H3><DD><DT> |
|---|
| 114 | class <B><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A></B>: public osg::Referenced |
|---|
| 115 | <DD><I>callback class to use to allow matrix manipulators to querry the application for the local coordinate frame</I> |
|---|
| 116 | </DL></P> |
|---|
| 117 | |
|---|
| 118 | <P><DL> |
|---|
| 119 | <DT><H3>Public Methods</H3><DD><DT> |
|---|
| 120 | <IMG ALT="o" SRC=icon2.gif>float <B>getMinimumDistance</B>() const |
|---|
| 121 | <DT> |
|---|
| 122 | <IMG ALT="o" SRC=icon2.gif><!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>() |
|---|
| 123 | <DT> |
|---|
| 124 | <IMG ALT="o" SRC=icon2.gif>const <!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* <B>getCoordinateFrameCallback</B>() const |
|---|
| 125 | <DT> |
|---|
| 126 | <IMG ALT="o" SRC=icon2.gif>osg::CoordinateFrame <B>getCoordinateFrame</B>(const osg::Vec3d& position) const |
|---|
| 127 | <DT> |
|---|
| 128 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getSideVector</B>(const osg::CoordinateFrame& cf) const |
|---|
| 129 | <DT> |
|---|
| 130 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getFrontVector</B>(const osg::CoordinateFrame& cf) const |
|---|
| 131 | <DT> |
|---|
| 132 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>getUpVector</B>(const osg::CoordinateFrame& cf) const |
|---|
| 133 | <DT> |
|---|
| 134 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>getHomePosition</B>(osg::Vec3d& eye, osg::Vec3d& center, osg::Vec3d& up) |
|---|
| 135 | <DT> |
|---|
| 136 | <IMG ALT="o" SRC=icon2.gif>bool <B>getAutoComputeHomePosition</B>() const |
|---|
| 137 | <DT> |
|---|
| 138 | <IMG ALT="o" SRC=icon2.gif>virtual void <B>accept</B>(<!1><A HREF="GUIEventHandlerVisitor.html">GUIEventHandlerVisitor</A>& v) |
|---|
| 139 | </DL></P> |
|---|
| 140 | |
|---|
| 141 | <P><DL> |
|---|
| 142 | <DT><H3>Protected Fields</H3><DD><DT> |
|---|
| 143 | <IMG ALT="o" SRC=icon2.gif>double <B>_minimumDistance</B> |
|---|
| 144 | <DT> |
|---|
| 145 | <IMG ALT="o" SRC=icon2.gif>bool <B>_autoComputeHomePosition</B> |
|---|
| 146 | <DT> |
|---|
| 147 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeEye</B> |
|---|
| 148 | <DT> |
|---|
| 149 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeCenter</B> |
|---|
| 150 | <DT> |
|---|
| 151 | <IMG ALT="o" SRC=icon2.gif>osg::Vec3d <B>_homeUp</B> |
|---|
| 152 | <DT> |
|---|
| 153 | <IMG ALT="o" SRC=icon2.gif>osg::ref_ptr<<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>> <B>_coordinateFrameCallback</B> |
|---|
| 154 | </DL></P> |
|---|
| 155 | |
|---|
| 156 | </DL> |
|---|
| 157 | <HR><H3>Inherited from <A HREF="GUIEventHandler.html">GUIEventHandler</A>:</H3> |
|---|
| 158 | <DL> |
|---|
| 159 | <P><DL> |
|---|
| 160 | <DT><H3>Public Methods</H3><DD><DT> |
|---|
| 161 | <IMG ALT="o" SRC=icon2.gif>META_Object <B>(osgGA, GUIEventHandler) const </B>() const |
|---|
| 162 | <DT> |
|---|
| 163 | <IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="CompositeGUIEventHandler.html">CompositeGUIEventHandler</A>* <B>getComposite</B>() |
|---|
| 164 | </DL></P> |
|---|
| 165 | |
|---|
| 166 | </DL> |
|---|
| 167 | |
|---|
| 168 | <A NAME="DOC.DOCU"></A> |
|---|
| 169 | <HR> |
|---|
| 170 | <H2>Documentation</H2> |
|---|
| 171 | <BLOCKQUOTE> |
|---|
| 172 | KeySwitchMatrixManipulator is a decorator which allows the type of camera manipulator |
|---|
| 173 | being used to be switched by pressing a key. E.g. '1' for a TrackballManipultor, |
|---|
| 174 | '2' for a DriveManipulator, '3' for a FlightManipulator. The manipulators available, |
|---|
| 175 | and the associated switch keys, can be configured.</BLOCKQUOTE> |
|---|
| 176 | <DL> |
|---|
| 177 | |
|---|
| 178 | <A NAME="NamedManipulator"></A> |
|---|
| 179 | <A NAME="DOC.2.9.1"></A> |
|---|
| 180 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::pair<std::string, osg::ref_ptr<<!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>> > NamedManipulator</B></TT> |
|---|
| 181 | <DL><DT><DD></DL><P> |
|---|
| 182 | <A NAME="KeyManipMap"></A> |
|---|
| 183 | <A NAME="DOC.2.9.2"></A> |
|---|
| 184 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map<int, <!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.1">NamedManipulator</A>> KeyManipMap</B></TT> |
|---|
| 185 | <DL><DT><DD></DL><P> |
|---|
| 186 | <A NAME="className"></A> |
|---|
| 187 | <A NAME="DOC.2.9.3"></A> |
|---|
| 188 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT> |
|---|
| 189 | <DL><DT><DD></DL><P> |
|---|
| 190 | <A NAME="addMatrixManipulator"></A> |
|---|
| 191 | <A NAME="DOC.2.9.4"></A> |
|---|
| 192 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addMatrixManipulator(int key, std::string name, <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* cm)</B></TT> |
|---|
| 193 | <DD> |
|---|
| 194 | Add a camera manipulator with an associated name, and a key to |
|---|
| 195 | trigger the switch, |
|---|
| 196 | <DL><DT><DD></DL><P> |
|---|
| 197 | <A NAME="addNumberedMatrixManipulator"></A> |
|---|
| 198 | <A NAME="DOC.2.9.5"></A> |
|---|
| 199 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addNumberedMatrixManipulator(<!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* cm)</B></TT> |
|---|
| 200 | <DD> |
|---|
| 201 | Add a camera manipulator with an autogenerated keybinding which is '1' + previous number of camera's registerd |
|---|
| 202 | <DL><DT><DD></DL><P> |
|---|
| 203 | <A NAME="getNumMatrixManipulators"></A> |
|---|
| 204 | <A NAME="DOC.2.9.6"></A> |
|---|
| 205 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getNumMatrixManipulators() const </B></TT> |
|---|
| 206 | <DL><DT><DD></DL><P> |
|---|
| 207 | <A NAME="selectMatrixManipulator"></A> |
|---|
| 208 | <A NAME="DOC.2.9.7"></A> |
|---|
| 209 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void selectMatrixManipulator(unsigned int num)</B></TT> |
|---|
| 210 | <DL><DT><DD></DL><P> |
|---|
| 211 | <A NAME="getKeyManipMap"></A> |
|---|
| 212 | <A NAME="DOC.2.9.8"></A> |
|---|
| 213 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.2">KeyManipMap</A>& getKeyManipMap()</B></TT> |
|---|
| 214 | <DD>Get the complete list of manipulators attached to this keyswitch manipulator |
|---|
| 215 | <DL><DT><DD></DL><P> |
|---|
| 216 | <A NAME="getKeyManipMap"></A> |
|---|
| 217 | <A NAME="DOC.2.9.9"></A> |
|---|
| 218 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="KeySwitchMatrixManipulator.html#DOC.2.9.2">KeyManipMap</A>& getKeyManipMap() const </B></TT> |
|---|
| 219 | <DD>Get the const complete list of manipulators attached to this keyswitch manipulator |
|---|
| 220 | <DL><DT><DD></DL><P> |
|---|
| 221 | <A NAME="getCurrentMatrixManipulator"></A> |
|---|
| 222 | <A NAME="DOC.2.9.10"></A> |
|---|
| 223 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* getCurrentMatrixManipulator()</B></TT> |
|---|
| 224 | <DD>Get the current active manipulators |
|---|
| 225 | <DL><DT><DD></DL><P> |
|---|
| 226 | <A NAME="getCurrentMatrixManipulator"></A> |
|---|
| 227 | <A NAME="DOC.2.9.11"></A> |
|---|
| 228 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* getCurrentMatrixManipulator() const </B></TT> |
|---|
| 229 | <DD>Get the const current active manipulators |
|---|
| 230 | <DL><DT><DD></DL><P> |
|---|
| 231 | <A NAME="getMatrixManipulator"></A> |
|---|
| 232 | <A NAME="DOC.2.9.12"></A> |
|---|
| 233 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* getMatrixManipulator(unsigned int key)</B></TT> |
|---|
| 234 | <DD>Get manipulator assigned to a specified key |
|---|
| 235 | <DL><DT><DD></DL><P> |
|---|
| 236 | <A NAME="getMatrixManipulator"></A> |
|---|
| 237 | <A NAME="DOC.2.9.13"></A> |
|---|
| 238 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="MatrixManipulator.html">MatrixManipulator</A>* getMatrixManipulator(unsigned int key) const </B></TT> |
|---|
| 239 | <DD>Get const manipulator assigned to a specified key |
|---|
| 240 | <DL><DT><DD></DL><P> |
|---|
| 241 | <A NAME="setMinimumDistance"></A> |
|---|
| 242 | <A NAME="DOC.2.9.14"></A> |
|---|
| 243 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setMinimumDistance(float minimumDistance)</B></TT> |
|---|
| 244 | <DD>set the minimum distance (as ratio) the eye point can be zoomed in towards the |
|---|
| 245 | center before the center is pushed forward |
|---|
| 246 | <DL><DT><DD></DL><P> |
|---|
| 247 | <A NAME="setCoordinateFrameCallback"></A> |
|---|
| 248 | <A NAME="DOC.2.9.15"></A> |
|---|
| 249 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setCoordinateFrameCallback(<!1><A HREF="CoordinateFrameCallback.html">CoordinateFrameCallback</A>* cb)</B></TT> |
|---|
| 250 | <DD>set the coordinate frame which callback tells the manipulator which way is up, east and north |
|---|
| 251 | <DL><DT><DD></DL><P> |
|---|
| 252 | <A NAME="setByMatrix"></A> |
|---|
| 253 | <A NAME="DOC.2.9.16"></A> |
|---|
| 254 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByMatrix(const osg::Matrixd& matrix)</B></TT> |
|---|
| 255 | <DD>Set the position of the matrix manipulator using a 4x4 Matrix |
|---|
| 256 | <DL><DT><DD></DL><P> |
|---|
| 257 | <A NAME="setByInverseMatrix"></A> |
|---|
| 258 | <A NAME="DOC.2.9.17"></A> |
|---|
| 259 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setByInverseMatrix(const osg::Matrixd& matrix)</B></TT> |
|---|
| 260 | <DD>set the position of the matrix manipulator using a 4x4 Matrix |
|---|
| 261 | <DL><DT><DD></DL><P> |
|---|
| 262 | <A NAME="getMatrix"></A> |
|---|
| 263 | <A NAME="DOC.2.9.18"></A> |
|---|
| 264 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getMatrix() const </B></TT> |
|---|
| 265 | <DD>get the position of the manipulator as 4x4 Matrix |
|---|
| 266 | <DL><DT><DD></DL><P> |
|---|
| 267 | <A NAME="getInverseMatrix"></A> |
|---|
| 268 | <A NAME="DOC.2.9.19"></A> |
|---|
| 269 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Matrixd getInverseMatrix() const </B></TT> |
|---|
| 270 | <DD>get the position of the manipulator as a inverse matrix of the manipulator, typically used as a model view matrix |
|---|
| 271 | <DL><DT><DD></DL><P> |
|---|
| 272 | <A NAME="getFusionDistanceMode"></A> |
|---|
| 273 | <A NAME="DOC.2.9.20"></A> |
|---|
| 274 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osgUtil::SceneView::FusionDistanceMode getFusionDistanceMode() const </B></TT> |
|---|
| 275 | <DD>Get the FusionDistanceMode. Used by SceneView for setting up setereo convergence. |
|---|
| 276 | <DL><DT><DD></DL><P> |
|---|
| 277 | <A NAME="getFusionDistanceValue"></A> |
|---|
| 278 | <A NAME="DOC.2.9.21"></A> |
|---|
| 279 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual float getFusionDistanceValue() const </B></TT> |
|---|
| 280 | <DD>Get the FusionDistanceValue. Used by SceneView for setting up setereo convergence. |
|---|
| 281 | <DL><DT><DD></DL><P> |
|---|
| 282 | <A NAME="setNode"></A> |
|---|
| 283 | <A NAME="DOC.2.9.22"></A> |
|---|
| 284 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setNode(osg::Node* n)</B></TT> |
|---|
| 285 | <DL><DT><DD></DL><P> |
|---|
| 286 | <A NAME="getNode"></A> |
|---|
| 287 | <A NAME="DOC.2.9.23"></A> |
|---|
| 288 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const osg::Node* getNode() const </B></TT> |
|---|
| 289 | <DL><DT><DD></DL><P> |
|---|
| 290 | <A NAME="getNode"></A> |
|---|
| 291 | <A NAME="DOC.2.9.24"></A> |
|---|
| 292 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Node* getNode()</B></TT> |
|---|
| 293 | <DL><DT><DD></DL><P> |
|---|
| 294 | <A NAME="setHomePosition"></A> |
|---|
| 295 | <A NAME="DOC.2.9.25"></A> |
|---|
| 296 | <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> |
|---|
| 297 | <DL><DT><DD></DL><P> |
|---|
| 298 | <A NAME="setAutoComputeHomePosition"></A> |
|---|
| 299 | <A NAME="DOC.2.9.26"></A> |
|---|
| 300 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setAutoComputeHomePosition(bool flag)</B></TT> |
|---|
| 301 | <DL><DT><DD></DL><P> |
|---|
| 302 | <A NAME="computeHomePosition"></A> |
|---|
| 303 | <A NAME="DOC.2.9.27"></A> |
|---|
| 304 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void computeHomePosition()</B></TT> |
|---|
| 305 | <DL><DT><DD></DL><P> |
|---|
| 306 | <A NAME="home"></A> |
|---|
| 307 | <A NAME="DOC.2.9.28"></A> |
|---|
| 308 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void home(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ee, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& aa)</B></TT> |
|---|
| 309 | <DL><DT><DD></DL><P> |
|---|
| 310 | <A NAME="init"></A> |
|---|
| 311 | <A NAME="DOC.2.9.29"></A> |
|---|
| 312 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void init(const <!1><A HREF="GUIEventAdapter.html">GUIEventAdapter</A>& ee, <!1><A HREF="GUIActionAdapter.html">GUIActionAdapter</A>& aa)</B></TT> |
|---|
| 313 | <DL><DT><DD></DL><P> |
|---|
| 314 | <A NAME="handle"></A> |
|---|
| 315 | <A NAME="DOC.2.9.30"></A> |
|---|
| 316 | <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> |
|---|
| 317 | <DL><DT><DD></DL><P> |
|---|
| 318 | <A NAME="getUsage"></A> |
|---|
| 319 | <A NAME="DOC.2.9.31"></A> |
|---|
| 320 | <DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void getUsage(osg::ApplicationUsage& usage) const </B></TT> |
|---|
| 321 | <DD>Get the keyboard and mouse usage of this manipulator |
|---|
| 322 | <DL><DT><DD></DL><P></DL> |
|---|
| 323 | |
|---|
| 324 | <HR><DL><DT><B>This class has no child classes.</B></DL> |
|---|
| 325 | |
|---|
| 326 | <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> |
|---|
| 327 | <BR> |
|---|
| 328 | This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>. |
|---|
| 329 | </BODY> |
|---|
| 330 | </HTML> |
|---|