Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 9347541fe87a5ea3f3b8dbc50f660e8e > files > 270

libQGLViewer-devel-1.3.6-1mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libQGLViewer: ManipulatedCameraFrame class Reference</title>
<link href="qglviewer.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.3 -->
<div class="qindex"><a class="qindex" href="../index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Compound&nbsp;List</a> | <a class="qindex" href="functions.html">All&nbsp;functions</a> | <a class="qindex" doxygen="_cgi:http://www-imagis.imag.fr/cgi-bin/DOXYGEN/search.cgi" href="http://www-imagis.imag.fr/cgi-bin/DOXYGEN/search.cgi">Search</a></div>
<h1>ManipulatedCameraFrame Class Reference</h1>A <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> <a class="el" href="classqglviewer_1_1Frame.html">Frame</a> that can be rotated and translated with the mouse.  
<a href="#_details">More...</a>
<p>
Inherits <a class="el" href="classqglviewer_1_1ManipulatedFrame.html">ManipulatedFrame</a>.
<p>
<a href="classqglviewer_1_1ManipulatedCameraFrame-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Fly parameters</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_0">flySpeed</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classqglviewer_1_1Vec.html">Vec</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_1">flyUpVector</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_2">setFlySpeed</a> (const float s)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_3">setFlyUpVector</a> (const <a class="el" href="classqglviewer_1_1Vec.html">Vec</a> &amp;up)</td></tr>

<tr><td colspan=2><br><h2>XML representation</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual QDomElement&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z63_0">domElement</a> (const QString &amp;name, QDomDocument &amp;doc) const</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z63_1">initFromDOMElement</a> (const QDomElement &amp;de)</td></tr>

<tr><td colspan=2><br><h2>Mouse event handlers</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z65_0">mouseReleaseEvent</a> (QMouseEvent *const, <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z65_1">mouseMoveEvent</a> (QMouseEvent *const, const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z65_2">wheelEvent</a> (QWheelEvent *const, const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const camera)</td></tr>

<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#a0">ManipulatedCameraFrame</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#a1">~ManipulatedCameraFrame</a> ()</td></tr>

<tr><td colspan=2><br><h2>Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#j0">updateFrameInFlyMode</a> ()</td></tr>

<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#b0">updateFlyUpVector</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classqglviewer_1_1Quaternion.html">Quaternion</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#b1">quaternionFromThetaPhi</a> (const int x, const int y, const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const camera)</td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#b2">startAction</a> (int ma, bool withConstraint=true)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> <a class="el" href="classqglviewer_1_1Frame.html">Frame</a> that can be rotated and translated with the mouse. 
<p>
A <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> is a specialization of a <a class="el" href="classqglviewer_1_1ManipulatedFrame.html">ManipulatedFrame</a>, designed for associated <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> frames. All mouse motions are basically interpreted in a negated way: when the mouse goes to the right, the <a class="el" href="classqglviewer_1_1ManipulatedFrame.html">ManipulatedFrame</a> translation goes to the right, while the <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> has to go to the <em>left</em>, so that the <em>scene</em> seems to move to the right.<p>
See the <a href="../mouse.html">mouse page</a> for a description of the possible displacements that can be performed using the mouse.<p>
The <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z69_0">ManipulatedFrame::isManipulated()</a> function is used to call <a class="el" href="classQGLViewer.html#b7">QGLViewer::fastDraw()</a> instead of <a class="el" href="classQGLViewer.html#b6">QGLViewer::draw()</a> for interactive scene displays when the camera is manipulated (see the <a href="../examples/fastDraw.html">fastDraw</a> example).<p>
A <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> can be used as the <a class="el" href="classQGLViewer.html#z89_1">QGLViewer::manipulatedFrame()</a> (for instance, with two viewers, it is possible to manipulate the first viewer camera is the second viewer). In that case, the mouse response will be the one of a <a class="el" href="classqglviewer_1_1ManipulatedFrame.html">ManipulatedFrame</a>, as one would expect.<p>
<a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> are not automatically added to the <a class="el" href="classqglviewer_1_1MouseGrabber.html#z79_4">MouseGrabber::MouseGrabberPool()</a> as <a class="el" href="classqglviewer_1_1ManipulatedFrame.html">ManipulatedFrame</a> are. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="qglviewer::ManipulatedCameraFrame::ManipulatedCameraFrame"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates a default <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a>. Created object is <a class="el" href="classqglviewer_1_1MouseGrabber.html#z79_2">removeFromMouseGrabberPool()</a>.     </td>
  </tr>
</table>
<a name="a1" doxytag="qglviewer::ManipulatedCameraFrame::~ManipulatedCameraFrame"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual ~<a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Virtual destructor. Empty.     </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="z63_0" doxytag="qglviewer::ManipulatedCameraFrame::domElement"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> QDomElement domElement </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QString &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>QDomDocument &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>doc</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Creates an XML QDomElement that represents the <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a>. Add to <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z71_0">ManipulatedFrame::domElement()</a> the <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> specific informations. <code>name</code> is the name of the QDomElement tag. You need to provide the QDomDocument <code>doc</code> that will hold the resulting element.<p>
Use <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z63_1">initFromDOMElement()</a> to restore the <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> state from the resulting domElement. 
<p>
Reimplemented from <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z71_0">ManipulatedFrame</a>.    </td>
  </tr>
</table>
<a name="z61_0" doxytag="qglviewer::ManipulatedCameraFrame::flySpeed"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> float flySpeed </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the current fly speed set with <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_2">setFlySpeed()</a>. Set according to the <a class="el" href="classQGLViewer.html#z87_1">QGLViewer::sceneRadius()</a> in <a class="el" href="classQGLViewer.html#z87_6">QGLViewer::setSceneRadius()</a>.     </td>
  </tr>
</table>
<a name="z61_1" doxytag="qglviewer::ManipulatedCameraFrame::flyUpVector"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classqglviewer_1_1Vec.html">Vec</a> flyUpVector </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const<code> [inline]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Return the up vector used in ManipulatedFrame::MOVE_FORWARD and ManipulatedFrame::MOVE_BACKWARD modes. This vector is normal to the displacement horizontal plane. Horizontal displacements of the mouse rotates the frame around this vector. It is expressed in the world coordinate system. Vertical displacements of the mouse rotate around the <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> <code>Y</code> axis.     </td>
  </tr>
</table>
<a name="z63_1" doxytag="qglviewer::ManipulatedCameraFrame::initFromDOMElement"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void initFromDOMElement </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const QDomElement &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>de</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Restore the <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html">ManipulatedCameraFrame</a> state from a QDomElement created by <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z63_0">domElement()</a>. See also <a class="el" href="classqglviewer_1_1Frame.html#z49_1">Frame::initFromDOMElement()</a>. 
<p>
Reimplemented from <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z71_1">ManipulatedFrame</a>.    </td>
  </tr>
</table>
<a name="z65_1" doxytag="qglviewer::ManipulatedCameraFrame::mouseMoveEvent"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void mouseMoveEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>
          <td class="mdname" nowrap> <em>const</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>const</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Move the camera frame according to the mouse motion. The camera is given as an argument so that its parameters (width and height of the window, fieldOfView) are available in order to fit the mouse motion and the display. Emits <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#l0">manipulated()</a>. 
<p>
Reimplemented from <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z73_2">ManipulatedFrame</a>.    </td>
  </tr>
</table>
<a name="z65_0" doxytag="qglviewer::ManipulatedCameraFrame::mouseReleaseEvent"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void mouseReleaseEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>
          <td class="mdname" nowrap> <em>const</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>const</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
When the user releases the mouse button, the manipulatedFrame action is stopped. 
<p>
Reimplemented from <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z73_1">ManipulatedFrame</a>.    </td>
  </tr>
</table>
<a name="b1" doxytag="qglviewer::ManipulatedCameraFrame::quaternionFromThetaPhi"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classqglviewer_1_1Quaternion.html">Quaternion</a> quaternionFromThetaPhi </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const int&nbsp;</td>
          <td class="mdname" nowrap> <em>x</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const int&nbsp;</td>
          <td class="mdname" nowrap> <em>y</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const&nbsp;</td>
          <td class="mdname" nowrap> <em>camera</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Set lastQuat according to the mouse motion. Simple Theta-Phi inferred from the X-flyUpVector() axis.     </td>
  </tr>
</table>
<a name="z61_2" doxytag="qglviewer::ManipulatedCameraFrame::setFlySpeed"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void setFlySpeed </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const float&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, slot]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
When a ManipulatedFrame::MOVE_FORWARD or ManipulatedFrame::MOVE_BACKWARD action is produced by the mouse, this value tunes the speed of the displacement. Current value is given by <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_0">flySpeed()</a>. See the <a href="../mouse.html">mouse page</a> and <a class="el" href="classQGLViewer.html#z107_2">QGLViewer::setMouseBinding()</a> for details.     </td>
  </tr>
</table>
<a name="z61_3" doxytag="qglviewer::ManipulatedCameraFrame::setFlyUpVector"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void setFlyUpVector </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classqglviewer_1_1Vec.html">Vec</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>up</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline, slot]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Defines the fly up vector (used in MOVE_FORWARD and MOVE_BACKWARD mode), defined in the world coordinate system. See <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_1">flyUpVector()</a>.     </td>
  </tr>
</table>
<a name="b2" doxytag="qglviewer::ManipulatedCameraFrame::startAction"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void startAction </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname" nowrap> <em>ma</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>bool&nbsp;</td>
          <td class="mdname" nowrap> <em>withConstraint</em> = true</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a name="b0" doxytag="qglviewer::ManipulatedCameraFrame::updateFlyUpVector"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void updateFlyUpVector </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This function will be called by the camera when the camera orientation is changed, so that the flyUpVector (private) is changed accordingly. You should not need to call this function.     </td>
  </tr>
</table>
<a name="j0" doxytag="qglviewer::ManipulatedCameraFrame::updateFrameInFlyMode"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void updateFrameInFlyMode </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected, slot]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Called for continuous frame motion in fly mode (see ManipulatedFrame::MOVE_FORWARD). Emits <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#l0">manipulated()</a>.     </td>
  </tr>
</table>
<a name="z65_2" doxytag="qglviewer::ManipulatedCameraFrame::wheelEvent"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void wheelEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">QWheelEvent *&nbsp;</td>
          <td class="mdname" nowrap> <em>const</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classqglviewer_1_1Camera.html">Camera</a> *const&nbsp;</td>
          <td class="mdname" nowrap> <em>camera</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [protected, virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The wheel behavior depends on the wheel binded action. Current possible actions are ZOOM, MOVE_FORWARD, MOVE_BACKWARD. See <a class="el" href="classQGLViewer.html#z107_9">QGLViewer::setWheelBinding()</a> to customize the binding.<p>
ZOOM speeds depends on <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z67_3">wheelSensitivity()</a> while MOVE_FORWARD and MOVE_BACKWARD depend on <a class="el" href="classqglviewer_1_1ManipulatedCameraFrame.html#z61_0">flySpeed()</a>.<p>
Depending on your system configuration, you may have to actually <em>press</em> the wheel while wheeling. 
<p>
Reimplemented from <a class="el" href="classqglviewer_1_1ManipulatedFrame.html#z73_3">ManipulatedFrame</a>.    </td>
  </tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Wed Feb 11 17:22:07 2004 for libQGLViewer by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.3 </small></address>
</body>
</html>