Sophie

Sophie

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

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: vtkTextWidget 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>vtkTextWidget Class Reference</h1><!-- doxytag: class="vtkTextWidget" --><!-- doxytag: inherits="vtkBorderWidget" --><code>#include &lt;<a class="el" href="a05536.html">vtkTextWidget.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkTextWidget:</div>
<div class="dynsection">
<p><center><img src="a15179.png" border="0" usemap="#a15180" alt="Inheritance graph"></center>
<map name="a15180">
<area shape="rect" href="a00192.html" title="place a border around a 2D rectangular region" alt="" coords="21,304,144,331"><area shape="rect" href="a00091.html" title="define the API for widget / widget representation" alt="" coords="16,230,149,256"><area shape="rect" href="a00902.html" title="an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor..." alt="" coords="5,155,160,182"><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,6,137,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkTextWidget:</div>
<div class="dynsection">
<p><center><img src="a15181.png" border="0" usemap="#a15182" alt="Collaboration graph"></center>
<map name="a15182">
<area shape="rect" href="a00192.html" title="place a border around a 2D rectangular region" alt="" coords="2587,1088,2709,1115"><area shape="rect" href="a00091.html" title="define the API for widget / widget representation" alt="" coords="2581,1011,2715,1037"><area shape="rect" href="a00902.html" title="an abstract superclass for classes observing events invoked by vtkRenderWindowInteractor..." alt="" coords="2341,309,2496,336"><area shape="rect" href="a01091.html" title="manage contention for cursors and other resources" alt="" coords="2103,411,2252,437"><area shape="rect" href="a01491.html" title="platform&#45;independent render window interaction including picking and frame rate control..." alt="" coords="2137,517,2329,544"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="1423,96,1503,123"><area shape="rect" href="a01886.html" title="window superclass for vtkRenderWindow" alt="" coords="1881,517,1969,544"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1443,309,1544,336"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="1388,187,1537,213"><area shape="rect" href="a01150.html" title="An adapter between a vtkPainter and a rendering device." alt="" coords="1853,248,2027,275"><area shape="rect" href="a00086.html" title="define API for picking subclasses" alt="" coords="2193,920,2321,947"><area shape="rect" href="a01833.html" title="abstract specification for Viewports" alt="" coords="1503,752,1596,779"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="569,517,639,544"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="445,187,555,213"><area shape="rect" href="a01149.html" title="Abstract class for drawing poly data." alt="" coords="299,309,381,336"><area shape="rect" href="a00681.html" title="manager for OpenGL&#45;based selection." alt="" coords="764,920,913,947"><area shape="rect" href="a01482.html" title="Render the props of a vtkRenderer." alt="" coords="224,360,373,387"><area shape="rect" href="a01485.html" title="Perform part of the rendering of a vtkRenderer." alt="" coords="824,248,939,275"><area shape="rect" href="a00954.html" title="a virtual light for 3D rendering" alt="" coords="924,309,993,336"><area shape="rect" href="a00998.html" title="represent and manipulate 4x4 transformation matrices" alt="" coords="1085,187,1184,213"><area shape="rect" href="a00227.html" title="a virtual camera for 3D rendering" alt="" coords="913,517,1001,544"><area shape="rect" href="a01876.html" title="map VTK events into widget events" alt="" coords="2616,309,2795,336"><area shape="rect" href="a00469.html" title="a complete specification of a VTK event including all modifiers" alt="" coords="2556,187,2631,213"><area shape="rect" href="a01874.html" title="map widget events into callbacks" alt="" coords="2723,411,2904,437"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="1408,5,1517,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="451,96,613,123"><area shape="rect" href="a00291.html" title="superclass for callback/observer methods" alt="" coords="2177,96,2281,123"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="87,5,196,32"><area shape="rect" href="a01480.html" title="abstract specification for renderers" alt="" coords="872,829,968,856"><area shape="rect" href="a01877.html" title="abstract class defines interface between the widget and widget representation classes..." alt="" coords="373,920,547,947"><area shape="rect" href="a01489.html" title="create a window for renderers to draw into" alt="" coords="1935,635,2068,661"><area shape="rect" href="a01481.html" title="a list of renderers" alt="" coords="1752,464,1909,491"><area shape="rect" href="a01321.html" title="a list of Props" alt="" coords="1392,517,1520,544"><area shape="rect" href="a00143.html" title="a list of nodes that form an assembly path" alt="" coords="1611,635,1736,661"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1180,411,1313,437"><area shape="rect" href="a00956.html" title="a list of lights" alt="" coords="920,571,1051,597"><area shape="rect" href="a00346.html" title="a list of Cullers" alt="" coords="1057,571,1193,597"><area shape="rect" href="a00094.html" title="a list of 2D actors" alt="" coords="1289,635,1439,661"><area shape="rect" href="a00095.html" title="a list of actors" alt="" coords="1097,699,1231,725"><area shape="rect" href="a01841.html" title="a list of volumes" alt="" coords="1237,699,1384,725"><area shape="rect" href="a00717.html" title="DEPRECATED A vtkPolyDataPainter that colors each polygon with a color coded integer..." alt="" coords="359,635,521,661"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="224,96,405,123"><area shape="rect" href="a01723.html" title="describes linear transformations via a 4x4 matrix" alt="" coords="1540,411,1644,437"><area shape="rect" href="a01268.html" title="Abstract class for drawing poly data." alt="" coords="391,464,529,491"><area shape="rect" href="a00722.html" title="dynamic, self&#45;adjusting array of vtkIdType" alt="" coords="320,517,435,544"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="320,411,421,437"><area shape="rect" href="a00696.html" title="superclass for homogeneous transformations" alt="" coords="1017,309,1209,336"><area shape="rect" href="a01207.html" title="describes a 4x4 matrix transformation" alt="" coords="983,411,1156,437"><area shape="rect" href="a00226.html" title="supports function callbacks" alt="" coords="2655,187,2809,213"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a15183.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
widget for placing text on overlay plane 
<p>
This class provides support for interactively placing text on the 2D overlay plane. The text is defined by an instance of <a class="el" href="a01689.html" title="An actor that displays text. Scaled or unscaled.">vtkTextActor</a>. It uses the event bindings of its superclass (<a class="el" href="a00192.html" title="place a border around a 2D rectangular region">vtkBorderWidget</a>). In addition, when the text is selected, the widget emits a WidgetActivateEvent that observers can watch for. This is useful for opening GUI dialogues to adjust font characteristics, etc. (Please see the superclass for a description of event bindings.)<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00192.html" title="place a border around a 2D rectangular region">vtkBorderWidget</a> <a class="el" href="a00235.html" title="widget for placing a caption (text plus leader)">vtkCaptionWidget</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_16.html#c2_vtk_t_vtkTextWidget">vtkTextWidget (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a05536.html#l00041">41</a> of file <a class="el" href="a05536.html">vtkTextWidget.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="a00192.html">vtkBorderWidget</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01703.html#6bbaa2e3c60c0c00982f462b971d7be6">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="a01703.html#733a73ddba9430fb13a5d4e77c3401d1">IsTypeOf</a> (const char *type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01703.html">vtkTextWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01703.html#7e17adab835107190553960670c1645a">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="a01703.html#d096d5a3c5b5ccac285f2d5b8f26201e">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="a01703.html#d2210a377aa77bb46015a408794aae5f">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="a01703.html#2230981140c5fd95c186c724aaa985d0">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="a01703.html#77ce0da77246b9ea330b60efd951a86b">CreateDefaultRepresentation</a> ()</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="a01703.html#a020225266e6c075430040129fcd817a">SetRepresentation</a> (<a class="el" href="a01693.html">vtkTextRepresentation</a> *r)</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="a01703.html#7dfb1da934046b3656142d007a6bc012">SetTextActor</a> (<a class="el" href="a01689.html">vtkTextActor</a> *textActor)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01689.html">vtkTextActor</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01703.html#98470997dc929d0f6a47808db1e84d16">GetTextActor</a> ()</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="a01703.html">vtkTextWidget</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01703.html#409c171c906547b1ca52cbeb13c7ffed">New</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="a01703.html#e415527fe9930d198e11efddef257634">vtkTextWidget</a> ()</td></tr>

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

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="6bbaa2e3c60c0c00982f462b971d7be6"></a><!-- doxytag: member="vtkTextWidget::Superclass" ref="6bbaa2e3c60c0c00982f462b971d7be6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a00192.html">vtkBorderWidget</a> <a class="el" href="a00192.html">vtkTextWidget::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#f625327b6763b2bc4f8693c3f39cc4c3">vtkBorderWidget</a>.</p>

<p>Definition at line <a class="el" href="a05536.html#l00049">49</a> of file <a class="el" href="a05536.html">vtkTextWidget.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e415527fe9930d198e11efddef257634"></a><!-- doxytag: member="vtkTextWidget::vtkTextWidget" ref="e415527fe9930d198e11efddef257634" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkTextWidget::vtkTextWidget           </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="c8432fdf889c697c3bb117e90d9a8fab"></a><!-- doxytag: member="vtkTextWidget::~vtkTextWidget" ref="c8432fdf889c697c3bb117e90d9a8fab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkTextWidget::~vtkTextWidget           </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="409c171c906547b1ca52cbeb13c7ffed"></a><!-- doxytag: member="vtkTextWidget::New" ref="409c171c906547b1ca52cbeb13c7ffed" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01703.html">vtkTextWidget</a>* vtkTextWidget::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 class. 
<p>Reimplemented from <a class="el" href="a00192.html#5880f6b2142ebc31f7d229e399eef334">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="d096d5a3c5b5ccac285f2d5b8f26201e"></a><!-- doxytag: member="vtkTextWidget::GetClassName" ref="d096d5a3c5b5ccac285f2d5b8f26201e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkTextWidget::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 VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#8689b578761c16f7c866aba6c05c9889">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="733a73ddba9430fb13a5d4e77c3401d1"></a><!-- doxytag: member="vtkTextWidget::IsTypeOf" ref="733a73ddba9430fb13a5d4e77c3401d1" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static int vtkTextWidget::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 VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#912bdd4cd7d10278094b9a4572534dd9">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="d2210a377aa77bb46015a408794aae5f"></a><!-- doxytag: member="vtkTextWidget::IsA" ref="d2210a377aa77bb46015a408794aae5f" args="(const char *type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int vtkTextWidget::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 VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#d7c70b02108ab0845616559bb88c51de">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="7e17adab835107190553960670c1645a"></a><!-- doxytag: member="vtkTextWidget::SafeDownCast" ref="7e17adab835107190553960670c1645a" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a01703.html">vtkTextWidget</a>* vtkTextWidget::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 VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#81bd068dd317191d704a2192d4cf43be">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="2230981140c5fd95c186c724aaa985d0"></a><!-- doxytag: member="vtkTextWidget::PrintSelf" ref="2230981140c5fd95c186c724aaa985d0" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkTextWidget::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 VTK methods. 
<p>Reimplemented from <a class="el" href="a00192.html#7c60f80a5e124cd3e88b18acb4387e37">vtkBorderWidget</a>.</p>

</div>
</div><p>
<a class="anchor" name="a020225266e6c075430040129fcd817a"></a><!-- doxytag: member="vtkTextWidget::SetRepresentation" ref="a020225266e6c075430040129fcd817a" args="(vtkTextRepresentation *r)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkTextWidget::SetRepresentation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01693.html">vtkTextRepresentation</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="a05536.html#l00057">57</a> of file <a class="el" href="a05536.html">vtkTextWidget.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7dfb1da934046b3656142d007a6bc012"></a><!-- doxytag: member="vtkTextWidget::SetTextActor" ref="7dfb1da934046b3656142d007a6bc012" args="(vtkTextActor *textActor)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkTextWidget::SetTextActor           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a01689.html">vtkTextActor</a> *&nbsp;</td>
          <td class="paramname"> <em>textActor</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify a <a class="el" href="a01689.html" title="An actor that displays text. Scaled or unscaled.">vtkTextActor</a> to manage. This is a convenient, alternative method to specify the representation for the widget (i.e., used instead of <a class="el" href="a01703.html#a020225266e6c075430040129fcd817a">SetRepresentation()</a>). It internally creates a <a class="el" href="a01693.html" title="represent text for vtkTextWidget">vtkTextRepresentation</a> and then invokes <a class="el" href="a01693.html#3ffa63bc4ffade11b21e09cd9e35723e">vtkTextRepresentation::SetTextActor()</a>. 
</div>
</div><p>
<a class="anchor" name="98470997dc929d0f6a47808db1e84d16"></a><!-- doxytag: member="vtkTextWidget::GetTextActor" ref="98470997dc929d0f6a47808db1e84d16" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01689.html">vtkTextActor</a>* vtkTextWidget::GetTextActor           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specify a <a class="el" href="a01689.html" title="An actor that displays text. Scaled or unscaled.">vtkTextActor</a> to manage. This is a convenient, alternative method to specify the representation for the widget (i.e., used instead of <a class="el" href="a01703.html#a020225266e6c075430040129fcd817a">SetRepresentation()</a>). It internally creates a <a class="el" href="a01693.html" title="represent text for vtkTextWidget">vtkTextRepresentation</a> and then invokes <a class="el" href="a01693.html#3ffa63bc4ffade11b21e09cd9e35723e">vtkTextRepresentation::SetTextActor()</a>. 
</div>
</div><p>
<a class="anchor" name="77ce0da77246b9ea330b60efd951a86b"></a><!-- doxytag: member="vtkTextWidget::CreateDefaultRepresentation" ref="77ce0da77246b9ea330b60efd951a86b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void vtkTextWidget::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>Reimplemented from <a class="el" href="a00192.html#16406840191ab409fc912bef990202f9">vtkBorderWidget</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="a05536.html">vtkTextWidget.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:39:52 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>