<!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/Hybrid/vtkAnnotatedCubeActor.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/Hybrid/vtkAnnotatedCubeActor.h</h1><a href="a02808.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: vtkAnnotatedCubeActor.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="l00041"></a>00041 <span class="preprocessor">#ifndef __vtkAnnotatedCubeActor_h</span> <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define __vtkAnnotatedCubeActor_h</span> <a name="l00043"></a>00043 <span class="preprocessor"></span> <a name="l00044"></a>00044 <span class="preprocessor">#include "<a class="code" href="a03522.html">vtkProp3D.h</a>"</span> <a name="l00045"></a>00045 <a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a>; <a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="a00115.html" title="appends one or more polygonal datasets together">vtkAppendPolyData</a>; <a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="a00141.html" title="create hierarchies of vtkProp3Ds (transformable props)">vtkAssembly</a>; <a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="a00344.html" title="create a polygonal representation of a cube">vtkCubeSource</a>; <a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a00536.html" title="extract boundary, non-manifold, and/or sharp edges from polygonal data">vtkFeatureEdges</a>; <a name="l00051"></a>00051 <span class="keyword">class </span><a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a>; <a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>; <a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>; <a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="a01723.html" title="describes linear transformations via a 4x4 matrix">vtkTransform</a>; <a name="l00055"></a>00055 <span class="keyword">class </span><a class="code" href="a01728.html" title="transform points and associated normals and vectors">vtkTransformFilter</a>; <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a>; <a name="l00057"></a>00057 <a name="l00058"></a><a class="code" href="a00112.html">00058</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a> : <span class="keyword">public</span> <a class="code" href="a01318.html" title="represents an 3D object for placement in a rendered scene">vtkProp3D</a> <a name="l00059"></a>00059 { <a name="l00060"></a>00060 <span class="keyword">public</span>: <a name="l00061"></a>00061 <span class="keyword">static</span> <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00062"></a><a class="code" href="a00112.html#596d0c16b16cd83e541d4fee29750516">00062</a> vtkTypeRevisionMacro(<a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>,<a class="code" href="a01318.html" title="represents an 3D object for placement in a rendered scene">vtkProp3D</a>); <a name="l00063"></a>00063 <span class="keywordtype">void</span> <a class="code" href="a01318.html#fc4c78b78843229db37631fdb24481f9">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00064"></a>00064 <a name="l00068"></a>00068 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01317.html#d4cbf8fa634a622b9e1419d897a4bd7f">GetActors</a>(<a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a> *); <a name="l00069"></a>00069 <a name="l00071"></a>00071 <a name="l00072"></a>00072 <span class="keyword">virtual</span> <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> *viewport); <a name="l00073"></a>00073 <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> *viewport); <a name="l00075"></a>00075 <a name="l00077"></a>00077 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#6e32af79f4756a287a61017b7c2f7364">HasTranslucentPolygonalGeometry</a>(); <a name="l00078"></a>00078 <a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="a01318.html#6a5879b988966e8e357f76622ef2e59e">ShallowCopy</a>(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *prop); <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="l00088"></a>00088 <a name="l00091"></a>00091 <span class="keywordtype">void</span> <a class="code" href="a01318.html#ac58a1c4708c1e130f65f2330ab31fb6">GetBounds</a>(<span class="keywordtype">double</span> bounds[6]); <a name="l00092"></a>00092 <span class="keywordtype">double</span> *<a class="code" href="a01318.html#ac58a1c4708c1e130f65f2330ab31fb6">GetBounds</a>(); <a name="l00094"></a>00094 <a name="l00096"></a>00096 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="a01318.html#f0fcdb7fa72e053d7fb32a1828117c62">GetMTime</a>(); <a name="l00097"></a>00097 <a name="l00099"></a>00099 <a name="l00100"></a>00100 <span class="keywordtype">void</span> SetFaceTextScale(<span class="keywordtype">double</span>); <a name="l00101"></a>00101 vtkGetMacro(FaceTextScale, <span class="keywordtype">double</span>); <a name="l00103"></a>00103 <a name="l00105"></a>00105 <a name="l00106"></a>00106 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetXPlusFaceProperty(); <a name="l00107"></a>00107 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetXMinusFaceProperty(); <a name="l00108"></a>00108 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetYPlusFaceProperty(); <a name="l00109"></a>00109 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetYMinusFaceProperty(); <a name="l00110"></a>00110 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetZPlusFaceProperty(); <a name="l00111"></a>00111 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetZMinusFaceProperty(); <a name="l00113"></a>00113 <a name="l00115"></a>00115 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetCubeProperty(); <a name="l00116"></a>00116 <a name="l00118"></a>00118 <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *GetTextEdgesProperty(); <a name="l00119"></a>00119 <a name="l00121"></a>00121 <a name="l00122"></a>00122 vtkSetStringMacro( XPlusFaceText ); <a name="l00123"></a>00123 vtkGetStringMacro( XPlusFaceText ); <a name="l00124"></a>00124 vtkSetStringMacro( XMinusFaceText ); <a name="l00125"></a>00125 vtkGetStringMacro( XMinusFaceText ); <a name="l00126"></a>00126 vtkSetStringMacro( YPlusFaceText ); <a name="l00127"></a>00127 vtkGetStringMacro( YPlusFaceText ); <a name="l00128"></a>00128 vtkSetStringMacro( YMinusFaceText ); <a name="l00129"></a>00129 vtkGetStringMacro( YMinusFaceText ); <a name="l00130"></a>00130 vtkSetStringMacro( ZPlusFaceText ); <a name="l00131"></a>00131 vtkGetStringMacro( ZPlusFaceText ); <a name="l00132"></a>00132 vtkSetStringMacro( ZMinusFaceText ); <a name="l00133"></a>00133 vtkGetStringMacro( ZMinusFaceText ); <a name="l00135"></a>00135 <a name="l00137"></a>00137 <a name="l00138"></a>00138 <span class="keywordtype">void</span> SetTextEdgesVisibility(<span class="keywordtype">int</span>); <a name="l00139"></a>00139 <span class="keywordtype">int</span> GetTextEdgesVisibility(); <a name="l00141"></a>00141 <a name="l00143"></a>00143 <a name="l00144"></a>00144 <span class="keywordtype">void</span> SetCubeVisibility(<span class="keywordtype">int</span>); <a name="l00145"></a>00145 <span class="keywordtype">int</span> GetCubeVisibility(); <a name="l00147"></a>00147 <a name="l00149"></a>00149 <a name="l00150"></a>00150 <span class="keywordtype">void</span> SetFaceTextVisibility(<span class="keywordtype">int</span>); <a name="l00151"></a>00151 <span class="keywordtype">int</span> GetFaceTextVisibility(); <a name="l00153"></a>00153 <a name="l00155"></a>00155 <a name="l00156"></a>00156 vtkSetMacro(XFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00157"></a>00157 vtkGetMacro(XFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00158"></a>00158 vtkSetMacro(YFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00159"></a>00159 vtkGetMacro(YFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00160"></a>00160 vtkSetMacro(ZFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00161"></a>00161 vtkGetMacro(ZFaceTextRotation,<span class="keywordtype">double</span>); <a name="l00163"></a>00163 <a name="l00165"></a>00165 <a name="l00166"></a><a class="code" href="a00112.html#76c57da09927b1264ed2c21cb7994901">00166</a> <a class="code" href="a00141.html" title="create hierarchies of vtkProp3Ds (transformable props)">vtkAssembly</a> *GetAssembly() <a name="l00167"></a>00167 { <span class="keywordflow">return</span> this->Assembly; } <a name="l00169"></a>00169 <a name="l00170"></a>00170 <span class="keyword">protected</span>: <a name="l00171"></a>00171 <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>(); <a name="l00172"></a>00172 ~<a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>(); <a name="l00173"></a>00173 <a name="l00174"></a><a class="code" href="a00112.html#8f18443d1e45b098e3f353fed557bd27">00174</a> <a class="code" href="a00344.html" title="create a polygonal representation of a cube">vtkCubeSource</a> *CubeSource; <a name="l00175"></a><a class="code" href="a00112.html#91fba4e922ecbf6ea69ee980f0647a8d">00175</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *CubeActor; <a name="l00176"></a>00176 <a name="l00177"></a><a class="code" href="a00112.html#1a0124bfa8e4b512b9bae0c1548d43cc">00177</a> <a class="code" href="a00115.html" title="appends one or more polygonal datasets together">vtkAppendPolyData</a> *AppendTextEdges; <a name="l00178"></a><a class="code" href="a00112.html#d805a8fabd13bfe61e4d05714ab72865">00178</a> <a class="code" href="a00536.html" title="extract boundary, non-manifold, and/or sharp edges from polygonal data">vtkFeatureEdges</a> *ExtractTextEdges; <a name="l00179"></a><a class="code" href="a00112.html#b7c247518d788b2b774420e612aa502f">00179</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *TextEdgesActor; <a name="l00180"></a>00180 <a name="l00181"></a>00181 <span class="keywordtype">void</span> UpdateProps(); <a name="l00182"></a>00182 <a name="l00183"></a><a class="code" href="a00112.html#a5a53e765d170acb8aa3d3eb8261d346">00183</a> <span class="keywordtype">char</span> *XPlusFaceText; <a name="l00184"></a><a class="code" href="a00112.html#d8fabd4b82a6b45fabfd323a0a8147e1">00184</a> <span class="keywordtype">char</span> *XMinusFaceText; <a name="l00185"></a><a class="code" href="a00112.html#73318f31e0d1af13832de8a0633c3ce3">00185</a> <span class="keywordtype">char</span> *YPlusFaceText; <a name="l00186"></a><a class="code" href="a00112.html#dccf71cdaa6a1dd1a4692b393e0cbf35">00186</a> <span class="keywordtype">char</span> *YMinusFaceText; <a name="l00187"></a><a class="code" href="a00112.html#b88618e5437fe9b56d2fec7cb56ada75">00187</a> <span class="keywordtype">char</span> *ZPlusFaceText; <a name="l00188"></a><a class="code" href="a00112.html#4a0a40bc1d350880c7c159fbb9e37f33">00188</a> <span class="keywordtype">char</span> *ZMinusFaceText; <a name="l00189"></a>00189 <a name="l00190"></a><a class="code" href="a00112.html#1609af70523b2f31e7aeebaa5d84d1de">00190</a> <span class="keywordtype">double</span> FaceTextScale; <a name="l00191"></a>00191 <a name="l00192"></a><a class="code" href="a00112.html#5937e80cc5b14b6976766a4e0f3f7c5e">00192</a> <span class="keywordtype">double</span> XFaceTextRotation; <a name="l00193"></a><a class="code" href="a00112.html#b8c56956a6e7edd3bfc61414ea8951fb">00193</a> <span class="keywordtype">double</span> YFaceTextRotation; <a name="l00194"></a><a class="code" href="a00112.html#378930afa3d4eaf1da4c7b30191427b4">00194</a> <span class="keywordtype">double</span> ZFaceTextRotation; <a name="l00195"></a>00195 <a name="l00196"></a><a class="code" href="a00112.html#4127aa98481a3de96c861b5b562fbdc1">00196</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *XPlusFaceVectorText; <a name="l00197"></a><a class="code" href="a00112.html#cb5e281ad976a404ba9110d64084faa4">00197</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *XMinusFaceVectorText; <a name="l00198"></a><a class="code" href="a00112.html#103746489eb5be5cd64f6d75e9395389">00198</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *YPlusFaceVectorText; <a name="l00199"></a><a class="code" href="a00112.html#5b7ed98d56ac071870d76f25efe76c12">00199</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *YMinusFaceVectorText; <a name="l00200"></a><a class="code" href="a00112.html#698f4159fca49b444ff0d2e07d82697f">00200</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *ZPlusFaceVectorText; <a name="l00201"></a><a class="code" href="a00112.html#6b8727c7a1eb0cf4f1f3a05dc6c136c2">00201</a> <a class="code" href="a01819.html" title="create polygonal text">vtkVectorText</a> *ZMinusFaceVectorText; <a name="l00202"></a>00202 <a name="l00203"></a><a class="code" href="a00112.html#df6192bdfc50b1345950a810cb2eb967">00203</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *XPlusFaceActor; <a name="l00204"></a><a class="code" href="a00112.html#f3aaddddbcb2b662f72aecf24478c38a">00204</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *XMinusFaceActor; <a name="l00205"></a><a class="code" href="a00112.html#2cc019400aa49e7dcaa25b07da1365bd">00205</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *YPlusFaceActor; <a name="l00206"></a><a class="code" href="a00112.html#c36188b5820f37a78abf6e85b23cb3b0">00206</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *YMinusFaceActor; <a name="l00207"></a><a class="code" href="a00112.html#fa49e9b2d3f3ae137d087043685c9107">00207</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *ZPlusFaceActor; <a name="l00208"></a><a class="code" href="a00112.html#6f61e9cddd9ef6a72e208900d04f84f3">00208</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *ZMinusFaceActor; <a name="l00209"></a>00209 <a name="l00210"></a><a class="code" href="a00112.html#d61ad5b56ac67b17e8b8b3f477a1c58c">00210</a> <a class="code" href="a01728.html" title="transform points and associated normals and vectors">vtkTransformFilter</a> *TransformFilter; <a name="l00211"></a><a class="code" href="a00112.html#80cb5255b5fbb9f0e96eccf970322662">00211</a> <a class="code" href="a01723.html" title="describes linear transformations via a 4x4 matrix">vtkTransform</a> *<a class="code" href="a03761.html#88ade42854f67d6297898362e17a515fff3c18ad1157bfb059d04b59dd18eae9">Transform</a>; <a name="l00212"></a>00212 <a name="l00213"></a><a class="code" href="a00112.html#b435a34b6971c58b9cec113a8034e2d6">00213</a> <a class="code" href="a00141.html" title="create hierarchies of vtkProp3Ds (transformable props)">vtkAssembly</a> *Assembly; <a name="l00214"></a>00214 <a name="l00215"></a>00215 <span class="keyword">private</span>: <a name="l00216"></a>00216 <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>(<span class="keyword">const</span> <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>&); <span class="comment">// Not implemented.</span> <a name="l00217"></a>00217 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00112.html" title="a 3D cube with face labels">vtkAnnotatedCubeActor</a>&); <span class="comment">// Not implemented.</span> <a name="l00218"></a>00218 }; <a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="preprocessor">#endif</span> <a name="l00221"></a>00221 <span class="preprocessor"></span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:31 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>