<!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: dox/Filtering/vtkMutableUndirectedGraph.h Source File</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><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/Filtering/vtkMutableUndirectedGraph.h</h1><a href="a02310.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkMutableUndirectedGraph.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span> <a name="l00016"></a>00016 <span class="comment"> Copyright 2008 Sandia Corporation.</span> <a name="l00017"></a>00017 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span> <a name="l00018"></a>00018 <span class="comment"> the U.S. Government retains certain rights in this software.</span> <a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span> <a name="l00036"></a>00036 <span class="preprocessor">#ifndef __vtkMutableUndirectedGraph_h</span> <a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define __vtkMutableUndirectedGraph_h</span> <a name="l00038"></a>00038 <span class="preprocessor"></span> <a name="l00039"></a>00039 <span class="preprocessor">#include "<a class="code" href="a02392.html">vtkUndirectedGraph.h</a>"</span> <a name="l00040"></a>00040 <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="a00450.html" title="Iterates through all edges in a graph.">vtkEdgeListIterator</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a00657.html" title="Representation of a single graph edge.">vtkGraphEdge</a>; <a name="l00043"></a>00043 <a name="l00044"></a><a class="code" href="a01073.html">00044</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a> : <span class="keyword">public</span> <a class="code" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a> <a name="l00045"></a>00045 { <a name="l00046"></a>00046 <span class="keyword">public</span>: <a name="l00047"></a>00047 <span class="keyword">static</span> <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a> *<a class="code" href="a01776.html#faf71c727d2276dbc16f3aa90e16b4a3">New</a>(); <a name="l00048"></a><a class="code" href="a01073.html#1e9e4ae1818a6c58c312b58a94fc3be8">00048</a> vtkTypeRevisionMacro(<a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>, <a class="code" href="a01776.html" title="An undirected graph.">vtkUndirectedGraph</a>); <a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="a01776.html#873e4dc6bc958d7f8b601448896d8fc5">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00050"></a>00050 <a name="l00059"></a>00059 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> AddVertex(); <a name="l00060"></a>00060 <a name="l00074"></a>00074 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> AddVertex(<a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr); <a name="l00075"></a>00075 <a name="l00076"></a>00076 <span class="comment">//BTX</span> <a name="l00078"></a>00078 <span class="comment"></span> <a name="l00088"></a>00088 <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> AddVertex(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& pedigreeId); <a name="l00089"></a>00089 <span class="comment">//ETX</span> <a name="l00091"></a>00091 <span class="comment"></span> <a name="l00098"></a>00098 <a class="code" href="a00454.html">vtkEdgeType</a> AddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v); <a name="l00099"></a>00099 <a name="l00101"></a>00101 <a name="l00107"></a>00107 <a class="code" href="a00454.html">vtkEdgeType</a> AddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a name="l00108"></a>00108 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr); <a name="l00110"></a>00110 <a name="l00111"></a>00111 <span class="comment">//BTX</span> <a name="l00113"></a>00113 <span class="comment"></span> <a name="l00120"></a>00120 <a class="code" href="a00454.html">vtkEdgeType</a> AddEdge(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& uPedigreeId, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a name="l00121"></a>00121 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00123"></a>00123 <a name="l00125"></a>00125 <a name="l00132"></a>00132 <a class="code" href="a00454.html">vtkEdgeType</a> AddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& vPedigreeId, <a name="l00133"></a>00133 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00135"></a>00135 <a name="l00137"></a>00137 <a name="l00144"></a>00144 <a class="code" href="a00454.html">vtkEdgeType</a> AddEdge(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& uPedigreeId, <a name="l00145"></a>00145 <span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& vPedigreeId, <a name="l00146"></a>00146 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00147"></a>00147 <span class="comment">//ETX</span> <a name="l00149"></a>00149 <span class="comment"></span> <a name="l00158"></a>00158 <span class="keywordtype">void</span> LazyAddVertex(); <a name="l00159"></a>00159 <a name="l00171"></a>00171 <span class="keywordtype">void</span> LazyAddVertex(<a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr); <a name="l00172"></a>00172 <a name="l00173"></a>00173 <span class="comment">//BTX</span> <a name="l00175"></a>00175 <span class="comment"></span> <a name="l00181"></a>00181 <span class="keywordtype">void</span> LazyAddVertex(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& pedigreeId); <a name="l00182"></a>00182 <span class="comment">//ETX</span> <a name="l00184"></a>00184 <span class="comment"></span> <a name="l00189"></a>00189 <span class="keywordtype">void</span> LazyAddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v); <a name="l00190"></a>00190 <a name="l00198"></a>00198 <span class="keywordtype">void</span> LazyAddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr); <a name="l00199"></a>00199 <a name="l00200"></a>00200 <span class="comment">//BTX </span> <a name="l00202"></a>00202 <span class="comment"></span> <a name="l00210"></a>00210 <span class="keywordtype">void</span> LazyAddEdge(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& uPedigreeId, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v, <a name="l00211"></a>00211 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00213"></a>00213 <a name="l00215"></a>00215 <a name="l00223"></a>00223 <span class="keywordtype">void</span> LazyAddEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& vPedigreeId, <a name="l00224"></a>00224 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00226"></a>00226 <a name="l00228"></a>00228 <a name="l00236"></a>00236 <span class="keywordtype">void</span> LazyAddEdge(<span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& uPedigreeId, <a name="l00237"></a>00237 <span class="keyword">const</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>& vPedigreeId, <a name="l00238"></a>00238 <a class="code" href="a01811.html" title="An array holding vtkVariants.">vtkVariantArray</a> *propertyArr = 0); <a name="l00239"></a>00239 <span class="comment">//ETX</span> <a name="l00241"></a>00241 <span class="comment"></span> <a name="l00245"></a>00245 <a class="code" href="a00657.html" title="Representation of a single graph edge.">vtkGraphEdge</a> *AddGraphEdge(<a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> u, <a class="code" href="a02149.html#20bd6b6dedfe1bbb096c50354d52cc7e">vtkIdType</a> v); <a name="l00246"></a>00246 <a name="l00247"></a>00247 <span class="keyword">protected</span>: <a name="l00248"></a>00248 <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>(); <a name="l00249"></a>00249 ~<a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>(); <a name="l00250"></a>00250 <a name="l00252"></a><a class="code" href="a01073.html#7586f20856d0e196f651f40bb761ddb6">00252</a> <a class="code" href="a00657.html" title="Representation of a single graph edge.">vtkGraphEdge</a> *GraphEdge; <a name="l00253"></a>00253 <a name="l00254"></a>00254 <span class="keyword">private</span>: <a name="l00255"></a>00255 <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>(<span class="keyword">const</span> <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>&); <span class="comment">// Not implemented.</span> <a name="l00256"></a>00256 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01073.html" title="An editable undirected graph.">vtkMutableUndirectedGraph</a>&); <span class="comment">// Not implemented.</span> <a name="l00257"></a>00257 }; <a name="l00258"></a>00258 <a name="l00259"></a>00259 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:16 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>