<!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/vtkPropAssembly.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/vtkPropAssembly.h</h1><a href="a02339.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: vtkPropAssembly.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="l00046"></a>00046 <span class="preprocessor">#ifndef __vtkPropAssembly_h</span> <a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#define __vtkPropAssembly_h</span> <a name="l00048"></a>00048 <span class="preprocessor"></span> <a name="l00049"></a>00049 <span class="preprocessor">#include "<a class="code" href="a02113.html">vtkProp.h</a>"</span> <a name="l00050"></a>00050 <a name="l00051"></a><a class="code" href="a01320.html">00051</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a> : <span class="keyword">public</span> <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> <a name="l00052"></a>00052 { <a name="l00053"></a>00053 <span class="keyword">public</span>: <a name="l00054"></a><a class="code" href="a01320.html#e8c8618855bd1cea0c5d2ccb0d9ed783">00054</a> vtkTypeRevisionMacro(<a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>,<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>); <a name="l00055"></a>00055 <span class="keywordtype">void</span> <a class="code" href="a01317.html#68159056e27c3e2c4b372f6bd253e3f9">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00056"></a>00056 <a name="l00058"></a>00058 <span class="keyword">static</span> <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00059"></a>00059 <a name="l00061"></a>00061 <span class="keywordtype">void</span> AddPart(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *); <a name="l00062"></a>00062 <a name="l00064"></a>00064 <span class="keywordtype">void</span> RemovePart(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *); <a name="l00065"></a>00065 <a name="l00067"></a>00067 <a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a> *GetParts(); <a name="l00068"></a>00068 <a name="l00070"></a>00070 <a name="l00073"></a>00073 <span class="keywordtype">int</span> <a class="code" href="a01317.html#4d7c8be45744400fba096728ce81f33a">RenderOpaqueGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *ren); <a name="l00074"></a>00074 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#cf64ca8da81629df108f095c6535548e">RenderTranslucentPolygonalGeometry</a>( <a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *ren); <a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#b7b90eeef384ac8072748f42d2c25ff2">RenderVolumetricGeometry</a>( <a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *ren); <a name="l00076"></a>00076 <span class="keywordtype">int</span> <a class="code" href="a01317.html#d7e0fa1336c19247f11a73b4ebaddf13">RenderOverlay</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *ren); <a name="l00078"></a>00078 <a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#6e32af79f4756a287a61017b7c2f7364">HasTranslucentPolygonalGeometry</a>(); <a name="l00081"></a>00081 <a name="l00085"></a>00085 <span class="keywordtype">void</span> <a class="code" href="a01317.html#f2034bece75524dfa42553396d208a22">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *); <a name="l00086"></a>00086 <a name="l00090"></a>00090 <span class="keywordtype">double</span> *<a class="code" href="a01317.html#7e1d63e4282aa0a2f78c8bb3cc835368">GetBounds</a>(); <a name="l00091"></a>00091 <a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="a01317.html#e35249f4300af02ba868489ff25f3a2b">ShallowCopy</a>(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *Prop); <a name="l00094"></a>00094 <a name="l00097"></a>00097 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00098"></a>00098 <a name="l00100"></a>00100 <a name="l00108"></a>00108 <span class="keywordtype">void</span> <a class="code" href="a01317.html#92b1e8490b73f3b8045da0da6ef48d4c">InitPathTraversal</a>(); <a name="l00109"></a>00109 <a class="code" href="a00143.html" title="a list of nodes that form an assembly path">vtkAssemblyPath</a> *<a class="code" href="a01317.html#48fa17a5ca9a1824e84805708dc85b40">GetNextPath</a>(); <a name="l00110"></a>00110 <span class="keywordtype">int</span> <a class="code" href="a01317.html#49a999901f47331fab497bbd5fedff70">GetNumberOfPaths</a>(); <a name="l00112"></a>00112 <a name="l00113"></a>00113 <span class="comment">//BTX</span> <a name="l00117"></a>00117 <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="a01317.html#1c3c2a94e9eaad6efda59c0b55bc9742">BuildPaths</a>(<a class="code" href="a00144.html" title="a list of lists of props representing an assembly hierarchy">vtkAssemblyPaths</a> *paths, <a class="code" href="a00143.html" title="a list of nodes that form an assembly path">vtkAssemblyPath</a> *path); <a name="l00118"></a>00118 <span class="comment">//ETX </span> <a name="l00119"></a>00119 <a name="l00120"></a>00120 <span class="keyword">protected</span>: <a name="l00121"></a>00121 <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>(); <a name="l00122"></a>00122 ~<a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>(); <a name="l00123"></a>00123 <a name="l00124"></a><a class="code" href="a01320.html#00ca51e6c21df478d47aecb70c32ac0b">00124</a> <a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a> *Parts; <a name="l00125"></a><a class="code" href="a01320.html#4aa076aebff9c438e8f5d7382ae684e9">00125</a> <span class="keywordtype">double</span> Bounds[6]; <a name="l00126"></a>00126 <a name="l00127"></a>00127 <span class="comment">// Support the BuildPaths() method,</span> <a name="l00128"></a><a class="code" href="a01320.html#84c109c6fb2467a76b881f8ee1adb8ce">00128</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> PathTime; <a name="l00129"></a>00129 <span class="keywordtype">void</span> UpdatePaths(); <span class="comment">//apply transformations and properties recursively</span> <a name="l00130"></a>00130 <span class="keyword">private</span>: <a name="l00131"></a>00131 <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>(<span class="keyword">const</span> <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>&); <span class="comment">// Not implemented.</span> <a name="l00132"></a>00132 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01320.html" title="create hierarchies of props">vtkPropAssembly</a>&); <span class="comment">// Not implemented.</span> <a name="l00133"></a>00133 }; <a name="l00134"></a>00134 <a name="l00135"></a>00135 <span class="preprocessor">#endif</span> <a name="l00136"></a>00136 <span class="preprocessor"></span> <a name="l00137"></a>00137 <a name="l00138"></a>00138 <a name="l00139"></a>00139 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35: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>