<!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: vtkEdgeCenters 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>vtkEdgeCenters Class Reference</h1><!-- doxytag: class="vtkEdgeCenters" --><!-- doxytag: inherits="vtkPolyDataAlgorithm" --><code>#include <<a class="el" href="a04806.html">vtkEdgeCenters.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkEdgeCenters:</div> <div class="dynsection"> <p><center><img src="a09383.png" border="0" usemap="#a09384" alt="Inheritance graph"></center> <map name="a09384"> <area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="5,229,160,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="33,155,132,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="43,80,123,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="28,5,137,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkEdgeCenters:</div> <div class="dynsection"> <p><center><img src="a09385.png" border="0" usemap="#a09386" alt="Collaboration graph"></center> <map name="a09386"> <area shape="rect" href="a01261.html" title="Superclass for algorithms that produce only polydata as output." alt="" coords="173,499,328,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="a09387.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> generate points at center of edges <p> <a class="el" href="a00446.html" title="generate points at center of edges">vtkEdgeCenters</a> is a filter that takes as input any graph and generates on output points at the center of the cells in the dataset. These points can be used for placing glyphs (<a class="el" href="a00651.html" title="copy oriented and scaled glyph geometry to every input point">vtkGlyph3D</a>) or labeling (<a class="el" href="a00938.html" title="draw text labels at dataset points">vtkLabeledDataMapper</a>). (The center is the parametric center of the cell, not necessarily the geometric or bounding box center.) The edge attributes will be associated with the points on output.<p> <dl class="warning" compact><dt><b>Warning:</b></dt><dd>You can choose to generate just points or points and vertex cells. Vertex cells are drawn during rendering; points are not. Use the ivar VertexCells to generate cells.</dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00651.html" title="copy oriented and scaled glyph geometry to every input point">vtkGlyph3D</a> <a class="el" href="a00938.html" title="draw text labels at dataset points">vtkLabeledDataMapper</a> </dd></dl> <p>Definition at line <a class="el" href="a04806.html#l00039">39</a> of file <a class="el" href="a04806.html">vtkEdgeCenters.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="a01261.html">vtkPolyDataAlgorithm</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#00f5f428251332bb991e57b66ab336ed">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="a00446.html#86ac2a4e5f1b2391aaac867f4a8b5e9b">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="a00446.html#6537622bc7935e1fd3b695f37fc6111d">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#83739dd87943dfd7efdbd3c89bb9a59f">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</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="a00446.html#629d7d8aeb0136d1c889907e8daf8443">SetVertexCells</a> (int)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#1ed91119386dd478171cc6aa1b41b675">GetVertexCells</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#b2a8908b49382b8317cb2eeaf3c7e7fc">VertexCellsOn</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#77801a0046db84f800b0c35fadb37e29">VertexCellsOff</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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#661a2c9a0f2572756d5fbf8d15650d75">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a00446.html">vtkEdgeCenters</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#56225347184701f0bbecf0d06580fc71">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="a00446.html">vtkEdgeCenters</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#a8e60aa2a6f8fda45a2ff6dbfb8e147b">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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#da3a83adac152a09def8723942372953">vtkEdgeCenters</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#caa4aa2d6454a19df5ebc3f3769f61c6">~vtkEdgeCenters</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#93f92dea003a903872e9f50a482e8f21">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">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#54cfcd079724fd1fe7f4111f911e4ee3">FillInputPortInformation</a> (int port, <a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00446.html#fc283eb0d6c0f9dd08be5d4acca6e066">VertexCells</a></td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="00f5f428251332bb991e57b66ab336ed"></a><!-- doxytag: member="vtkEdgeCenters::Superclass" ref="00f5f428251332bb991e57b66ab336ed" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01261.html">vtkPolyDataAlgorithm</a> <a class="el" href="a01261.html">vtkEdgeCenters::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01261.html#0ef1960e1f3d6980b058ab47b5475b91">vtkPolyDataAlgorithm</a>.</p> <p>Definition at line <a class="el" href="a04806.html#l00042">42</a> of file <a class="el" href="a04806.html">vtkEdgeCenters.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="da3a83adac152a09def8723942372953"></a><!-- doxytag: member="vtkEdgeCenters::vtkEdgeCenters" ref="da3a83adac152a09def8723942372953" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkEdgeCenters::vtkEdgeCenters </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="caa4aa2d6454a19df5ebc3f3769f61c6"></a><!-- doxytag: member="vtkEdgeCenters::~vtkEdgeCenters" ref="caa4aa2d6454a19df5ebc3f3769f61c6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkEdgeCenters::~vtkEdgeCenters </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a04806.html#l00057">57</a> of file <a class="el" href="a04806.html">vtkEdgeCenters.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="86ac2a4e5f1b2391aaac867f4a8b5e9b"></a><!-- doxytag: member="vtkEdgeCenters::GetClassName" ref="86ac2a4e5f1b2391aaac867f4a8b5e9b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkEdgeCenters::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="a01261.html#117691a3be177e85a0eb7e54b011c9de">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="661a2c9a0f2572756d5fbf8d15650d75"></a><!-- doxytag: member="vtkEdgeCenters::IsTypeOf" ref="661a2c9a0f2572756d5fbf8d15650d75" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkEdgeCenters::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="a01261.html#6e4df93069945e2df17a891c6f4cd557">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="6537622bc7935e1fd3b695f37fc6111d"></a><!-- doxytag: member="vtkEdgeCenters::IsA" ref="6537622bc7935e1fd3b695f37fc6111d" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkEdgeCenters::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="a01261.html#b0133191c934f596dac2a21fd5a8da20">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="56225347184701f0bbecf0d06580fc71"></a><!-- doxytag: member="vtkEdgeCenters::SafeDownCast" ref="56225347184701f0bbecf0d06580fc71" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00446.html">vtkEdgeCenters</a>* vtkEdgeCenters::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="a01261.html#3a09aba4f394c174457d17e9bc08af04">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="83739dd87943dfd7efdbd3c89bb9a59f"></a><!-- doxytag: member="vtkEdgeCenters::PrintSelf" ref="83739dd87943dfd7efdbd3c89bb9a59f" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkEdgeCenters::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="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="a8e60aa2a6f8fda45a2ff6dbfb8e147b"></a><!-- doxytag: member="vtkEdgeCenters::New" ref="a8e60aa2a6f8fda45a2ff6dbfb8e147b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a00446.html">vtkEdgeCenters</a>* vtkEdgeCenters::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct object with vertex cell generation turned off. <p>Reimplemented from <a class="el" href="a01261.html#cf785ac526132296ff652c636f713b5e">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="629d7d8aeb0136d1c889907e8daf8443"></a><!-- doxytag: member="vtkEdgeCenters::SetVertexCells" ref="629d7d8aeb0136d1c889907e8daf8443" args="(int)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkEdgeCenters::SetVertexCells </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Enable/disable the generation of vertex cells. </div> </div><p> <a class="anchor" name="1ed91119386dd478171cc6aa1b41b675"></a><!-- doxytag: member="vtkEdgeCenters::GetVertexCells" ref="1ed91119386dd478171cc6aa1b41b675" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkEdgeCenters::GetVertexCells </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Enable/disable the generation of vertex cells. </div> </div><p> <a class="anchor" name="b2a8908b49382b8317cb2eeaf3c7e7fc"></a><!-- doxytag: member="vtkEdgeCenters::VertexCellsOn" ref="b2a8908b49382b8317cb2eeaf3c7e7fc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkEdgeCenters::VertexCellsOn </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Enable/disable the generation of vertex cells. </div> </div><p> <a class="anchor" name="77801a0046db84f800b0c35fadb37e29"></a><!-- doxytag: member="vtkEdgeCenters::VertexCellsOff" ref="77801a0046db84f800b0c35fadb37e29" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkEdgeCenters::VertexCellsOff </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Enable/disable the generation of vertex cells. </div> </div><p> <a class="anchor" name="93f92dea003a903872e9f50a482e8f21"></a><!-- doxytag: member="vtkEdgeCenters::RequestData" ref="93f92dea003a903872e9f50a482e8f21" args="(vtkInformation *, vtkInformationVector **, vtkInformationVector *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkEdgeCenters::RequestData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </td> <td class="paramname"> <em>request</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> ** </td> <td class="paramname"> <em>inputVector</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> * </td> <td class="paramname"> <em>outputVector</em></td><td> </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 by the superclass. This is the method you should override. <p>Reimplemented from <a class="el" href="a01261.html#6b5a43ab1f9bbcb368c7dc83e4afe068">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <a class="anchor" name="54cfcd079724fd1fe7f4111f911e4ee3"></a><!-- doxytag: member="vtkEdgeCenters::FillInputPortInformation" ref="54cfcd079724fd1fe7f4111f911e4ee3" args="(int port, vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkEdgeCenters::FillInputPortInformation </td> <td>(</td> <td class="paramtype">int </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> * </td> <td class="paramname"> <em>info</em></td><td> </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="a01261.html#a9084b97ab9c0c8c76e490fa9776a832">vtkPolyDataAlgorithm</a>.</p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="fc283eb0d6c0f9dd08be5d4acca6e066"></a><!-- doxytag: member="vtkEdgeCenters::VertexCells" ref="fc283eb0d6c0f9dd08be5d4acca6e066" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="a00446.html#fc283eb0d6c0f9dd08be5d4acca6e066">vtkEdgeCenters::VertexCells</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a04806.html#l00062">62</a> of file <a class="el" href="a04806.html">vtkEdgeCenters.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Infovis/<a class="el" href="a04806.html">vtkEdgeCenters.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:00:50 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>