Sophie

Sophie

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

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: vtkAssignAttribute 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>vtkAssignAttribute Class Reference</h1><!-- doxytag: class="vtkAssignAttribute" --><!-- doxytag: inherits="vtkPassInputTypeAlgorithm" --><code>#include &lt;<a class="el" href="a04259.html">vtkAssignAttribute.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkAssignAttribute:</div>
<div class="dynsection">
<p><center><img src="a08016.png" border="0" usemap="#a08017" alt="Inheritance graph"></center>
<map name="a08017">
<area shape="rect" href="a01178.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="5,229,192,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="49,155,148,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="59,80,139,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="44,5,153,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkAssignAttribute:</div>
<div class="dynsection">
<p><center><img src="a08018.png" border="0" usemap="#a08019" alt="Collaboration graph"></center>
<map name="a08019">
<area shape="rect" href="a01178.html" title="Superclass for algorithms that produce output of the same type as input." alt="" coords="157,499,344,525"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="281,381,380,408"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="477,499,576,525"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="407,173,487,200"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="404,264,553,291"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="212,264,321,291"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="164,5,273,32"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="5,173,168,200"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="153,83,284,109"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="308,83,417,109"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="192,173,373,200"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a08020.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Labels a field as an attribute. 
<p>
<a class="el" href="a00145.html" title="Labels a field as an attribute.">vtkAssignAttribute</a> is use to label a field (<a class="el" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>) as an attribute. A field name or an attribute to labeled can be specified. For example: <div class="fragment"><pre class="fragment">
 aa-&gt;Assign("foo", vtkDataSetAttributes::SCALARS, 
            vtkAssignAttribute::POINT_DATA);
 </pre></div> tells <a class="el" href="a00145.html" title="Labels a field as an attribute.">vtkAssignAttribute</a> to make the array in the point data called "foo" the active scalars. On the other hand, <div class="fragment"><pre class="fragment">
 aa-&gt;Assign(vtkDataSetAttributes::VECTORS, vtkDataSetAttributes::SCALARS, 
            vtkAssignAttribute::POINT_DATA);
 </pre></div> tells <a class="el" href="a00145.html" title="Labels a field as an attribute.">vtkAssignAttribute</a> to make the active vectors also the active scalars. The same can be done more easily from Tcl by using the <a class="el" href="a00145.html#ef64026434789c277af9e8f146e62837">Assign()</a> method which takes strings: <div class="fragment"><pre class="fragment">
 aa Assign "foo" SCALARS POINT_DATA 
 or
 aa Assign SCALARS VECTORS POINT_DATA

 AttributeTypes: SCALARS, VECTORS, NORMALS, TCOORDS, TENSORS
 Attribute locations: POINT_DATA, CELL_DATA
 </pre></div><p>
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>When using Tcl, Java, Python or Visual Basic bindings, the array name can not be one of the AttributeTypes when calling <a class="el" href="a00145.html#ef64026434789c277af9e8f146e62837">Assign()</a> which takes strings as arguments. The Tcl (Java etc.) command will always assume the string corresponds to an attribute type when the argument is one of the AttributeTypes. In this situation, use the <a class="el" href="a00145.html#ef64026434789c277af9e8f146e62837">Assign()</a> which takes enums.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00538.html" title="represent and manipulate fields of data">vtkFieldData</a> <a class="el" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> <a class="el" href="a00368.html" title="map field data to concrete dataset">vtkDataObjectToDataSetFilter</a> <a class="el" href="a00376.html" title="represent and manipulate attribute data in a dataset">vtkDataSetAttributes</a> <a class="el" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> <a class="el" href="a01457.html" title="Move/copy fields between field data, point data and cell data.">vtkRearrangeFields</a> <a class="el" href="a01591.html" title="Split a field into single component fields.">vtkSplitField</a> <a class="el" href="a01010.html" title="Merge multiple fields into one.">vtkMergeFields</a></dd></dl>
<dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_1.html#c2_vtk_t_vtkAssignAttribute">vtkAssignAttribute (Tests)</a> </dd></dl>

<p>Definition at line <a class="el" href="a04259.html#l00068">68</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public 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="a00145.html#5d492387022873da0fd8eab3f064a9af">AttributeLocation</a> { <br>
&nbsp;&nbsp;<a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9aff23fb0d10d899aada0106fc9bc9f91ff">POINT_DATA</a> = 0, 
<a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9afd83945ef142e35d7fb0587db79d08292">CELL_DATA</a> = 1, 
<a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9afe17688339465c8b6367401aec5592713">VERTEX_DATA</a> = 2, 
<a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9af9b4a033ef4714da45b1da24e41710869">EDGE_DATA</a> = 3, 
<br>
&nbsp;&nbsp;<a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9afb55a1d310fb7898cf07951a1e1063dce">NUM_ATTRIBUTE_LOCS</a>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a01178.html">vtkPassInputTypeAlgorithm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#94ed016ff87ff52920e4eb0f10a23c88">Superclass</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></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="a00145.html#9bc8cfc868ba895aed3f4ab5bb0e90da">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="a00145.html#cdf33f3bfdbd90ef5f4bdb8e5d165030">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="a00145.html#93b092b227ae8c66d161558606a3bfec">PrintSelf</a> (ostream &amp;os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#ef64026434789c277af9e8f146e62837">Assign</a> (int inputAttributeType, int attributeType, int attributeLoc)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#bc7e7eed61ee0efd8a2ecb5f91522472">Assign</a> (const char *fieldName, int attributeType, int attributeLoc)</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="a00145.html#6b1fb03034a69bdec5ad981d9e9a99a8">Assign</a> (const char *name, const char *attributeType, const char *attributeLoc)</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 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#bd7bb0deb90d4db33c0b54874a5e5491">IsTypeOf</a> (const char *type)</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00145.html">vtkAssignAttribute</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#4ab52d61032a6376e463f1afb10e90b2">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="a00145.html#3ce298eb0892872c468b2513364ad567">FieldType</a> { <a class="el" href="a00145.html#3ce298eb0892872c468b2513364ad5678815cc374953bac377842df1c6e7274f">NAME</a>, 
<a class="el" href="a00145.html#3ce298eb0892872c468b2513364ad5673051aabc1a2ed02fd4fe08221410b1f1">ATTRIBUTE</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="a00145.html#e5ad82e4fa4b7c774293d936e3606d4d">vtkAssignAttribute</a> ()</td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#261202c5b0aacb1845ebd70b2434abb9">RequestInformation</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#0fb4191fa563ea530443dafca3a7b9d4">RequestData</a> (<a class="el" href="a00872.html">vtkInformation</a> *, <a class="el" href="a00895.html">vtkInformationVector</a> **, <a class="el" href="a00895.html">vtkInformationVector</a> *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#cd6d49799e5b1a6315a04db044ec3e77">FillInputPortInformation</a> (int, <a class="el" href="a00872.html">vtkInformation</a> *)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#ee3b9ab671db8cbd02cb28506975cff1">FieldName</a></td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#554b0878f6fe34cf84d21bd7b6a2660f">AttributeType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#eb09ed6e233a84c4233def57eb348aa6">InputAttributeType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#33bd20ca1ad817c150e45ec0d32d5c54">AttributeLocationAssignment</a></td></tr>

<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#ff75c6f114d6bfc31fb927e2de3ea1e4">AttributeLocationNames</a> [vtkAssignAttribute::NUM_ATTRIBUTE_LOCS][12]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00145.html#3d191ca99c00edc458dc2f4acf45e9e7">AttributeNames</a> [vtkDataSetAttributes::NUM_ATTRIBUTES][20]</td></tr>

</table>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="94ed016ff87ff52920e4eb0f10a23c88"></a><!-- doxytag: member="vtkAssignAttribute::Superclass" ref="94ed016ff87ff52920e4eb0f10a23c88" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="a01178.html">vtkPassInputTypeAlgorithm</a> <a class="el" href="a01178.html">vtkAssignAttribute::Superclass</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01178.html#569c2c337b2cf096c0dd382bec9f0406">vtkPassInputTypeAlgorithm</a>.</p>

<p>Definition at line <a class="el" href="a04259.html#l00071">71</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="5d492387022873da0fd8eab3f064a9af"></a><!-- doxytag: member="vtkAssignAttribute::AttributeLocation" ref="5d492387022873da0fd8eab3f064a9af" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00145.html#5d492387022873da0fd8eab3f064a9af">vtkAssignAttribute::AttributeLocation</a>          </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="5d492387022873da0fd8eab3f064a9aff23fb0d10d899aada0106fc9bc9f91ff"></a><!-- doxytag: member="POINT_DATA" ref="5d492387022873da0fd8eab3f064a9aff23fb0d10d899aada0106fc9bc9f91ff" args="" -->POINT_DATA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5d492387022873da0fd8eab3f064a9afd83945ef142e35d7fb0587db79d08292"></a><!-- doxytag: member="CELL_DATA" ref="5d492387022873da0fd8eab3f064a9afd83945ef142e35d7fb0587db79d08292" args="" -->CELL_DATA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5d492387022873da0fd8eab3f064a9afe17688339465c8b6367401aec5592713"></a><!-- doxytag: member="VERTEX_DATA" ref="5d492387022873da0fd8eab3f064a9afe17688339465c8b6367401aec5592713" args="" -->VERTEX_DATA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5d492387022873da0fd8eab3f064a9af9b4a033ef4714da45b1da24e41710869"></a><!-- doxytag: member="EDGE_DATA" ref="5d492387022873da0fd8eab3f064a9af9b4a033ef4714da45b1da24e41710869" args="" -->EDGE_DATA</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="5d492387022873da0fd8eab3f064a9afb55a1d310fb7898cf07951a1e1063dce"></a><!-- doxytag: member="NUM_ATTRIBUTE_LOCS" ref="5d492387022873da0fd8eab3f064a9afb55a1d310fb7898cf07951a1e1063dce" args="" -->NUM_ATTRIBUTE_LOCS</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a04259.html#l00093">93</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3ce298eb0892872c468b2513364ad567"></a><!-- doxytag: member="vtkAssignAttribute::FieldType" ref="3ce298eb0892872c468b2513364ad567" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a00145.html#3ce298eb0892872c468b2513364ad567">vtkAssignAttribute::FieldType</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="3ce298eb0892872c468b2513364ad5678815cc374953bac377842df1c6e7274f"></a><!-- doxytag: member="NAME" ref="3ce298eb0892872c468b2513364ad5678815cc374953bac377842df1c6e7274f" args="" -->NAME</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="3ce298eb0892872c468b2513364ad5673051aabc1a2ed02fd4fe08221410b1f1"></a><!-- doxytag: member="ATTRIBUTE" ref="3ce298eb0892872c468b2513364ad5673051aabc1a2ed02fd4fe08221410b1f1" args="" -->ATTRIBUTE</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>

<p>Definition at line <a class="el" href="a04259.html#l00106">106</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e5ad82e4fa4b7c774293d936e3606d4d"></a><!-- doxytag: member="vtkAssignAttribute::vtkAssignAttribute" ref="e5ad82e4fa4b7c774293d936e3606d4d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkAssignAttribute::vtkAssignAttribute           </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="9db385d1a3306954f495f84d90ddc0a3"></a><!-- doxytag: member="vtkAssignAttribute::~vtkAssignAttribute" ref="9db385d1a3306954f495f84d90ddc0a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual vtkAssignAttribute::~vtkAssignAttribute           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9bc8cfc868ba895aed3f4ab5bb0e90da"></a><!-- doxytag: member="vtkAssignAttribute::GetClassName" ref="9bc8cfc868ba895aed3f4ab5bb0e90da" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* vtkAssignAttribute::GetClassName           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Reimplemented from <a class="el" href="a01178.html#dc97a5058009ab4b6a7650b62c249a2e">vtkPassInputTypeAlgorithm</a>.</p>

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

<p>
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01178.html#1ea28cb246eba99c300c82e0c6525630">vtkPassInputTypeAlgorithm</a>.</p>

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

<p>
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. 
<p>Reimplemented from <a class="el" href="a01178.html#40353e9e9c9912d2a7f4ad704fdce7fa">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="2f4e1e0efe36275f01aeb2a3b926f5bd"></a><!-- doxytag: member="vtkAssignAttribute::SafeDownCast" ref="2f4e1e0efe36275f01aeb2a3b926f5bd" args="(vtkObject *o)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00145.html">vtkAssignAttribute</a>* vtkAssignAttribute::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>

<p>Reimplemented from <a class="el" href="a01178.html#9ce45679ebe9bd8ce13ea707d3fc74ff">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="93b092b227ae8c66d161558606a3bfec"></a><!-- doxytag: member="vtkAssignAttribute::PrintSelf" ref="93b092b227ae8c66d161558606a3bfec" args="(ostream &amp;os, vtkIndent indent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAssignAttribute::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>
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. 
<p>Reimplemented from <a class="el" href="a01178.html#fd104ee7f0cb997633bdbce7796bbf2b">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="4ab52d61032a6376e463f1afb10e90b2"></a><!-- doxytag: member="vtkAssignAttribute::New" ref="4ab52d61032a6376e463f1afb10e90b2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="a00145.html">vtkAssignAttribute</a>* vtkAssignAttribute::New           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="a00145.html" title="Labels a field as an attribute.">vtkAssignAttribute</a>. 
<p>Reimplemented from <a class="el" href="a01178.html#146751972629ab4d679d7efd68d7154f">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="ef64026434789c277af9e8f146e62837"></a><!-- doxytag: member="vtkAssignAttribute::Assign" ref="ef64026434789c277af9e8f146e62837" args="(int inputAttributeType, int attributeType, int attributeLoc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAssignAttribute::Assign           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>inputAttributeType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>attributeType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>attributeLoc</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Label an attribute as another attribute. 
</div>
</div><p>
<a class="anchor" name="bc7e7eed61ee0efd8a2ecb5f91522472"></a><!-- doxytag: member="vtkAssignAttribute::Assign" ref="bc7e7eed61ee0efd8a2ecb5f91522472" args="(const char *fieldName, int attributeType, int attributeLoc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAssignAttribute::Assign           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>fieldName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>attributeType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>attributeLoc</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Label an array as an attribute. 
</div>
</div><p>
<a class="anchor" name="6b1fb03034a69bdec5ad981d9e9a99a8"></a><!-- doxytag: member="vtkAssignAttribute::Assign" ref="6b1fb03034a69bdec5ad981d9e9a99a8" args="(const char *name, const char *attributeType, const char *attributeLoc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkAssignAttribute::Assign           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>attributeType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>attributeLoc</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums. 
</div>
</div><p>
<a class="anchor" name="261202c5b0aacb1845ebd70b2434abb9"></a><!-- doxytag: member="vtkAssignAttribute::RequestInformation" ref="261202c5b0aacb1845ebd70b2434abb9" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkAssignAttribute::RequestInformation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is called within ProcessRequest when a request asks for Information. Typically an algorithm provides whatever lightweight information about its output that it can here without doing any lengthy computations. This happens in the first pass of the pipeline execution. 
<p>Reimplemented from <a class="el" href="a01178.html#8a3b70da03bb80aa49c28ebbbf022051">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="0fb4191fa563ea530443dafca3a7b9d4"></a><!-- doxytag: member="vtkAssignAttribute::RequestData" ref="0fb4191fa563ea530443dafca3a7b9d4" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkAssignAttribute::RequestData           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> **&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> *&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process. 
<p>Reimplemented from <a class="el" href="a01178.html#c3ae1f96dfc46c6556bbb8a73332bb0b">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<a class="anchor" name="cd6d49799e5b1a6315a04db044ec3e77"></a><!-- doxytag: member="vtkAssignAttribute::FillInputPortInformation" ref="cd6d49799e5b1a6315a04db044ec3e77" args="(int, vtkInformation *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int vtkAssignAttribute::FillInputPortInformation           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> *&nbsp;</td>
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. 
<p>Reimplemented from <a class="el" href="a01178.html#94cce1fbb7e334dd5b78a0ca9264bc35">vtkPassInputTypeAlgorithm</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="ee3b9ab671db8cbd02cb28506975cff1"></a><!-- doxytag: member="vtkAssignAttribute::FieldName" ref="ee3b9ab671db8cbd02cb28506975cff1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="a00145.html#ee3b9ab671db8cbd02cb28506975cff1">vtkAssignAttribute::FieldName</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04259.html#l00120">120</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

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

<p>

<p>Definition at line <a class="el" href="a04259.html#l00121">121</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="554b0878f6fe34cf84d21bd7b6a2660f"></a><!-- doxytag: member="vtkAssignAttribute::AttributeType" ref="554b0878f6fe34cf84d21bd7b6a2660f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00145.html#554b0878f6fe34cf84d21bd7b6a2660f">vtkAssignAttribute::AttributeType</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04259.html#l00122">122</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="eb09ed6e233a84c4233def57eb348aa6"></a><!-- doxytag: member="vtkAssignAttribute::InputAttributeType" ref="eb09ed6e233a84c4233def57eb348aa6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00145.html#eb09ed6e233a84c4233def57eb348aa6">vtkAssignAttribute::InputAttributeType</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<a class="anchor" name="33bd20ca1ad817c150e45ec0d32d5c54"></a><!-- doxytag: member="vtkAssignAttribute::AttributeLocationAssignment" ref="33bd20ca1ad817c150e45ec0d32d5c54" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a00145.html#33bd20ca1ad817c150e45ec0d32d5c54">vtkAssignAttribute::AttributeLocationAssignment</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04259.html#l00124">124</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="ff75c6f114d6bfc31fb927e2de3ea1e4"></a><!-- doxytag: member="vtkAssignAttribute::AttributeLocationNames" ref="ff75c6f114d6bfc31fb927e2de3ea1e4" args="[vtkAssignAttribute::NUM_ATTRIBUTE_LOCS][12]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="a00145.html#ff75c6f114d6bfc31fb927e2de3ea1e4">vtkAssignAttribute::AttributeLocationNames</a>[vtkAssignAttribute::NUM_ATTRIBUTE_LOCS][12]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

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

</div>
</div><p>
<a class="anchor" name="3d191ca99c00edc458dc2f4acf45e9e7"></a><!-- doxytag: member="vtkAssignAttribute::AttributeNames" ref="3d191ca99c00edc458dc2f4acf45e9e7" args="[vtkDataSetAttributes::NUM_ATTRIBUTES][20]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="a00145.html#3d191ca99c00edc458dc2f4acf45e9e7">vtkAssignAttribute::AttributeNames</a>[vtkDataSetAttributes::NUM_ATTRIBUTES][20]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a04259.html#l00127">127</a> of file <a class="el" href="a04259.html">vtkAssignAttribute.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Graphics/<a class="el" href="a04259.html">vtkAssignAttribute.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:53:39 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>