<!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: vtkUndirectedGraph 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>vtkUndirectedGraph Class Reference</h1><!-- doxytag: class="vtkUndirectedGraph" --><!-- doxytag: inherits="vtkGraph" --><code>#include <<a class="el" href="a04182.html">vtkUndirectedGraph.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkUndirectedGraph:</div> <div class="dynsection"> <p><center><img src="a15509.png" border="0" usemap="#a15510" alt="Inheritance graph"></center> <map name="a15510"> <area shape="rect" href="a01073.html" title="An editable undirected graph." alt="" coords="6,379,198,406"><area shape="rect" href="a00654.html" title="Base class for graph data types." alt="" coords="63,230,140,256"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="48,155,155,182"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="62,80,142,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="47,6,156,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkUndirectedGraph:</div> <div class="dynsection"> <p><center><img src="a15511.png" border="0" usemap="#a15512" alt="Collaboration graph"></center> <map name="a15512"> <area shape="rect" href="a00654.html" title="Base class for graph data types." alt="" coords="2056,240,2133,267"><area shape="rect" href="a00433.html" title="helper for the vtkGraph class that allows the graph to be distributed across multiple..." alt="" coords="2315,171,2499,197"><area shape="rect" href="a00362.html" title="general representation of visualization data" alt="" coords="1777,905,1884,932"><area shape="rect" href="a01574.html" title="abstract class specifies interface for visualization network source" alt="" coords="2365,883,2448,909"><area shape="rect" href="a01306.html" title="abstract class specifies interface for visualization filters" alt="" coords="2031,852,2159,879"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,565,524,592"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1064,763,1163,789"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1464,708,1563,735"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="675,667,824,693"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="695,825,804,852"><area shape="rect" href="a00538.html" title="represent and manipulate fields of data" alt="" coords="1464,441,1563,468"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1052,515,1175,541"><area shape="rect" href="a01250.html" title="represent and manipulate 3D points" alt="" coords="1792,345,1869,372"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="849,565,991,592"><area shape="rect" href="a00664.html" title="Internal representation of vtkGraph." alt="" coords="1251,312,1381,339"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,1069,116,1096"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,1083,565,1109"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,1069,300,1096"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,300,289,327"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2036,483,2153,509"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,956,575,983"><area shape="rect" href="a00376.html" title="represent and manipulate attribute data in a dataset" alt="" coords="1757,189,1904,216"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1463,492,1564,519"><area shape="rect" href="a00540.html" title="vtkFieldData::CopyFieldFlag" alt="" coords="1016,413,1211,440"><area shape="rect" href="a01784.html" title="dynamic, self-adjusting array of unsigned char" alt="" coords="1751,456,1911,483"><area shape="rect" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType" alt="" coords="1773,403,1888,429"><area shape="rect" href="a00539.html" title="vtkFieldData::BasicIterator" alt="" coords="1421,160,1605,187"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a15513.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> An undirected graph. <p> <a class="el" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a> is a collection of vertices along with a collection of undirected edges (they connect two vertices in no particular order). <a class="el" href="a00654.html#97cee6017324e9709f7dd41f51d3d7ae">ShallowCopy()</a>, <a class="el" href="a00654.html#b264c5c0dbaa400553abdc4aa6b6f02b">DeepCopy()</a>, <a class="el" href="a00654.html#93c80d654a851b754342cc0f81a4ad28">CheckedShallowCopy()</a>, <a class="el" href="a00654.html#3733a589dd1446186715259671912b10">CheckedDeepCopy()</a> accept instances of <a class="el" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a> and <a class="el" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>. GetOutEdges(v, it) and GetInEdges(v, it) return the same list of edges, which is the list of all edges which have a v as an endpoint. GetInDegree(v), GetOutDegree(v) and GetDegree(v) all return the full degree of vertex v.<p> <a class="el" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a> is read-only. To create an undirected graph, use an instance of <a class="el" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>, then you may set the structure to a <a class="el" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a> using <a class="el" href="a00654.html#97cee6017324e9709f7dd41f51d3d7ae">ShallowCopy()</a>.<p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00654.html" title="Base class for graph data types.">vtkGraph</a> <a class="el" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a></dd></dl> <dl class="user" compact><dt><b>Tests:</b></dt><dd><a class="el" href="c2_vtk_t_17.html#c2_vtk_t_vtkUndirectedGraph">vtkUndirectedGraph (Tests)</a> </dd></dl> <p>Definition at line <a class="el" href="a04182.html#l00049">49</a> of file <a class="el" href="a04182.html">vtkUndirectedGraph.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="a00654.html">vtkGraph</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#341c630897e4eb7c6e0a4aa42d0f5a45">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="a01776.html#3088a225c619f568f5e9d9d12ccefd6e">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="a01776.html#f204c04a4d1a11ecf25896b96c1b012a">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="a01776.html#873e4dc6bc958d7f8b601448896d8fc5">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 int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#aab0cc48d9e8fab32c7fee06cb20e69f">GetDataObjectType</a> ()</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="a01776.html#21bb58f62dffb15bfbfd0a5fe8901a14">GetInDegree</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="a00871.html">vtkInEdgeType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#5a9320f4624b7ebe9816adf5ae6efdf3">GetInEdge</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i)</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="a01776.html#c6d5a8d57d62f310dc556e3f3b750be9">GetInEdge</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> i, <a class="el" href="a00657.html">vtkGraphEdge</a> *e)</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="a01776.html#632e92f3997f76066b1be4689c67318f">GetInEdges</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a class="el" href="a00870.html">vtkInEdgeIterator</a> *it)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01776.html">vtkUndirectedGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#faf71c727d2276dbc16f3aa90e16b4a3">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#1d6361a1aa3ab983d916b6e547b8cb70">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01776.html">vtkUndirectedGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#ebdb3a38772fd0fc436185079498f95b">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01776.html">vtkUndirectedGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#bdf206574397a71c9d648b97e7f30afc">GetData</a> (<a class="el" href="a00872.html">vtkInformation</a> *info)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01776.html">vtkUndirectedGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#07aaed314283f97df7a0ca151963cc8b">GetData</a> (<a class="el" href="a00895.html">vtkInformationVector</a> *v, int i=0)</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="a01776.html#58863f620a3b45faec229b96563c3390">vtkUndirectedGraph</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#950dc761570a81e17beab1578d5e8892">~vtkUndirectedGraph</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="a01776.html#dd4cf5e4fe15ff94bf0b9c8523796a4b">IsStructureValid</a> (<a class="el" href="a00654.html">vtkGraph</a> *g)</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="a01776.html#74a5cf6367834f5732e8466bebf9ae14">GetInEdges</a> (<a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, const <a class="el" href="a00871.html">vtkInEdgeType</a> *&edges, <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> &nedges)</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="341c630897e4eb7c6e0a4aa42d0f5a45"></a><!-- doxytag: member="vtkUndirectedGraph::Superclass" ref="341c630897e4eb7c6e0a4aa42d0f5a45" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00654.html">vtkGraph</a> <a class="el" href="a00654.html">vtkUndirectedGraph::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00654.html#331032de5dbbc39eedfb11ab11aa2273">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#1e9e4ae1818a6c58c312b58a94fc3be8">vtkMutableUndirectedGraph</a>.</p> <p>Definition at line <a class="el" href="a04182.html#l00053">53</a> of file <a class="el" href="a04182.html">vtkUndirectedGraph.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="58863f620a3b45faec229b96563c3390"></a><!-- doxytag: member="vtkUndirectedGraph::vtkUndirectedGraph" ref="58863f620a3b45faec229b96563c3390" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkUndirectedGraph::vtkUndirectedGraph </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="950dc761570a81e17beab1578d5e8892"></a><!-- doxytag: member="vtkUndirectedGraph::~vtkUndirectedGraph" ref="950dc761570a81e17beab1578d5e8892" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkUndirectedGraph::~vtkUndirectedGraph </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="faf71c727d2276dbc16f3aa90e16b4a3"></a><!-- doxytag: member="vtkUndirectedGraph::New" ref="faf71c727d2276dbc16f3aa90e16b4a3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01776.html">vtkUndirectedGraph</a>* vtkUndirectedGraph::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a00362.html#13d4f201619a19a9b39978e92239cd98">vtkDataObject</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#c46f536ce7493b33739f34c5f968ccf5">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="3088a225c619f568f5e9d9d12ccefd6e"></a><!-- doxytag: member="vtkUndirectedGraph::GetClassName" ref="3088a225c619f568f5e9d9d12ccefd6e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkUndirectedGraph::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="a00654.html#2de90ef7c26974b67d9c096c2b83085d">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#145206ad25231e11b9f84d097464ebaf">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="1d6361a1aa3ab983d916b6e547b8cb70"></a><!-- doxytag: member="vtkUndirectedGraph::IsTypeOf" ref="1d6361a1aa3ab983d916b6e547b8cb70" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkUndirectedGraph::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="a00654.html#c5aea7669e34d666a29e5ae4e2e6a8dd">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#4e276f1e5b7c4fe213d0241122e98dcc">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="f204c04a4d1a11ecf25896b96c1b012a"></a><!-- doxytag: member="vtkUndirectedGraph::IsA" ref="f204c04a4d1a11ecf25896b96c1b012a" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkUndirectedGraph::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="a00654.html#4bbe3c34b4c84d2a6fe4b8d16c7b3077">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#e1ecf774bcc5d671b17beaeb1d175fa9">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="ebdb3a38772fd0fc436185079498f95b"></a><!-- doxytag: member="vtkUndirectedGraph::SafeDownCast" ref="ebdb3a38772fd0fc436185079498f95b" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01776.html">vtkUndirectedGraph</a>* vtkUndirectedGraph::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="a00654.html#f88f7dd8a21d7b022f5f2c86107766f2">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#5b7bd1a13fa3c0ee3b161c4413936943">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="873e4dc6bc958d7f8b601448896d8fc5"></a><!-- doxytag: member="vtkUndirectedGraph::PrintSelf" ref="873e4dc6bc958d7f8b601448896d8fc5" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkUndirectedGraph::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="a00654.html#97e1719f51cf2d0104e0718cfbb75b7b">vtkGraph</a>.</p> <p>Reimplemented in <a class="el" href="a01073.html#fab465ed1e01dea6f6ba769038ef1b28">vtkMutableUndirectedGraph</a>.</p> </div> </div><p> <a class="anchor" name="aab0cc48d9e8fab32c7fee06cb20e69f"></a><!-- doxytag: member="vtkUndirectedGraph::GetDataObjectType" ref="aab0cc48d9e8fab32c7fee06cb20e69f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkUndirectedGraph::GetDataObjectType </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return what type of dataset this is. <p>Reimplemented from <a class="el" href="a00654.html#7868f9ba271424ed385e436f48010deb">vtkGraph</a>.</p> <p>Definition at line <a class="el" href="a04182.html#l00057">57</a> of file <a class="el" href="a04182.html">vtkUndirectedGraph.h</a>.</p> </div> </div><p> <a class="anchor" name="21bb58f62dffb15bfbfd0a5fe8901a14"></a><!-- doxytag: member="vtkUndirectedGraph::GetInDegree" ref="21bb58f62dffb15bfbfd0a5fe8901a14" args="(vtkIdType v)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> vtkUndirectedGraph::GetInDegree </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>v</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Returns the full degree of the vertex. <p>Reimplemented from <a class="el" href="a00654.html#d57b421461510206123401cbe49eea49">vtkGraph</a>.</p> </div> </div><p> <a class="anchor" name="5a9320f4624b7ebe9816adf5ae6efdf3"></a><!-- doxytag: member="vtkUndirectedGraph::GetInEdge" ref="5a9320f4624b7ebe9816adf5ae6efdf3" args="(vtkIdType v, vtkIdType i)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="a00871.html">vtkInEdgeType</a> vtkUndirectedGraph::GetInEdge </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>i</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> Random-access method for retrieving the in edges of a vertex. For an undirected graph, this is the same as the out edges. <p>Reimplemented from <a class="el" href="a00654.html#496ca01579222242644007c2ea4ec44d">vtkGraph</a>.</p> </div> </div><p> <a class="anchor" name="c6d5a8d57d62f310dc556e3f3b750be9"></a><!-- doxytag: member="vtkUndirectedGraph::GetInEdge" ref="c6d5a8d57d62f310dc556e3f3b750be9" args="(vtkIdType v, vtkIdType i, vtkGraphEdge *e)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkUndirectedGraph::GetInEdge </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>i</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00657.html">vtkGraphEdge</a> * </td> <td class="paramname"> <em>e</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Random-access method for retrieving incoming edges to vertex v. The method fills the <a class="el" href="a00657.html" title="Representation of a single graph edge.">vtkGraphEdge</a> instance with the id, source, and target of the edge. This method is provided for wrappers, <a class="el" href="a01776.html#5a9320f4624b7ebe9816adf5ae6efdf3">GetInEdge(vtkIdType, vtkIdType)</a> is preferred. <p>Reimplemented from <a class="el" href="a00654.html#243f075a7f74ad9a06928eba03324684">vtkGraph</a>.</p> <p>Definition at line <a class="el" href="a04182.html#l00075">75</a> of file <a class="el" href="a04182.html">vtkUndirectedGraph.h</a>.</p> </div> </div><p> <a class="anchor" name="bdf206574397a71c9d648b97e7f30afc"></a><!-- doxytag: member="vtkUndirectedGraph::GetData" ref="bdf206574397a71c9d648b97e7f30afc" args="(vtkInformation *info)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01776.html">vtkUndirectedGraph</a>* vtkUndirectedGraph::GetData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00872.html">vtkInformation</a> * </td> <td class="paramname"> <em>info</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Retrieve a graph from an information vector. <p>Reimplemented from <a class="el" href="a00654.html#82bd9f44771e77f1149af664e32b6614">vtkGraph</a>.</p> </div> </div><p> <a class="anchor" name="07aaed314283f97df7a0ca151963cc8b"></a><!-- doxytag: member="vtkUndirectedGraph::GetData" ref="07aaed314283f97df7a0ca151963cc8b" args="(vtkInformationVector *v, int i=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01776.html">vtkUndirectedGraph</a>* vtkUndirectedGraph::GetData </td> <td>(</td> <td class="paramtype"><a class="el" href="a00895.html">vtkInformationVector</a> * </td> <td class="paramname"> <em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>i</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Retrieve a graph from an information vector. <p>Reimplemented from <a class="el" href="a00654.html#d74f654e08be8838efa976d4f232d48d">vtkGraph</a>.</p> </div> </div><p> <a class="anchor" name="632e92f3997f76066b1be4689c67318f"></a><!-- doxytag: member="vtkUndirectedGraph::GetInEdges" ref="632e92f3997f76066b1be4689c67318f" args="(vtkIdType v, vtkInEdgeIterator *it)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkUndirectedGraph::GetInEdges </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00870.html">vtkInEdgeIterator</a> * </td> <td class="paramname"> <em>it</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Initialize the iterator to get the incoming edges to a vertex. For an undirected graph, this is all incident edges. <p>Reimplemented from <a class="el" href="a00654.html#a1525c39b69a00be27f299293786d598">vtkGraph</a>.</p> <p>Definition at line <a class="el" href="a04182.html#l00090">90</a> of file <a class="el" href="a04182.html">vtkUndirectedGraph.h</a>.</p> </div> </div><p> <a class="anchor" name="dd4cf5e4fe15ff94bf0b9c8523796a4b"></a><!-- doxytag: member="vtkUndirectedGraph::IsStructureValid" ref="dd4cf5e4fe15ff94bf0b9c8523796a4b" args="(vtkGraph *g)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool vtkUndirectedGraph::IsStructureValid </td> <td>(</td> <td class="paramtype"><a class="el" href="a00654.html">vtkGraph</a> * </td> <td class="paramname"> <em>g</em> </td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Check the structure, and accept it if it is a valid undirected graph. <p>Implements <a class="el" href="a00654.html#fe7101c5c57cb394f5db409cba70a7c1">vtkGraph</a>.</p> </div> </div><p> <a class="anchor" name="74a5cf6367834f5732e8466bebf9ae14"></a><!-- doxytag: member="vtkUndirectedGraph::GetInEdges" ref="74a5cf6367834f5732e8466bebf9ae14" args="(vtkIdType v, const vtkInEdgeType *&edges, vtkIdType &nedges)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkUndirectedGraph::GetInEdges </td> <td>(</td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> </td> <td class="paramname"> <em>v</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a00871.html">vtkInEdgeType</a> *& </td> <td class="paramname"> <em>edges</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> & </td> <td class="paramname"> <em>nedges</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> For iterators, returns the same edge list as <a class="el" href="a00654.html#a9e590baa974a7fc0f601c8c7383fd3f">GetOutEdges()</a>. <p>Reimplemented from <a class="el" href="a00654.html#aacdb2f91e0abffd896aadf57de18d31">vtkGraph</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="a04182.html">vtkUndirectedGraph.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:42:17 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>