<!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: vtkGenericAttribute 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkGenericAttribute Class Reference</h1><!-- doxytag: class="vtkGenericAttribute" --><!-- doxytag: inherits="vtkObject" --><code>#include <<a class="el" href="a04041.html">vtkGenericAttribute.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkGenericAttribute:</div> <div class="dynsection"> <p><center><img src="a09992.png" border="0" usemap="#a09993" alt="Inheritance graph"></center> <map name="a09993"> <area shape="rect" href="a00202.html" title="Implementation of vtkGenericAttribute." alt="" coords="9,229,140,256"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="35,80,115,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="20,5,129,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkGenericAttribute:</div> <div class="dynsection"> <p><center><img src="a09994.png" border="0" usemap="#a09995" alt="Collaboration graph"></center> <map name="a09995"> <area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="87,96,167,123"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="5,5,115,32"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="139,5,248,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a09996.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> abstract class defined API for attribute data <p> <a class="el" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> is an abstract class that defines an API for attribute data. Attribute data is data associated with the topology or geometry of a dataset (i.e., points, cells, etc.). <a class="el" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> is part of the adaptor framework (see GenericFiltering/README.html).<p> <a class="el" href="a00580.html" title="abstract class defined API for attribute data">vtkGenericAttribute</a> provides a more general interface to attribute data than its counterpart <a class="el" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a> (which assumes a linear, contiguous array). It adopts an iterator interface, and allows attributes to be associated with points, edges, faces, or edges.<p> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_6.html#c2_vtk_t_vtkGenericAttribute">vtkGenericAttribute (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04041.html#l00048">48</a> of file <a class="el" href="a04041.html">vtkGenericAttribute.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">typedef <a class="el" href="a01084.html">vtkObject</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#36dbf76f0f43814b0be736499156ad93">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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#277e875f1544c3bd53dea56650251c66">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#2fe1963599e917f62de3f5a42df27c2a">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#c5156133aa5892c55eb581586ff77176">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#0f680802b25673c70ad773dd92211135">GetName</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#88a594c4cdcb41210ec178f035ee9c0f">GetCentering</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#b08c23d5478ad4a32b44ce67e4f30d66">GetComponentType</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#eb96bde77626b859221a0373ce3a1fca">GetSize</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#93520f8d7690f4687ccd92e0327901e2">GetActualMemorySize</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#7f54ad799694806ec7a0b0d664be9865">GetRange</a> (int component=0)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#9df578bdba6adeb53a256c48f85e04bf">GetMaxNorm</a> ()=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#cb09ec149208bb225e0ca812f6701f6f">GetTuple</a> (<a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *c)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#46b4b00339d5f002028972b02a655e70">GetTuple</a> (<a class="el" href="a00579.html">vtkGenericAdaptorCell</a> *c, double *tuple)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#a81ad5833dca651f29452f4212304ad2">GetTuple</a> (<a class="el" href="a00583.html">vtkGenericCellIterator</a> *c)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#bc9c1aab75a753a22d6f962c81b9b346">GetTuple</a> (<a class="el" href="a00583.html">vtkGenericCellIterator</a> *c, double *tuple)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#6b9c331bcf56f8cc5abce06ac9add4ef">GetTuple</a> (<a class="el" href="a00602.html">vtkGenericPointIterator</a> *p)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#3cdd8975117673dde82285f4a7602f40">GetTuple</a> (<a class="el" href="a00602.html">vtkGenericPointIterator</a> *p, double *tuple)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#b0649a92361b75100b094cd5d660e33b">GetComponent</a> (int i, <a class="el" href="a00583.html">vtkGenericCellIterator</a> *c, double *values)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#cafeb8fc561657317cce7cc98ac06f75">GetComponent</a> (int i, <a class="el" href="a00602.html">vtkGenericPointIterator</a> *p)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#b2f76e52eb30a7fb5c286d4b2d27c9b1">DeepCopy</a> (<a class="el" href="a00580.html">vtkGenericAttribute</a> *other)=0</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#d5f18c4c4df14ccb71bdfaee099e8668">ShallowCopy</a> (<a class="el" href="a00580.html">vtkGenericAttribute</a> *other)=0</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#09a5c3e424e7991f1e810bbb79d21e34">GetRange</a> (int component, double range[2])=0</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 </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#ae78845f1da5f4253ec16cc7b4d1acd8">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00580.html">vtkGenericAttribute</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#c64137b7c446f4eaccd2b76024597ddb">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#e14db4fbccf924b9f4f289778f2ab6bd">vtkGenericAttribute</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00580.html#cf170d6c0d0c6f7d0591688b49ff7f13">~vtkGenericAttribute</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="36dbf76f0f43814b0be736499156ad93"></a><!-- doxytag: member="vtkGenericAttribute::Superclass" ref="36dbf76f0f43814b0be736499156ad93" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01084.html">vtkObject</a> <a class="el" href="a01084.html">vtkGenericAttribute::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01084.html#11429dee69f4b562e03e07b453dae9b5">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#9d02a48559b40f44909afbc355b8ff8e">vtkBridgeAttribute</a>.</p> <p>Definition at line <a class="el" href="a04041.html#l00051">51</a> of file <a class="el" href="a04041.html">vtkGenericAttribute.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="e14db4fbccf924b9f4f289778f2ab6bd"></a><!-- doxytag: member="vtkGenericAttribute::vtkGenericAttribute" ref="e14db4fbccf924b9f4f289778f2ab6bd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkGenericAttribute::vtkGenericAttribute </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="cf170d6c0d0c6f7d0591688b49ff7f13"></a><!-- doxytag: member="vtkGenericAttribute::~vtkGenericAttribute" ref="cf170d6c0d0c6f7d0591688b49ff7f13" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkGenericAttribute::~vtkGenericAttribute </td> <td>(</td> <td class="paramname"> </td> <td> ) </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="277e875f1544c3bd53dea56650251c66"></a><!-- doxytag: member="vtkGenericAttribute::GetClassName" ref="277e875f1544c3bd53dea56650251c66" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkGenericAttribute::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01084.html#d95975c85c2896ea32ff4cf1f8de0886">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#c84b949864fbe1614406df02dc245f7d">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="ae78845f1da5f4253ec16cc7b4d1acd8"></a><!-- doxytag: member="vtkGenericAttribute::IsTypeOf" ref="ae78845f1da5f4253ec16cc7b4d1acd8" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkGenericAttribute::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="a01084.html#e9548a248bce0f02f73bbcccd0a9489e">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#59ee175bd4c0091dcc431b9ebd8e2869">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="2fe1963599e917f62de3f5a42df27c2a"></a><!-- doxytag: member="vtkGenericAttribute::IsA" ref="2fe1963599e917f62de3f5a42df27c2a" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkGenericAttribute::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </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="a01084.html#831e57b04e46827a7098aa81abadee69">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#5ce03fc8883eb41b7a67cddefd39e6fc">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="c64137b7c446f4eaccd2b76024597ddb"></a><!-- doxytag: member="vtkGenericAttribute::SafeDownCast" ref="c64137b7c446f4eaccd2b76024597ddb" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00580.html">vtkGenericAttribute</a>* vtkGenericAttribute::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01084.html#bb9351f076544c427ee91229dce83abe">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#7a6115a6b0636779c1146631cae28857">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="c5156133aa5892c55eb581586ff77176"></a><!-- doxytag: member="vtkGenericAttribute::PrintSelf" ref="c5156133aa5892c55eb581586ff77176" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </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> </td> <td class="paramname"> <em>indent</em></td><td> </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="a01084.html#bf3dbb4154289b56a12483eee3866263">vtkObject</a>.</p> <p>Reimplemented in <a class="el" href="a00202.html#99b4224321fef2f76d97c87b0d3c17b1">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="0f680802b25673c70ad773dd92211135"></a><!-- doxytag: member="vtkGenericAttribute::GetName" ref="0f680802b25673c70ad773dd92211135" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkGenericAttribute::GetName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Name of the attribute. (e.g. "velocity") <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>result_may_not_exist: result!=0 || result==0 </dd></dl> <p>Implemented in <a class="el" href="a00202.html#445da3e41fd1136fcd4011b84a260fb4">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="424ede059c0799fb8914e23f095b8324"></a><!-- doxytag: member="vtkGenericAttribute::GetNumberOfComponents" ref="424ede059c0799fb8914e23f095b8324" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkGenericAttribute::GetNumberOfComponents </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Dimension of the attribute. (1 for scalar, 3 for velocity) <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>positive_result: result>=0 <p> <a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_SCALARS implies result==1 <p> (<a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_VECTORS||(<a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_NORMALS)||(<a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_TC OORDS) implies result==3 <p> <a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_TENSORS implies result==6 </dd></dl> <p>Implemented in <a class="el" href="a00202.html#221b849e6fcd932e570c31bf35cb8d6f">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="88a594c4cdcb41210ec178f035ee9c0f"></a><!-- doxytag: member="vtkGenericAttribute::GetCentering" ref="88a594c4cdcb41210ec178f035ee9c0f" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkGenericAttribute::GetCentering </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Is the attribute centered either on points, cells or boundaries? <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>valid_result: (result==vtkPointCentered)||(result==vtkCellCentered) </dd></dl> <p>Implemented in <a class="el" href="a00202.html#4b2cab1ba021f6357a533d791b16f45a">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="ab505e9ccadd41afde91b99410414f3d"></a><!-- doxytag: member="vtkGenericAttribute::GetType" ref="ab505e9ccadd41afde91b99410414f3d" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkGenericAttribute::GetType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Type of the attribute: scalar, vector, normal, texture coordinate, tensor <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>valid_result: (result==vtkDataSetAttributesSCALARS) ||(result==vtkDataSetAttributesVECTORS) ||(result==vtkDataSetAttributesNORMALS) ||(result==vtkDataSetAttributesTCOORDS) ||(result==vtkDataSetAttributesTENSORS) </dd></dl> <p>Implemented in <a class="el" href="a00202.html#5526c83916bed32fbc2fa8d79d8f4065">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="b08c23d5478ad4a32b44ce67e4f30d66"></a><!-- doxytag: member="vtkGenericAttribute::GetComponentType" ref="b08c23d5478ad4a32b44ce67e4f30d66" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkGenericAttribute::GetComponentType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Type of the components of the attribute: int, float, double <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>valid_result: (result==VTK_BIT) ||(result==VTK_CHAR) ||(result==VTK_UNSIGNED_CHAR) ||(result==VTK_SHORT) ||(result==VTK_UNSIGNED_SHORT)||(result==VTK_INT) ||(result==VTK_UNSIGNED_INT) ||(result==VTK_LONG) ||(result==VTK_UNSIGNED_LONG) ||(result==VTK_FLOAT) ||(result==VTK_DOUBLE) ||(result==VTK_ID_TYPE) </dd></dl> <p>Implemented in <a class="el" href="a00202.html#cde4078cbf2ed3687f05af6f0c08929b">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="eb96bde77626b859221a0373ce3a1fca"></a><!-- doxytag: member="vtkGenericAttribute::GetSize" ref="eb96bde77626b859221a0373ce3a1fca" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkGenericAttribute::GetSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Number of tuples. <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>valid_result: result>=0 </dd></dl> <p>Implemented in <a class="el" href="a00202.html#76604b95ee7608722db4c6c5e2d297e0">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="93520f8d7690f4687ccd92e0327901e2"></a><!-- doxytag: member="vtkGenericAttribute::GetActualMemorySize" ref="93520f8d7690f4687ccd92e0327901e2" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual unsigned long vtkGenericAttribute::GetActualMemorySize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Size in kilobytes taken by the attribute. <p>Implemented in <a class="el" href="a00202.html#8927b99c58785c2225213969ef80490a">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="7f54ad799694806ec7a0b0d664be9865"></a><!-- doxytag: member="vtkGenericAttribute::GetRange" ref="7f54ad799694806ec7a0b0d664be9865" args="(int component=0)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double* vtkGenericAttribute::GetRange </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>component</em> = <code>0</code> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). It returns double, even if <a class="el" href="a00580.html#ab505e9ccadd41afde91b99410414f3d">GetType()</a>==VTK_INT. NOT THREAD SAFE <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_component: (component>=-1)&&(component<<a class="el" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents()</a>) </dd></dl> <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>result_exists: result!=0 </dd></dl> <p>Implemented in <a class="el" href="a00202.html#410f4098908eeb8624e69c3941c20633">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="09a5c3e424e7991f1e810bbb79d21e34"></a><!-- doxytag: member="vtkGenericAttribute::GetRange" ref="09a5c3e424e7991f1e810bbb79d21e34" args="(int component, double range[2])=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::GetRange </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>component</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"> <em>range</em>[2]</td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Range of the attribute component `component'. If `component'==-1, it returns the range of the magnitude (euclidean norm). THREAD SAFE <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_component: (component>=-1)&&(component<<a class="el" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents()</a>) </dd></dl> <p>Implemented in <a class="el" href="a00202.html#36d94ee0d09b95632664beb6a419fa20">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="9df578bdba6adeb53a256c48f85e04bf"></a><!-- doxytag: member="vtkGenericAttribute::GetMaxNorm" ref="9df578bdba6adeb53a256c48f85e04bf" args="()=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double vtkGenericAttribute::GetMaxNorm </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return the maximum euclidean norm for the tuples. <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>positive_result: result>=0 </dd></dl> <p>Implemented in <a class="el" href="a00202.html#8c50eabbbf35ba466a250479ec247c6e">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="cb09ec149208bb225e0ca812f6701f6f"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="cb09ec149208bb225e0ca812f6701f6f" args="(vtkGenericAdaptorCell *c)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double* vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00579.html">vtkGenericAdaptorCell</a> * </td> <td class="paramname"> <em>c</em> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Attribute at all points of cell `c'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>c_exists: c!=0 <p> c_valid: !c->IsAtEnd() </dd></dl> <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>result_exists: result!=0 <p> valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoin ts() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#ca05f6658e2742e59e38e1a7855d4b08">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="46b4b00339d5f002028972b02a655e70"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="46b4b00339d5f002028972b02a655e70" args="(vtkGenericAdaptorCell *c, double *tuple)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00579.html">vtkGenericAdaptorCell</a> * </td> <td class="paramname"> <em>c</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"> <em>tuple</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Put attribute at all points of cell `c' in `tuple'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>c_exists: c!=0 <p> c_valid: !c->IsAtEnd() <p> tuple_exists: tuple!=0 <p> valid_tuple: sizeof(tuple)>=GetNumberOfComponents()*c->GetCell()->GetNumberOfPoint s() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#6f5b837dbfc3dcd4c80aa4959c32d744">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="a81ad5833dca651f29452f4212304ad2"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="a81ad5833dca651f29452f4212304ad2" args="(vtkGenericCellIterator *c)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double* vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00583.html">vtkGenericCellIterator</a> * </td> <td class="paramname"> <em>c</em> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Attribute at all points of cell `c'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>c_exists: c!=0 <p> c_valid: !c->IsAtEnd() </dd></dl> <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>result_exists: result!=0 <p> valid_result: sizeof(result)==GetNumberOfComponents()*c->GetCell()->GetNumberOfPoin ts() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#450d55db1aec112934c6b4bd69717b77">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="bc9c1aab75a753a22d6f962c81b9b346"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="bc9c1aab75a753a22d6f962c81b9b346" args="(vtkGenericCellIterator *c, double *tuple)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00583.html">vtkGenericCellIterator</a> * </td> <td class="paramname"> <em>c</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"> <em>tuple</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Put attribute at all points of cell `c' in `tuple'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>c_exists: c!=0 <p> c_valid: !c->IsAtEnd() <p> tuple_exists: tuple!=0 <p> valid_tuple: sizeof(tuple)>=GetNumberOfComponents()*c->GetCell()->GetNumberOfPoint s() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#7095b321455b0ba20509395098eafeab">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="6b9c331bcf56f8cc5abce06ac9add4ef"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="6b9c331bcf56f8cc5abce06ac9add4ef" args="(vtkGenericPointIterator *p)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double* vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00602.html">vtkGenericPointIterator</a> * </td> <td class="paramname"> <em>p</em> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Value of the attribute at position `p'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>p_exists: p!=0 <p> p_valid: !p->IsAtEnd() </dd></dl> <dl class="post" compact><dt><b>Postcondition:</b></dt><dd>result_exists: result!=0 <p> valid_result_size: sizeof(result)==GetNumberOfComponents() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#6d3c027860aa6538ba28b1b57bcee6d5">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="3cdd8975117673dde82285f4a7602f40"></a><!-- doxytag: member="vtkGenericAttribute::GetTuple" ref="3cdd8975117673dde82285f4a7602f40" args="(vtkGenericPointIterator *p, double *tuple)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::GetTuple </td> <td>(</td> <td class="paramtype"><a class="el" href="a00602.html">vtkGenericPointIterator</a> * </td> <td class="paramname"> <em>p</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"> <em>tuple</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Put the value of the attribute at position `p' into `tuple'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>p_exists: p!=0 <p> p_valid: !p->IsAtEnd() <p> tuple_exists: tuple!=0 <p> valid_tuple_size: sizeof(tuple)>=GetNumberOfComponents() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#5db556b63b966b8c49df52fd32fd773a">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="b0649a92361b75100b094cd5d660e33b"></a><!-- doxytag: member="vtkGenericAttribute::GetComponent" ref="b0649a92361b75100b094cd5d660e33b" args="(int i, vtkGenericCellIterator *c, double *values)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::GetComponent </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00583.html">vtkGenericCellIterator</a> * </td> <td class="paramname"> <em>c</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double * </td> <td class="paramname"> <em>values</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Put component `i' of the attribute at all points of cell `c' in `values'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_component: (i>=0) && (i<<a class="el" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents()</a>) <p> c_exists: c!=0 <p> c_valid: !c->IsAtEnd() <p> values_exist: values!=0 <p> valid_values: sizeof(values)>=c->GetCell()->GetNumberOfPoints() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#023b081564061a50f749597c0e7518e0">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="cafeb8fc561657317cce7cc98ac06f75"></a><!-- doxytag: member="vtkGenericAttribute::GetComponent" ref="cafeb8fc561657317cce7cc98ac06f75" args="(int i, vtkGenericPointIterator *p)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual double vtkGenericAttribute::GetComponent </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00602.html">vtkGenericPointIterator</a> * </td> <td class="paramname"> <em>p</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Value of the component `i' of the attribute at position `p'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>valid_component: (i>=0) && (i<<a class="el" href="a00580.html#424ede059c0799fb8914e23f095b8324">GetNumberOfComponents()</a>) <p> p_exists: p!=0 <p> p_valid: !p->IsAtEnd() </dd></dl> <p>Implemented in <a class="el" href="a00202.html#e4bbc44cd379e2a6681b35073b0d4c14">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="b2f76e52eb30a7fb5c286d4b2d27c9b1"></a><!-- doxytag: member="vtkGenericAttribute::DeepCopy" ref="b2f76e52eb30a7fb5c286d4b2d27c9b1" args="(vtkGenericAttribute *other)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::DeepCopy </td> <td>(</td> <td class="paramtype"><a class="el" href="a00580.html">vtkGenericAttribute</a> * </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Recursive duplication of `other' in `this'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>other_exists: other!=0 <p> not_self: other!=this </dd></dl> <p>Implemented in <a class="el" href="a00202.html#8215a08d6ce50f704430350a0d1fc6a6">vtkBridgeAttribute</a>.</p> </div> </div><p> <a class="anchor" name="d5f18c4c4df14ccb71bdfaee099e8668"></a><!-- doxytag: member="vtkGenericAttribute::ShallowCopy" ref="d5f18c4c4df14ccb71bdfaee099e8668" args="(vtkGenericAttribute *other)=0" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkGenericAttribute::ShallowCopy </td> <td>(</td> <td class="paramtype"><a class="el" href="a00580.html">vtkGenericAttribute</a> * </td> <td class="paramname"> <em>other</em> </td> <td> ) </td> <td><code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Update `this' using fields of `other'. <dl class="pre" compact><dt><b>Precondition:</b></dt><dd>other_exists: other!=0 <p> not_self: other!=this </dd></dl> <p>Implemented in <a class="el" href="a00202.html#859d7a62fdfa5d2b5a63f61d1c3ff7fa">vtkBridgeAttribute</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Filtering/<a class="el" href="a04041.html">vtkGenericAttribute.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:03:54 2009 for VTK by <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>