Sophie

Sophie

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

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: vtkLineWidget2 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>vtkLineWidget2 Class Reference</h1><!-- doxytag: class="vtkLineWidget2" --><!-- doxytag: inherits="vtkAbstractWidget" --><code>#include &lt;<a class="el" href="a05495.html">vtkLineWidget2.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkLineWidget2:</div>
<div class="dynsection">
<p><center><img src="a11842.png" border="0" usemap="#a11843" alt="Inheritance graph"></center>
<map name="a11843">
<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 vtkLineWidget2:</div>
<div class="dynsection">
<p><center><img src="a11844.png" border="0" usemap="#a11845" alt="Collaboration graph"></center>
<map name="a11845">
<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,375,3441,402"><area shape="rect" href="a00902.html" title="an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor..." alt="" coords="987,491,1141,518"><area shape="rect" href="a01091.html" title="manage contention for cursors and other resources" alt="" coords="1376,619,1525,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="1013,1018,1115,1044"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="593,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="2861,562,2989,588"><area shape="rect" href="a01833.html" title="abstract specification for Viewports" alt="" coords="2485,903,2579,930"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="1808,1710,1877,1736"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="613,1696,723,1723"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="1023,1631,1105,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="1185,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="1029,1392,1099,1419"><area shape="rect" href="a00998.html" title="represent and manipulate 4x4 transformation matrices" alt="" coords="619,1262,717,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,1153,315"><area shape="rect" href="a00469.html" title="a complete specification of a VTK event including all modifiers" alt="" coords="631,390,705,416"><area shape="rect" href="a01874.html" title="map widget events into callbacks" alt="" coords="1360,227,1541,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,381,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="2633,1242,2729,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,2273,712"><area shape="rect" href="a01481.html" title="a list of renderers" alt="" coords="1565,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,2269,1248"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1384,1608,1517,1635"><area shape="rect" href="a00956.html" title="a list of lights" alt="" coords="1967,1074,2097,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,2281,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="2125,1592,2288,1619"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="209,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,1713,1683"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="1785,1559,1900,1586"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1400,1558,1501,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,1537,1318"><area shape="rect" href="a00226.html" title="supports function callbacks" alt="" coords="591,339,745,366"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a11846.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
3D widget for manipulating a finite, straight line 
<p>
This 3D widget defines a straight line that can be interactively placed in a scene. The widget is assumed to consist of two parts: 1) two end points and 2) a straight line connecting the two points. (The representation paired with this widget determines the actual geometry of the widget.) The positioning of the two end points is facilitated by using vtkHandleWidgets to position the points.<p>
To use this widget, you generally pair it with a <a class="el" href="a00965.html" title="a class defining the representation for a vtkLineWidget2">vtkLineRepresentation</a> (or a subclass). Variuos options are available in the representation for controlling how the widget appears, and how the widget functions.<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>
 If one of the two end points are selected:
   LeftButtonPressEvent - activate the associated handle widget
   LeftButtonReleaseEvent - release the handle widget associated with the point
   MouseMoveEvent - move the point
 If the line is selected:
   LeftButtonPressEvent - activate a handle widget accociated with the line 
   LeftButtonReleaseEvent - release the handle widget associated with the line
   MouseMoveEvent - translate the line
 In all the cases, independent of what is picked, the widget responds to the 
 following VTK events:
   MiddleButtonPressEvent - translate the widget
   MiddleButtonReleaseEvent - release the widget
   RightButtonPressEvent - scale the widget's representation
   RightButtonReleaseEvent - stop scaling the widget
   MouseMoveEvent - scale (if right button) or move (if middle button) the widget
 </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 vtkLineWidget2's widget events: <pre>
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e4a814d268463067ab7dfcc47ddbd9619">vtkWidgetEvent::Select</a> -- some part of the widget has been selected
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e1e96356fd3ec75b8ee18e86bf4ba24d9">vtkWidgetEvent::EndSelect</a> -- the selection process has completed
   <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e4de3aa3412231d8536e62ddde5610a31">vtkWidgetEvent::Move</a> -- a request for slider motion has been invoked
 </pre></dd></dl>
<dl class="user" compact><dt><b>Event Bindings:</b></dt><dd>In turn, when these widget events are processed, the <a class="el" href="a00969.html" title="3D widget for manipulating a finite, straight line">vtkLineWidget2</a> invokes the following VTK events on itself (which observers can listen for): <pre>
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe51920c61b5ecd5e68068ec0d53dae020">vtkCommand::StartInteractionEvent</a> (on <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e4a814d268463067ab7dfcc47ddbd9619">vtkWidgetEvent::Select</a>)
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe3be316361b18c911f1655da2896b8556">vtkCommand::EndInteractionEvent</a> (on <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e1e96356fd3ec75b8ee18e86bf4ba24d9">vtkWidgetEvent::EndSelect</a>)
   <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fec29906f21d68334a1fb26f6c4fddef02">vtkCommand::InteractionEvent</a> (on <a class="el" href="a01875.html#e463729c80b835d1f03f0107be64a35e4de3aa3412231d8536e62ddde5610a31">vtkWidgetEvent::Move</a>)
 </pre></dd></dl>
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>Note that the widget can be picked even when it is "behind" other actors. This is an intended feature and not a bug.<p>
This class, and <a class="el" href="a00965.html" title="a class defining the representation for a vtkLineWidget2">vtkLineRepresentation</a>, are next generation VTK widgets. An earlier version of this functionality was defined in the class <a class="el" href="a00968.html" title="3D widget for manipulating a line">vtkLineWidget</a>.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00965.html" title="a class defining the representation for a vtkLineWidget2">vtkLineRepresentation</a> <a class="el" href="a00968.html" title="3D widget for manipulating a line">vtkLineWidget</a> <a class="el" href="a00075.html" title="an abstract superclass for 3D widgets">vtk3DWidget</a> <a class="el" href="a00861.html" title="3D widget for manipulating an infinite plane">vtkImplicitPlaneWidget</a> <a class="el" href="a00862.html" title="3D widget for manipulating an infinite plane">vtkImplicitPlaneWidget2</a></dd></dl>
<dl class="user" compact><dt><b>Events:</b></dt><dd><a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe3be316361b18c911f1655da2896b8556">vtkCommand::EndInteractionEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fec29906f21d68334a1fb26f6c4fddef02">vtkCommand::InteractionEvent</a> <a class="el" href="a00291.html#59a8690330ebcb1af6b66b0f3121f8fe014451a9f3dbfeba45c6c6c63b4c61eb">vtkCommand::MouseMoveEvent</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#59a8690330ebcb1af6b66b0f3121f8fe9f5bb78d69ea168492a544c1ebc5248c">vtkCommand::LeftButtonReleaseEvent</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_9.html#c2_vtk_t_vtkLineWidget2">vtkLineWidget2 (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a05495.html#l00099">99</a> of file <a class="el" href="a05495.html">vtkLineWidget2.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="a00969.html#a742ed447080a5b311fe0d42575cba54">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="a00969.html#1a351d0c06405dfe99c223d8209067db">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00969.html">vtkLineWidget2</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00969.html#a175ccd613d425ff61f626942969b822">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="a00969.html#431dc6de12c593e2859e121bf67cb327">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="a00969.html#03850ad2bce596b460c53f4547ffc514">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="a00969.html#de16ffd76ec44d7c995c3bed9e00f39a">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="a00969.html#aec96e0c3f3c8d0a34e59e58ea8a9319">SetEnabled</a> (int enabling)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00969.html#067048f41c5f3631ad8abf6ebdca5e66">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="a00969.html#26c738486fff464b864c6bfa20e4fc9b">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="a00969.html#29ed0677a855dbac45b94dfb43c71d46">SetRepresentation</a> (<a class="el" href="a00965.html">vtkLineRepresentation</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="a00969.html">vtkLineWidget2</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00969.html#5cb060a27ee148d268419da1697a8144">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="a00969.html#a5d981aeb1b0de8640d3a6bf01805ac1">_WidgetState</a> { <a class="el" href="a00969.html#a5d981aeb1b0de8640d3a6bf01805ac106cf0314e03afacd10b038d6788cec8b">Start</a> = 0, 
<a class="el" href="a00969.html#a5d981aeb1b0de8640d3a6bf01805ac1b14e8f56986a1d6996bc686f3598d07d">Active</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="a00969.html#cead2b16d26496f6c8fc192461d75048">vtkLineWidget2</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00969.html#6858cbbe0d8a1f6cde1a3c266572d1ba">~vtkLineWidget2</a> ()</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="a00969.html#f9db7725b1ad448ad777c4e545e7ac49">SelectAction</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="a00969.html#a98b587c2511eb3c424e540da2d9811b">TranslateAction</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="a00969.html#82593bde9d634cbb5cd166762d254a47">ScaleAction</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="a00969.html#4f03e5549d5f3a07feb5c0c9e79f2a5b">EndSelectAction</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="a00969.html#6a31e24382d82af746a6fd938be31fb7">MoveAction</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="a00969.html#bcd56c68b8a2dd90bc18bbbf8202e9ac">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="a00969.html#88e4e5c4f7a5b4949da551f53cb91022">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="a00969.html#14913017830cf8eef9ea7ed4a86f99bb">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="a00969.html#287a08f3e78b1c39dcb0254b6ee55a63">Point2Widget</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="a00969.html#d9459df3cbbebc2c534d92273e3efb5a">LineHandle</a></td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="a742ed447080a5b311fe0d42575cba54"></a><!-- doxytag: member="vtkLineWidget2::Superclass" ref="a742ed447080a5b311fe0d42575cba54" 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">vtkLineWidget2::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#5dfb7cfb6ea2ca3477c64da4d523f122">vtkAbstractWidget</a>.</p>

<p>Definition at line <a class="el" href="a05495.html#l00107">107</a> of file <a class="el" href="a05495.html">vtkLineWidget2.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="a5d981aeb1b0de8640d3a6bf01805ac1"></a><!-- doxytag: member="vtkLineWidget2::_WidgetState" ref="a5d981aeb1b0de8640d3a6bf01805ac1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00969.html#a5d981aeb1b0de8640d3a6bf01805ac1">vtkLineWidget2::_WidgetState</a><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="a5d981aeb1b0de8640d3a6bf01805ac106cf0314e03afacd10b038d6788cec8b"></a><!-- doxytag: member="Start" ref="a5d981aeb1b0de8640d3a6bf01805ac106cf0314e03afacd10b038d6788cec8b" args="" -->Start</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a5d981aeb1b0de8640d3a6bf01805ac1b14e8f56986a1d6996bc686f3598d07d"></a><!-- doxytag: member="Active" ref="a5d981aeb1b0de8640d3a6bf01805ac1b14e8f56986a1d6996bc686f3598d07d" args="" -->Active</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

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

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="cead2b16d26496f6c8fc192461d75048"></a><!-- doxytag: member="vtkLineWidget2::vtkLineWidget2" ref="cead2b16d26496f6c8fc192461d75048" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkLineWidget2::vtkLineWidget2           </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="6858cbbe0d8a1f6cde1a3c266572d1ba"></a><!-- doxytag: member="vtkLineWidget2::~vtkLineWidget2" ref="6858cbbe0d8a1f6cde1a3c266572d1ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkLineWidget2::~vtkLineWidget2           </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="5cb060a27ee148d268419da1697a8144"></a><!-- doxytag: member="vtkLineWidget2::New" ref="5cb060a27ee148d268419da1697a8144" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00969.html">vtkLineWidget2</a>* vtkLineWidget2::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 the object. 
<p>Reimplemented from <a class="el" href="a01084.html#4d5b227267c076d6f9e38483370b6612">vtkObject</a>.</p>

</div>
</div><p>
<a class="anchor" name="431dc6de12c593e2859e121bf67cb327"></a><!-- doxytag: member="vtkLineWidget2::GetClassName" ref="431dc6de12c593e2859e121bf67cb327" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkLineWidget2::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 <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#a0990a88953e65b835185ddfdb46ad10">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="1a351d0c06405dfe99c223d8209067db"></a><!-- doxytag: member="vtkLineWidget2::IsTypeOf" ref="1a351d0c06405dfe99c223d8209067db" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkLineWidget2::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 <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#28423a94f575623263cfaec0a5cfab69">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="03850ad2bce596b460c53f4547ffc514"></a><!-- doxytag: member="vtkLineWidget2::IsA" ref="03850ad2bce596b460c53f4547ffc514" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkLineWidget2::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 <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#60ecc6a288fb0cd44316343a01fcf736">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="a175ccd613d425ff61f626942969b822"></a><!-- doxytag: member="vtkLineWidget2::SafeDownCast" ref="a175ccd613d425ff61f626942969b822" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00969.html">vtkLineWidget2</a>* vtkLineWidget2::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 <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#231e8e291ebfd61185653d48729ae8ef">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="de16ffd76ec44d7c995c3bed9e00f39a"></a><!-- doxytag: member="vtkLineWidget2::PrintSelf" ref="de16ffd76ec44d7c995c3bed9e00f39a" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkLineWidget2::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 <a class="el" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> methods 
<p>Reimplemented from <a class="el" href="a00091.html#be6bd600bcf2fa4d3348b945e0c9f67b">vtkAbstractWidget</a>.</p>

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

<p>
Override superclasses' <a class="el" href="a00969.html#aec96e0c3f3c8d0a34e59e58ea8a9319">SetEnabled()</a> method because the line widget must enable its internal handle widgets. 
<p>Reimplemented from <a class="el" href="a00091.html#0da0171256058b829eb2d99ab75e793e">vtkAbstractWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="29ed0677a855dbac45b94dfb43c71d46"></a><!-- doxytag: member="vtkLineWidget2::SetRepresentation" ref="29ed0677a855dbac45b94dfb43c71d46" args="(vtkLineRepresentation *r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkLineWidget2::SetRepresentation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00965.html">vtkLineRepresentation</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="a05495.html#l00119">119</a> of file <a class="el" href="a05495.html">vtkLineWidget2.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="067048f41c5f3631ad8abf6ebdca5e66"></a><!-- doxytag: member="vtkLineWidget2::CreateDefaultRepresentation" ref="067048f41c5f3631ad8abf6ebdca5e66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkLineWidget2::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="26c738486fff464b864c6bfa20e4fc9b"></a><!-- doxytag: member="vtkLineWidget2::SetProcessEvents" ref="26c738486fff464b864c6bfa20e4fc9b" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkLineWidget2::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="f9db7725b1ad448ad777c4e545e7ac49"></a><!-- doxytag: member="vtkLineWidget2::SelectAction" ref="f9db7725b1ad448ad777c4e545e7ac49" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkLineWidget2::SelectAction           </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="a98b587c2511eb3c424e540da2d9811b"></a><!-- doxytag: member="vtkLineWidget2::TranslateAction" ref="a98b587c2511eb3c424e540da2d9811b" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkLineWidget2::TranslateAction           </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="82593bde9d634cbb5cd166762d254a47"></a><!-- doxytag: member="vtkLineWidget2::ScaleAction" ref="82593bde9d634cbb5cd166762d254a47" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkLineWidget2::ScaleAction           </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="4f03e5549d5f3a07feb5c0c9e79f2a5b"></a><!-- doxytag: member="vtkLineWidget2::EndSelectAction" ref="4f03e5549d5f3a07feb5c0c9e79f2a5b" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkLineWidget2::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="6a31e24382d82af746a6fd938be31fb7"></a><!-- doxytag: member="vtkLineWidget2::MoveAction" ref="6a31e24382d82af746a6fd938be31fb7" args="(vtkAbstractWidget *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void vtkLineWidget2::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>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="bcd56c68b8a2dd90bc18bbbf8202e9ac"></a><!-- doxytag: member="vtkLineWidget2::WidgetState" ref="bcd56c68b8a2dd90bc18bbbf8202e9ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00969.html#bcd56c68b8a2dd90bc18bbbf8202e9ac">vtkLineWidget2::WidgetState</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

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

<p>

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

</div>
</div><p>
<a class="anchor" name="14913017830cf8eef9ea7ed4a86f99bb"></a><!-- doxytag: member="vtkLineWidget2::Point1Widget" ref="14913017830cf8eef9ea7ed4a86f99bb" 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="a00969.html#14913017830cf8eef9ea7ed4a86f99bb">vtkLineWidget2::Point1Widget</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05495.html#l00148">148</a> of file <a class="el" href="a05495.html">vtkLineWidget2.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="287a08f3e78b1c39dcb0254b6ee55a63"></a><!-- doxytag: member="vtkLineWidget2::Point2Widget" ref="287a08f3e78b1c39dcb0254b6ee55a63" 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="a00969.html#287a08f3e78b1c39dcb0254b6ee55a63">vtkLineWidget2::Point2Widget</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05495.html#l00149">149</a> of file <a class="el" href="a05495.html">vtkLineWidget2.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="d9459df3cbbebc2c534d92273e3efb5a"></a><!-- doxytag: member="vtkLineWidget2::LineHandle" ref="d9459df3cbbebc2c534d92273e3efb5a" 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="a00969.html#d9459df3cbbebc2c534d92273e3efb5a">vtkLineWidget2::LineHandle</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a05495.html#l00150">150</a> of file <a class="el" href="a05495.html">vtkLineWidget2.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="a05495.html">vtkLineWidget2.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:15:51 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>