Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 433

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>VTK: vtkDistanceWidget Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkDistanceWidget Class Reference</h1><!-- doxytag: class="vtkDistanceWidget" --><!-- doxytag: inherits="vtkAbstractWidget" --><code>#include &lt;<a class="el" href="a05477.html">vtkDistanceWidget.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkDistanceWidget:</div>
<div class="dynsection">
<p><center><img src="a09313.png" border="0" usemap="#a09314" alt="Inheritance graph"></center>
<map name="a09314">
<area shape="rect" href="a00091.html" title="define the API for widget / widget representation" alt="" coords="16,229,149,256"><area shape="rect" href="a00902.html" title="an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor..." alt="" coords="5,155,160,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="43,80,123,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="28,5,137,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkDistanceWidget:</div>
<div class="dynsection">
<p><center><img src="a09315.png" border="0" usemap="#a09316" alt="Collaboration graph"></center>
<map name="a09316">
<area shape="rect" href="a00091.html" title="define the API for widget / widget representation" alt="" coords="3131,324,3264,351"><area shape="rect" href="a00679.html" title="a general widget for moving handles" alt="" coords="3316,359,3442,386"><area shape="rect" href="a00902.html" title="an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor..." alt="" coords="987,491,1142,518"><area shape="rect" href="a01091.html" title="manage contention for cursors and other resources" alt="" coords="1376,619,1526,646"><area shape="rect" href="a01491.html" title="platform&#45;independent render window interaction including picking and frame rate control..." alt="" coords="1747,568,1939,595"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="260,1088,340,1115"><area shape="rect" href="a01886.html" title="window superclass for vtkRenderWindow" alt="" coords="1799,720,1887,747"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1014,1018,1115,1044"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="594,1088,743,1115"><area shape="rect" href="a01150.html" title="An adapter between a vtkPainter and a rendering device." alt="" coords="771,779,944,806"><area shape="rect" href="a00086.html" title="define API for picking subclasses" alt="" coords="2862,562,2990,588"><area shape="rect" href="a01833.html" title="abstract specification for Viewports" alt="" coords="2486,903,2579,930"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="1808,1710,1878,1736"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="614,1696,723,1723"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="1023,1631,1106,1658"><area shape="rect" href="a00681.html" title="manager for OpenGL&#45;based selection." alt="" coords="2851,1288,3000,1315"><area shape="rect" href="a01482.html" title="Render the props of a vtkRenderer." alt="" coords="1186,1392,1335,1419"><area shape="rect" href="a01485.html" title="Perform part of the rendering of a vtkRenderer." alt="" coords="800,1139,915,1166"><area shape="rect" href="a00954.html" title="a virtual light for 3D rendering" alt="" coords="1030,1392,1099,1419"><area shape="rect" href="a00998.html" title="represent and manipulate 4x4 transformation matrices" alt="" coords="619,1262,718,1288"><area shape="rect" href="a00227.html" title="a virtual camera for 3D rendering" alt="" coords="1799,1323,1887,1350"><area shape="rect" href="a01876.html" title="map VTK events into widget events" alt="" coords="975,288,1154,315"><area shape="rect" href="a00469.html" title="a complete specification of a VTK event including all modifiers" alt="" coords="631,390,706,416"><area shape="rect" href="a01874.html" title="map widget events into callbacks" alt="" coords="1360,227,1542,254"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,1088,116,1115"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="219,1723,382,1750"><area shape="rect" href="a00291.html" title="superclass for callback/observer methods" alt="" coords="248,647,352,674"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="7,1616,116,1643"><area shape="rect" href="a01480.html" title="abstract specification for renderers" alt="" coords="2634,1242,2730,1268"><area shape="rect" href="a01877.html" title="abstract class defines interface between the widget and widget representation classes..." alt="" coords="2839,1903,3012,1930"><area shape="rect" href="a01489.html" title="create a window for renderers to draw into" alt="" coords="2140,686,2274,712"><area shape="rect" href="a01481.html" title="a list of renderers" alt="" coords="1566,880,1723,907"><area shape="rect" href="a01321.html" title="a list of Props" alt="" coords="1779,936,1907,963"><area shape="rect" href="a00143.html" title="a list of nodes that form an assembly path" alt="" coords="2144,1222,2270,1248"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1384,1608,1518,1635"><area shape="rect" href="a00956.html" title="a list of lights" alt="" coords="1967,1074,2098,1100"><area shape="rect" href="a00346.html" title="a list of Cullers" alt="" coords="1964,1107,2100,1134"><area shape="rect" href="a00094.html" title="a list of 2D actors" alt="" coords="2132,947,2282,974"><area shape="rect" href="a00095.html" title="a list of actors" alt="" coords="2319,1043,2452,1070"><area shape="rect" href="a01841.html" title="a list of volumes" alt="" coords="2312,986,2459,1012"><area shape="rect" href="a00717.html" title="DEPRECATED A vtkPolyDataPainter that colors each polygon with a color coded integer..." alt="" coords="2126,1592,2288,1619"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="210,1831,391,1858"><area shape="rect" href="a01723.html" title="describes linear transformations via a 4x4 matrix" alt="" coords="1399,1190,1503,1216"><area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="1575,1656,1714,1683"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1786,1559,1900,1586"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1400,1558,1502,1584"><area shape="rect" href="a00696.html" title="superclass for homogeneous transformations" alt="" coords="968,1262,1160,1288"><area shape="rect" href="a01207.html" title="describes a 4x4 matrix transformation" alt="" coords="1364,1291,1538,1318"><area shape="rect" href="a00226.html" title="supports function callbacks" alt="" coords="591,339,746,366"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a09317.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
measure the distance between two points 
<p>
The <a class="el" href="a00430.html" title="measure the distance between two points">vtkDistanceWidget</a> is used to measure the distance between two points. The two end points can be positioned independently, and when they are released, a special PlacePointEvent is invoked so that special operations may be take to reposition the point (snap to grid, etc.) The widget has two different modes of interaction: when initially defined (i.e., placing the two points) and then a manipulate mode (adjusting the position of the two points).<p>
To use this widget, specify an instance of <a class="el" href="a00430.html" title="measure the distance between two points">vtkDistanceWidget</a> and a representation (a subclass of <a class="el" href="a00428.html" title="represent the vtkDistanceWidget">vtkDistanceRepresentation</a>). The widget is implemented using two instances of <a class="el" href="a00679.html" title="a general widget for moving handles">vtkHandleWidget</a> which are used to position the end points of the line. The representations for these two handle widgets are provided by the <a class="el" href="a00428.html" title="represent the vtkDistanceWidget">vtkDistanceRepresentation</a>.<p>
<dl class="user" compact><dt><b>Event Bindings:</b></dt><dd>By default, the widget responds to the following VTK events (i.e., it watches the <a class="el" href="a01491.html" title="platform-independent render window interaction including picking and frame rate control...">vtkRenderWindowInteractor</a> for these events): <pre>
   LeftButtonPressEvent - add a point or select a handle
   MouseMoveEvent - position the second point or move a handle
   LeftButtonReleaseEvent - release the handle
 </pre></dd></dl>
<dl class="user" compact><dt><b>Event Bindings:</b></dt><dd>Note that the event bindings described above can be changed using this class's <a class="el" href="a01876.html" title="map VTK events into widget events">vtkWidgetEventTranslator</a>. This class translates VTK events into the vtkDistanceWidget's widget events: <pre>
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e1dc51703e7ff7498a16cb9e9a3061b68">vtkWidgetEvent::AddPoint</a> -- add one point; depending on the state
                               it may the first or second point added. Or,
                               if near a handle, select the handle.
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e4de3aa3412231d8536e62ddde5610a31">vtkWidgetEvent::Move</a> -- move the second point or handle depending on the state.
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e1e96356fd3ec75b8ee18e86bf4ba24d9">vtkWidgetEvent::EndSelect</a> -- the handle manipulation process has completed.
 </pre></dd></dl>
<dl class="user" compact><dt><b>Event Bindings:</b></dt><dd>This widget invokes the following VTK events on itself (which observers can listen for): <pre>
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe51920c61b5ecd5e68068ec0d53dae020">vtkCommand::StartInteractionEvent</a> (beginning to interact)
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe3be316361b18c911f1655da2896b8556">vtkCommand::EndInteractionEvent</a> (completing interaction)
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fec29906f21d68334a1fb26f6c4fddef02">vtkCommand::InteractionEvent</a> (moving after selecting something)
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe4d0a85442ed4e4f44030f65ad5b95904">vtkCommand::PlacePointEvent</a> (after point is positioned;
                                call data includes handle id (0,1))
 </pre></dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00679.html" title="a general widget for moving handles">vtkHandleWidget</a></dd></dl>
<dl class="user" compact><dt><b>Events:</b></dt><dd><a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe80169e81bad5684448ec6d58cd2a19fa">vtkCommand::DisableEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe3be316361b18c911f1655da2896b8556">vtkCommand::EndInteractionEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe014451a9f3dbfeba45c6c6c63b4c61eb">vtkCommand::MouseMoveEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fec29906f21d68334a1fb26f6c4fddef02">vtkCommand::InteractionEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8feff1e2e83f33b3c331ec4b6ccd1eb98ce">vtkCommand::EnableEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8febf5bb1f44f59aa539be7d61e42693923">vtkCommand::LeftButtonPressEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe51920c61b5ecd5e68068ec0d53dae020">vtkCommand::StartInteractionEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe4d0a85442ed4e4f44030f65ad5b95904">vtkCommand::PlacePointEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe9f5bb78d69ea168492a544c1ebc5248c">vtkCommand::LeftButtonReleaseEvent</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_4.html#c2_vtk_t_vtkDistanceWidget">vtkDistanceWidget (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a05477.html#l00084">84</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a00091.html">vtkAbstractWidget</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#7efa27a689aa0d60ff8ba579df829182">Superclass</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#2d77122ceaebd8327068cdc6cc07f663">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00430.html">vtkDistanceWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#67591c613cb279bc679366a2a046c63f">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#7ff3b35e4707af472a017fd208871574">GetClassName</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#cc712e7013dca513e9c0bd60c46b8b05">IsA</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#6a09c19165410fb86c40b4598a9ae0b0">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</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="a00430.html#83ea4de68fd9c1708e875e470bfe576f">SetEnabled</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#f10ca4e2db56cc71a05297681251ad1f">CreateDefaultRepresentation</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#f02c470cea35db34a82e6efa173b39ca">SetProcessEvents</a> (int)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#5394a5a2f22156ba00958bcfdc4b172c">SetRepresentation</a> (<a class="el" href="a00428.html">vtkDistanceRepresentation</a> *r)</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00430.html">vtkDistanceWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#b1bcab642ace95677d2355a409346cf2">New</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="a00430.html#6ccacc11e9d2f9f7623058ee05aaba21424c1e5993e5af7dee141bf668645fb4">Start</a> = 0, 
<a class="el" href="a00430.html#6ccacc11e9d2f9f7623058ee05aaba2143dfaf87fe975e0da7efed0053a4192b">Define</a>, 
<a class="el" href="a00430.html#6ccacc11e9d2f9f7623058ee05aaba21fad3ee2ebe8c729db9faa0cac9cedf96">Manipulate</a>
 }</td></tr>

<tr><td colspan="2"><br><h2>Protected 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="a00430.html#6dddaf40d117647b75638baad261d661">vtkDistanceWidget</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#441a45d062fb9e3cad79d3d1b08de583">~vtkDistanceWidget</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#8e6766fb8f606a0a0889fd43e6de2550">StartDistanceInteraction</a> (int handleNum)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#97a6f88dcaeb7c1fb9c5143bd8f5446e">DistanceInteraction</a> (int handleNum)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#5560d602ba600e15b36eb00c599efb1b">EndDistanceInteraction</a> (int handleNum)</td></tr>

<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#e9b31cb95722844dc9ae53be30fba030">AddPointAction</a> (<a class="el" href="a00091.html">vtkAbstractWidget</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#bf2eb19d0850128b9d49bf507e5c71c3">MoveAction</a> (<a class="el" href="a00091.html">vtkAbstractWidget</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#460afabf3170ff699eaff7e757dfc64f">EndSelectAction</a> (<a class="el" href="a00091.html">vtkAbstractWidget</a> *)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#fcef20745a42ec793117c871e5871036">WidgetState</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#3de62e2b8ffd3880a7424703afee3573">CurrentHandle</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00679.html">vtkHandleWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#91b54c89d2fbc7909c98817e0a0dc29e">Point1Widget</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00679.html">vtkHandleWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#8bd07bb3b52ccb63ab2e3be661899e60">Point2Widget</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">vtkDistanceWidgetCallback *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#96af71af361474384b37ba10fc6de645">DistanceWidgetCallback1</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">vtkDistanceWidgetCallback *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#ae2e864fcdc04aed5144300782beb518">DistanceWidgetCallback2</a></td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00430.html#04755aff56333ef76068f8f0e893a75a">vtkDistanceWidgetCallback</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="7efa27a689aa0d60ff8ba579df829182"></a><!-- doxytag: member="vtkDistanceWidget::Superclass" ref="7efa27a689aa0d60ff8ba579df829182" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00091.html">vtkAbstractWidget</a> <a class="el" href="a00091.html">vtkDistanceWidget::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#5dfb7cfb6ea2ca3477c64da4d523f122">vtkAbstractWidget</a>.</p>

<p>Definition at line <a class="el" href="a05477.html#l00092">92</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="6ccacc11e9d2f9f7623058ee05aaba21"></a><!-- doxytag: member="vtkDistanceWidget::@72" ref="6ccacc11e9d2f9f7623058ee05aaba21" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="6ccacc11e9d2f9f7623058ee05aaba21424c1e5993e5af7dee141bf668645fb4"></a><!-- doxytag: member="Start" ref="6ccacc11e9d2f9f7623058ee05aaba21424c1e5993e5af7dee141bf668645fb4" args="" -->Start</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6ccacc11e9d2f9f7623058ee05aaba2143dfaf87fe975e0da7efed0053a4192b"></a><!-- doxytag: member="Define" ref="6ccacc11e9d2f9f7623058ee05aaba2143dfaf87fe975e0da7efed0053a4192b" args="" -->Define</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="6ccacc11e9d2f9f7623058ee05aaba21fad3ee2ebe8c729db9faa0cac9cedf96"></a><!-- doxytag: member="Manipulate" ref="6ccacc11e9d2f9f7623058ee05aaba21fad3ee2ebe8c729db9faa0cac9cedf96" args="" -->Manipulate</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a05477.html#l00123">123</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="6dddaf40d117647b75638baad261d661"></a><!-- doxytag: member="vtkDistanceWidget::vtkDistanceWidget" ref="6dddaf40d117647b75638baad261d661" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDistanceWidget::vtkDistanceWidget           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="441a45d062fb9e3cad79d3d1b08de583"></a><!-- doxytag: member="vtkDistanceWidget::~vtkDistanceWidget" ref="441a45d062fb9e3cad79d3d1b08de583" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDistanceWidget::~vtkDistanceWidget           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b1bcab642ace95677d2355a409346cf2"></a><!-- doxytag: member="vtkDistanceWidget::New" ref="b1bcab642ace95677d2355a409346cf2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00430.html">vtkDistanceWidget</a>* vtkDistanceWidget::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Instantiate this class. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="7ff3b35e4707af472a017fd208871574"></a><!-- doxytag: member="vtkDistanceWidget::GetClassName" ref="7ff3b35e4707af472a017fd208871574" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkDistanceWidget::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#a0990a88953e65b835185ddfdb46ad10">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="2d77122ceaebd8327068cdc6cc07f663"></a><!-- doxytag: member="vtkDistanceWidget::IsTypeOf" ref="2d77122ceaebd8327068cdc6cc07f663" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkDistanceWidget::IsTypeOf           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#28423a94f575623263cfaec0a5cfab69">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="cc712e7013dca513e9c0bd60c46b8b05"></a><!-- doxytag: member="vtkDistanceWidget::IsA" ref="cc712e7013dca513e9c0bd60c46b8b05" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkDistanceWidget::IsA           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>type</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#60ecc6a288fb0cd44316343a01fcf736">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="67591c613cb279bc679366a2a046c63f"></a><!-- doxytag: member="vtkDistanceWidget::SafeDownCast" ref="67591c613cb279bc679366a2a046c63f" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00430.html">vtkDistanceWidget</a>* vtkDistanceWidget::SafeDownCast           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> *&nbsp;</td>
          <td class="paramname"> <em>o</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#231e8e291ebfd61185653d48729ae8ef">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="6a09c19165410fb86c40b4598a9ae0b0"></a><!-- doxytag: member="vtkDistanceWidget::PrintSelf" ref="6a09c19165410fb86c40b4598a9ae0b0" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::PrintSelf           </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a>&nbsp;</td>
          <td class="paramname"> <em>indent</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard methods for a VTK class. 
<p>Reimplemented from <a class="el" href="a00091.html#be6bd600bcf2fa4d3348b945e0c9f67b">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="83ea4de68fd9c1708e875e470bfe576f"></a><!-- doxytag: member="vtkDistanceWidget::SetEnabled" ref="83ea4de68fd9c1708e875e470bfe576f" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkDistanceWidget::SetEnabled           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The method for activiating and deactiviating this widget. This method must be overridden because it is a composite widget and does more than its superclasses' <a class="el" href="a00091.html#0da0171256058b829eb2d99ab75e793e">vtkAbstractWidget::SetEnabled()</a> method. 
<p>Reimplemented from <a class="el" href="a00091.html#0da0171256058b829eb2d99ab75e793e">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="5394a5a2f22156ba00958bcfdc4b172c"></a><!-- doxytag: member="vtkDistanceWidget::SetRepresentation" ref="5394a5a2f22156ba00958bcfdc4b172c" args="(vtkDistanceRepresentation *r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::SetRepresentation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00428.html">vtkDistanceRepresentation</a> *&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify an instance of <a class="el" href="a01877.html" title="abstract class defines interface between the widget and widget representation classes...">vtkWidgetRepresentation</a> used to represent this widget in the scene. Note that the representation is a subclass of <a class="el" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> so it can be added to the renderer independent of the widget. 
<p>Definition at line <a class="el" href="a05477.html#l00105">105</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="f10ca4e2db56cc71a05297681251ad1f"></a><!-- doxytag: member="vtkDistanceWidget::CreateDefaultRepresentation" ref="f10ca4e2db56cc71a05297681251ad1f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::CreateDefaultRepresentation           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create the default widget representation if one is not set. 
<p>Implements <a class="el" href="a00091.html#64bf185aaaff512b32910091cc5ea924">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="f02c470cea35db34a82e6efa173b39ca"></a><!-- doxytag: member="vtkDistanceWidget::SetProcessEvents" ref="f02c470cea35db34a82e6efa173b39ca" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkDistanceWidget::SetProcessEvents           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Methods to change the whether the widget responds to interaction. Overridden to pass the state to component widgets. 
<p>Reimplemented from <a class="el" href="a00091.html#7abc5018397143c18c52eeaa3be31455">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="e9b31cb95722844dc9ae53be30fba030"></a><!-- doxytag: member="vtkDistanceWidget::AddPointAction" ref="e9b31cb95722844dc9ae53be30fba030" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkDistanceWidget::AddPointAction           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00091.html">vtkAbstractWidget</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bf2eb19d0850128b9d49bf507e5c71c3"></a><!-- doxytag: member="vtkDistanceWidget::MoveAction" ref="bf2eb19d0850128b9d49bf507e5c71c3" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkDistanceWidget::MoveAction           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00091.html">vtkAbstractWidget</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="460afabf3170ff699eaff7e757dfc64f"></a><!-- doxytag: member="vtkDistanceWidget::EndSelectAction" ref="460afabf3170ff699eaff7e757dfc64f" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkDistanceWidget::EndSelectAction           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00091.html">vtkAbstractWidget</a> *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8e6766fb8f606a0a0889fd43e6de2550"></a><!-- doxytag: member="vtkDistanceWidget::StartDistanceInteraction" ref="8e6766fb8f606a0a0889fd43e6de2550" args="(int handleNum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::StartDistanceInteraction           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>handleNum</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="97a6f88dcaeb7c1fb9c5143bd8f5446e"></a><!-- doxytag: member="vtkDistanceWidget::DistanceInteraction" ref="97a6f88dcaeb7c1fb9c5143bd8f5446e" args="(int handleNum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::DistanceInteraction           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>handleNum</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="5560d602ba600e15b36eb00c599efb1b"></a><!-- doxytag: member="vtkDistanceWidget::EndDistanceInteraction" ref="5560d602ba600e15b36eb00c599efb1b" args="(int handleNum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkDistanceWidget::EndDistanceInteraction           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>handleNum</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="04755aff56333ef76068f8f0e893a75a"></a><!-- doxytag: member="vtkDistanceWidget::vtkDistanceWidgetCallback" ref="04755aff56333ef76068f8f0e893a75a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class vtkDistanceWidgetCallback<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00147">147</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="fcef20745a42ec793117c871e5871036"></a><!-- doxytag: member="vtkDistanceWidget::WidgetState" ref="fcef20745a42ec793117c871e5871036" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00430.html#fcef20745a42ec793117c871e5871036">vtkDistanceWidget::WidgetState</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00125">125</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3de62e2b8ffd3880a7424703afee3573"></a><!-- doxytag: member="vtkDistanceWidget::CurrentHandle" ref="3de62e2b8ffd3880a7424703afee3573" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00430.html#3de62e2b8ffd3880a7424703afee3573">vtkDistanceWidget::CurrentHandle</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00126">126</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="91b54c89d2fbc7909c98817e0a0dc29e"></a><!-- doxytag: member="vtkDistanceWidget::Point1Widget" ref="91b54c89d2fbc7909c98817e0a0dc29e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00679.html">vtkHandleWidget</a>* <a class="el" href="a00430.html#91b54c89d2fbc7909c98817e0a0dc29e">vtkDistanceWidget::Point1Widget</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00135">135</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8bd07bb3b52ccb63ab2e3be661899e60"></a><!-- doxytag: member="vtkDistanceWidget::Point2Widget" ref="8bd07bb3b52ccb63ab2e3be661899e60" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00679.html">vtkHandleWidget</a>* <a class="el" href="a00430.html#8bd07bb3b52ccb63ab2e3be661899e60">vtkDistanceWidget::Point2Widget</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00136">136</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="96af71af361474384b37ba10fc6de645"></a><!-- doxytag: member="vtkDistanceWidget::DistanceWidgetCallback1" ref="96af71af361474384b37ba10fc6de645" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDistanceWidgetCallback* <a class="el" href="a00430.html#96af71af361474384b37ba10fc6de645">vtkDistanceWidget::DistanceWidgetCallback1</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00137">137</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ae2e864fcdc04aed5144300782beb518"></a><!-- doxytag: member="vtkDistanceWidget::DistanceWidgetCallback2" ref="ae2e864fcdc04aed5144300782beb518" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkDistanceWidgetCallback* <a class="el" href="a00430.html#ae2e864fcdc04aed5144300782beb518">vtkDistanceWidget::DistanceWidgetCallback2</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05477.html#l00138">138</a> of file <a class="el" href="a05477.html">vtkDistanceWidget.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Widgets/<a class="el" href="a05477.html">vtkDistanceWidget.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:00:33 2009 for VTK by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>