<!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/vtkCubeAxesActor2D.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/vtkCubeAxesActor2D.h</h1><a href="a02816.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: vtkCubeAxesActor2D.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="l00048"></a>00048 <span class="preprocessor">#ifndef __vtkCubeAxesActor2D_h</span> <a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#define __vtkCubeAxesActor2D_h</span> <a name="l00050"></a>00050 <span class="preprocessor"></span> <a name="l00051"></a>00051 <span class="preprocessor">#include "<a class="code" href="a02186.html">vtkActor2D.h</a>"</span> <a name="l00052"></a>00052 <a name="l00053"></a><a class="code" href="a02816.html#2ee7bef408cd2f8802472c4601b6a6f2">00053</a> <span class="preprocessor">#define VTK_FLY_OUTER_EDGES 0</span> <a name="l00054"></a><a class="code" href="a02816.html#c0f08b5731d234e35d516785a2456295">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_FLY_CLOSEST_TRIAD 1</span> <a name="l00055"></a>00055 <span class="preprocessor"></span> <a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>; <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>; <a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>; <a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>; <a name="l00060"></a>00060 <a name="l00061"></a><a class="code" href="a00343.html">00061</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a> : <span class="keyword">public</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> <a name="l00062"></a>00062 { <a name="l00063"></a>00063 <span class="keyword">public</span>: <a name="l00064"></a><a class="code" href="a00343.html#4beb8acbe7a5e21a83f367a8f713f004">00064</a> vtkTypeRevisionMacro(<a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>,<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>); <a name="l00065"></a>00065 <span class="keywordtype">void</span> <a class="code" href="a00093.html#f0bb6b3aeeaa23e0f408990a40a1607a">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00066"></a>00066 <a name="l00070"></a>00070 <span class="keyword">static</span> <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a> *<a class="code" href="a00093.html#470c524c4d719ddf82b0a32bc55beb6e">New</a>(); <a name="l00071"></a>00071 <a name="l00073"></a>00073 <a name="l00074"></a>00074 <span class="keywordtype">int</span> <a class="code" href="a00093.html#95232573f645b775c88dd81a6067addc">RenderOverlay</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a>*); <a name="l00075"></a>00075 <span class="keywordtype">int</span> <a class="code" href="a00093.html#e26bc15689de9781fdf6ecc6ab80c2fe">RenderOpaqueGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a>*); <a name="l00076"></a><a class="code" href="a00343.html#e7ce7b537a518bc6a4dd5566bc408ee1">00076</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#f7a2adb46eba24bb78c825750d46a482">RenderTranslucentPolygonalGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *) {<span class="keywordflow">return</span> 0;} <a name="l00078"></a>00078 <a name="l00080"></a>00080 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#a8f4fb9da8d8a683cf1c4f8541a21ff1">HasTranslucentPolygonalGeometry</a>(); <a name="l00081"></a>00081 <a name="l00083"></a>00083 <a name="l00086"></a>00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInput(<a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>*); <a name="l00087"></a>00087 vtkGetObjectMacro(Input, <a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a>); <a name="l00089"></a>00089 <a name="l00091"></a>00091 <a name="l00093"></a>00093 <span class="keywordtype">void</span> SetViewProp(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* prop); <a name="l00094"></a>00094 vtkGetObjectMacro(ViewProp, <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>); <a name="l00096"></a>00096 <a name="l00098"></a>00098 <a name="l00102"></a>00102 vtkSetVector6Macro(Bounds,<span class="keywordtype">double</span>); <a name="l00103"></a>00103 <span class="keywordtype">double</span> *<a class="code" href="a01317.html#7e1d63e4282aa0a2f78c8bb3cc835368">GetBounds</a>(); <a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="a01317.html#7e1d63e4282aa0a2f78c8bb3cc835368">GetBounds</a>(<span class="keywordtype">double</span>& xmin, <span class="keywordtype">double</span>& xmax, <span class="keywordtype">double</span>& ymin, <span class="keywordtype">double</span>& ymax, <a name="l00105"></a>00105 <span class="keywordtype">double</span>& zmin, <span class="keywordtype">double</span>& zmax); <a name="l00106"></a>00106 <span class="keywordtype">void</span> <a class="code" href="a01317.html#7e1d63e4282aa0a2f78c8bb3cc835368">GetBounds</a>(<span class="keywordtype">double</span> bounds[6]); <a name="l00108"></a>00108 <a name="l00110"></a>00110 <a name="l00113"></a>00113 vtkSetVector6Macro(Ranges,<span class="keywordtype">double</span>); <a name="l00114"></a>00114 <span class="keywordtype">double</span> *GetRanges(); <a name="l00115"></a>00115 <span class="keywordtype">void</span> GetRanges(<span class="keywordtype">double</span>& xmin, <span class="keywordtype">double</span>& xmax, <span class="keywordtype">double</span>& ymin, <span class="keywordtype">double</span>& ymax, <a name="l00116"></a>00116 <span class="keywordtype">double</span>& zmin, <span class="keywordtype">double</span>& zmax); <a name="l00117"></a>00117 <span class="keywordtype">void</span> GetRanges(<span class="keywordtype">double</span> ranges[6]); <a name="l00119"></a>00119 <a name="l00121"></a>00121 <a name="l00123"></a>00123 vtkSetMacro(UseRanges,<span class="keywordtype">int</span>); <a name="l00124"></a>00124 vtkGetMacro(UseRanges,<span class="keywordtype">int</span>); <a name="l00125"></a>00125 vtkBooleanMacro(UseRanges,<span class="keywordtype">int</span>); <a name="l00127"></a>00127 <a name="l00129"></a>00129 <a name="l00131"></a>00131 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetCamera(<a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>*); <a name="l00132"></a>00132 vtkGetObjectMacro(Camera,<a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>); <a name="l00134"></a>00134 <a name="l00136"></a>00136 <a name="l00138"></a>00138 vtkSetClampMacro(FlyMode, <span class="keywordtype">int</span>, <a class="code" href="a02815.html#2ee7bef408cd2f8802472c4601b6a6f2">VTK_FLY_OUTER_EDGES</a>, <a class="code" href="a02815.html#c0f08b5731d234e35d516785a2456295">VTK_FLY_CLOSEST_TRIAD</a>); <a name="l00139"></a>00139 vtkGetMacro(FlyMode, <span class="keywordtype">int</span>); <a name="l00140"></a><a class="code" href="a00343.html#1cd2e33b2255e0d39e7820abe47b4a1b">00140</a> <span class="keywordtype">void</span> SetFlyModeToOuterEdges() <a name="l00141"></a>00141 {this->SetFlyMode(<a class="code" href="a02815.html#2ee7bef408cd2f8802472c4601b6a6f2">VTK_FLY_OUTER_EDGES</a>);}; <a name="l00142"></a><a class="code" href="a00343.html#564c840e6aca58c98441c600fc99a6c4">00142</a> <span class="keywordtype">void</span> SetFlyModeToClosestTriad() <a name="l00143"></a>00143 {this->SetFlyMode(<a class="code" href="a02815.html#c0f08b5731d234e35d516785a2456295">VTK_FLY_CLOSEST_TRIAD</a>);}; <a name="l00145"></a>00145 <a name="l00147"></a>00147 <a name="l00151"></a>00151 vtkSetMacro(Scaling,<span class="keywordtype">int</span>); <a name="l00152"></a>00152 vtkGetMacro(Scaling,<span class="keywordtype">int</span>); <a name="l00153"></a>00153 vtkBooleanMacro(Scaling,<span class="keywordtype">int</span>); <a name="l00155"></a>00155 <a name="l00157"></a>00157 <a name="l00160"></a>00160 vtkSetClampMacro(NumberOfLabels, <span class="keywordtype">int</span>, 0, 50); <a name="l00161"></a>00161 vtkGetMacro(NumberOfLabels, <span class="keywordtype">int</span>); <a name="l00163"></a>00163 <a name="l00165"></a>00165 <a name="l00167"></a>00167 vtkSetStringMacro(XLabel); <a name="l00168"></a>00168 vtkGetStringMacro(XLabel); <a name="l00169"></a>00169 vtkSetStringMacro(YLabel); <a name="l00170"></a>00170 vtkGetStringMacro(YLabel); <a name="l00171"></a>00171 vtkSetStringMacro(ZLabel); <a name="l00172"></a>00172 vtkGetStringMacro(ZLabel); <a name="l00174"></a>00174 <a name="l00176"></a>00176 <a name="l00178"></a><a class="code" href="a00343.html#b846cfade1ae2d36825a364bd16b58cc">00178</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *GetXAxisActor2D() <a name="l00179"></a>00179 {<span class="keywordflow">return</span> this->XAxis;} <a name="l00180"></a><a class="code" href="a00343.html#d07e21461fc849bcb0f5615cd93c4a08">00180</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *GetYAxisActor2D() <a name="l00181"></a>00181 {<span class="keywordflow">return</span> this->YAxis;} <a name="l00182"></a><a class="code" href="a00343.html#96c1787a1fca429673885df56adca11b">00182</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *GetZAxisActor2D() <a name="l00183"></a>00183 {<span class="keywordflow">return</span> this->ZAxis;} <a name="l00185"></a>00185 <a name="l00187"></a>00187 <a name="l00189"></a>00189 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAxisTitleTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00190"></a>00190 vtkGetObjectMacro(AxisTitleTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00192"></a>00192 <a name="l00194"></a>00194 <a name="l00196"></a>00196 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAxisLabelTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00197"></a>00197 vtkGetObjectMacro(AxisLabelTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00199"></a>00199 <a name="l00201"></a>00201 <a name="l00203"></a>00203 vtkSetStringMacro(LabelFormat); <a name="l00204"></a>00204 vtkGetStringMacro(LabelFormat); <a name="l00206"></a>00206 <a name="l00208"></a>00208 <a name="l00210"></a>00210 vtkSetClampMacro(FontFactor, <span class="keywordtype">double</span>, 0.1, 2.0); <a name="l00211"></a>00211 vtkGetMacro(FontFactor, <span class="keywordtype">double</span>); <a name="l00213"></a>00213 <a name="l00215"></a>00215 <a name="l00218"></a>00218 vtkSetClampMacro(Inertia, <span class="keywordtype">int</span>, 1, <a class="code" href="a02149.html#804f55a35836c1770f9176f3a01c4d5e">VTK_LARGE_INTEGER</a>); <a name="l00219"></a>00219 vtkGetMacro(Inertia, <span class="keywordtype">int</span>); <a name="l00221"></a>00221 <a name="l00223"></a>00223 <a name="l00229"></a>00229 vtkSetClampMacro(ShowActualBounds, <span class="keywordtype">int</span>, 0, 1); <a name="l00230"></a>00230 vtkGetMacro(ShowActualBounds, <span class="keywordtype">int</span>); <a name="l00232"></a>00232 <a name="l00234"></a>00234 <a name="l00237"></a>00237 vtkSetMacro(CornerOffset, <span class="keywordtype">double</span>); <a name="l00238"></a>00238 vtkGetMacro(CornerOffset, <span class="keywordtype">double</span>); <a name="l00240"></a>00240 <a name="l00244"></a>00244 <span class="keywordtype">void</span> <a class="code" href="a00093.html#dd99f157501a85867005664f4d74008d">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *); <a name="l00245"></a>00245 <a name="l00247"></a>00247 <a name="l00248"></a>00248 vtkSetMacro(XAxisVisibility,<span class="keywordtype">int</span>); <a name="l00249"></a>00249 vtkGetMacro(XAxisVisibility,<span class="keywordtype">int</span>); <a name="l00250"></a>00250 vtkBooleanMacro(XAxisVisibility,<span class="keywordtype">int</span>); <a name="l00251"></a>00251 vtkSetMacro(YAxisVisibility,<span class="keywordtype">int</span>); <a name="l00252"></a>00252 vtkGetMacro(YAxisVisibility,<span class="keywordtype">int</span>); <a name="l00253"></a>00253 vtkBooleanMacro(YAxisVisibility,<span class="keywordtype">int</span>); <a name="l00254"></a>00254 vtkSetMacro(ZAxisVisibility,<span class="keywordtype">int</span>); <a name="l00255"></a>00255 vtkGetMacro(ZAxisVisibility,<span class="keywordtype">int</span>); <a name="l00256"></a>00256 vtkBooleanMacro(ZAxisVisibility,<span class="keywordtype">int</span>); <a name="l00258"></a>00258 <a name="l00260"></a>00260 <span class="keywordtype">void</span> <a class="code" href="a00093.html#0b8bceafaea20d00f8a3083e3518b457">ShallowCopy</a>(<a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a> *actor); <a name="l00261"></a>00261 <a name="l00262"></a>00262 <span class="comment">// Disable warnings about qualifiers on return types.</span> <a name="l00263"></a>00263 <span class="preprocessor">#if defined(_COMPILER_VERSION)</span> <a name="l00264"></a>00264 <span class="preprocessor"></span><span class="preprocessor"># pragma set woff 3303</span> <a name="l00265"></a>00265 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00266"></a>00266 <span class="preprocessor"></span><span class="preprocessor">#if defined(__INTEL_COMPILER)</span> <a name="l00267"></a>00267 <span class="preprocessor"></span><span class="preprocessor"># pragma warning (push)</span> <a name="l00268"></a>00268 <span class="preprocessor"></span><span class="preprocessor"># pragma warning (disable:858)</span> <a name="l00269"></a>00269 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00270"></a>00270 <span class="preprocessor"></span> <a name="l00271"></a>00271 <span class="preprocessor">#ifdef VTK_WORKAROUND_WINDOWS_MANGLE</span> <a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor"># define SetPropA SetProp</span> <a name="l00273"></a>00273 <span class="preprocessor"></span><span class="preprocessor"># define SetPropW SetProp</span> <a name="l00274"></a>00274 <span class="preprocessor"></span><span class="preprocessor"># define GetPropA GetProp</span> <a name="l00275"></a>00275 <span class="preprocessor"></span><span class="preprocessor"># define GetPropW GetProp</span> <a name="l00276"></a>00276 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00277"></a>00277 <span class="preprocessor"></span> <a name="l00280"></a>00280 VTK_LEGACY(<span class="keyword">virtual</span> <span class="keywordtype">void</span> SetProp(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* prop)); <a name="l00281"></a>00281 <a name="l00284"></a>00284 VTK_LEGACY(<span class="keyword">virtual</span> <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* GetProp()); <a name="l00285"></a>00285 <a name="l00286"></a>00286 <span class="preprocessor">#ifdef VTK_WORKAROUND_WINDOWS_MANGLE</span> <a name="l00287"></a>00287 <span class="preprocessor"></span><span class="preprocessor"># undef SetPropW</span> <a name="l00288"></a>00288 <span class="preprocessor"></span><span class="preprocessor"># undef SetPropA</span> <a name="l00289"></a>00289 <span class="preprocessor"></span><span class="preprocessor"># undef GetPropW</span> <a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor"># undef GetPropA</span> <a name="l00291"></a>00291 <span class="preprocessor"></span> <span class="comment">//BTX</span> <a name="l00292"></a>00292 VTK_LEGACY(<span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPropA(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* prop)); <a name="l00293"></a>00293 VTK_LEGACY(<span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPropW(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* prop)); <a name="l00294"></a>00294 VTK_LEGACY(<span class="keyword">virtual</span> <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* GetPropA()); <a name="l00295"></a>00295 VTK_LEGACY(<span class="keyword">virtual</span> <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>* GetPropW()); <a name="l00296"></a>00296 <span class="comment">//ETX</span> <a name="l00297"></a>00297 <span class="preprocessor">#endif</span> <a name="l00298"></a>00298 <span class="preprocessor"></span> <a name="l00299"></a>00299 <span class="comment">// Reset disabled warning about qualifiers on return types.</span> <a name="l00300"></a>00300 <span class="preprocessor">#if defined(__INTEL_COMPILER)</span> <a name="l00301"></a>00301 <span class="preprocessor"></span><span class="preprocessor"># pragma warning (pop)</span> <a name="l00302"></a>00302 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00303"></a>00303 <span class="preprocessor"></span><span class="preprocessor">#if defined(_COMPILER_VERSION)</span> <a name="l00304"></a>00304 <span class="preprocessor"></span><span class="preprocessor"># pragma reset woff 3303</span> <a name="l00305"></a>00305 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00306"></a>00306 <span class="preprocessor"></span> <a name="l00307"></a>00307 <span class="keyword">protected</span>: <a name="l00308"></a>00308 <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>(); <a name="l00309"></a>00309 ~<a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>(); <a name="l00310"></a>00310 <a name="l00311"></a><a class="code" href="a00343.html#717a89d6e22740dcc8a15794265e0fdf">00311</a> <a class="code" href="a00374.html" title="abstract class to specify dataset behavior">vtkDataSet</a> *Input; <span class="comment">//Define bounds from input data, or</span> <a name="l00312"></a><a class="code" href="a00343.html#cef49d9c2c52c3f45c099bb9f1c481a1">00312</a> <a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *ViewProp; <span class="comment">//Define bounds from actor/assembly, or</span> <a name="l00313"></a><a class="code" href="a00343.html#7eb91b942d72fdba44efa1768581af9c">00313</a> <span class="keywordtype">double</span> Bounds[6]; <span class="comment">//Define bounds explicitly</span> <a name="l00314"></a><a class="code" href="a00343.html#b0fc933294438e88d2adcfa3c1c5f49d">00314</a> <span class="keywordtype">double</span> Ranges[6]; <span class="comment">//Define ranges explicitly</span> <a name="l00315"></a><a class="code" href="a00343.html#6d23269de3100ef90e7231ae0eee9972">00315</a> <span class="keywordtype">int</span> UseRanges; <span class="comment">//Flag to use ranges or not</span> <a name="l00316"></a>00316 <a name="l00317"></a><a class="code" href="a00343.html#58c4ed361f9bbd1166074bec44a8345d">00317</a> <a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a> *Camera; <a name="l00318"></a><a class="code" href="a00343.html#66272705a017321d3228826b47ef97f0">00318</a> <span class="keywordtype">int</span> FlyMode; <a name="l00319"></a><a class="code" href="a00343.html#f3ff1d7143a7aaf617a87bf62edaddc6">00319</a> <span class="keywordtype">int</span> Scaling; <a name="l00320"></a>00320 <a name="l00321"></a><a class="code" href="a00343.html#b8f1077b2f2e667268a0a2a25ffad441">00321</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *XAxis; <a name="l00322"></a><a class="code" href="a00343.html#08a6ef658ce0a7ef3911df040129e674">00322</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *YAxis; <a name="l00323"></a><a class="code" href="a00343.html#a1621307528c2923db2cf1e50c33e5cd">00323</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *ZAxis; <a name="l00324"></a>00324 <a name="l00325"></a><a class="code" href="a00343.html#dec96a5cee1e5fcdf2e80f9a99891e9b">00325</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *AxisTitleTextProperty; <a name="l00326"></a><a class="code" href="a00343.html#a34606f0cbffdbb366bcbf6d51a02af6">00326</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *AxisLabelTextProperty; <a name="l00327"></a>00327 <a name="l00328"></a><a class="code" href="a00343.html#a36f765cd5b1fc99192dc162977f6145">00328</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> BuildTime; <a name="l00329"></a>00329 <a name="l00330"></a><a class="code" href="a00343.html#9d0997efd29dbc972349c7356a489efc">00330</a> <span class="keywordtype">int</span> NumberOfLabels; <a name="l00331"></a><a class="code" href="a00343.html#6368f14bd9dd3de5096a105d66159c95">00331</a> <span class="keywordtype">char</span> *XLabel; <a name="l00332"></a><a class="code" href="a00343.html#1fe7984333ecb5161affd53d7f31951d">00332</a> <span class="keywordtype">char</span> *YLabel; <a name="l00333"></a><a class="code" href="a00343.html#fe0414b6c2019d23e6ee3e5144a8538a">00333</a> <span class="keywordtype">char</span> *ZLabel; <a name="l00334"></a><a class="code" href="a00343.html#15f03f4f4bb7ead4df3a3ffa42a7aba1">00334</a> <span class="keywordtype">char</span> *Labels[3]; <a name="l00335"></a>00335 <a name="l00336"></a><a class="code" href="a00343.html#6589e185e089a41bb27b0a0b8b347d10">00336</a> <span class="keywordtype">int</span> XAxisVisibility; <a name="l00337"></a><a class="code" href="a00343.html#27d8f96e38917fd177b76c99759abce8">00337</a> <span class="keywordtype">int</span> YAxisVisibility; <a name="l00338"></a><a class="code" href="a00343.html#8ed405cdfa9191d50b68317eb5865a09">00338</a> <span class="keywordtype">int</span> ZAxisVisibility; <a name="l00339"></a>00339 <a name="l00340"></a><a class="code" href="a00343.html#47b9bfb0d30debc818faa56494edb381">00340</a> <span class="keywordtype">char</span> *LabelFormat; <a name="l00341"></a><a class="code" href="a00343.html#cbd877792a2bc02946c3ce260a949a0a">00341</a> <span class="keywordtype">double</span> FontFactor; <a name="l00342"></a><a class="code" href="a00343.html#9bcff8e3e0fe6b11ba80091774ca9a57">00342</a> <span class="keywordtype">double</span> CornerOffset; <a name="l00343"></a><a class="code" href="a00343.html#6a3e37624d1d1b107566c5d07a91d31b">00343</a> <span class="keywordtype">int</span> Inertia; <a name="l00344"></a><a class="code" href="a00343.html#b6919c9887a2dabb23f200f22591dd7b">00344</a> <span class="keywordtype">int</span> RenderCount; <a name="l00345"></a><a class="code" href="a00343.html#bbfae1a8537ea5260f02bd8d6eca6f93">00345</a> <span class="keywordtype">int</span> InertiaAxes[8]; <a name="l00346"></a>00346 <a name="l00347"></a><a class="code" href="a00343.html#fb31bf5c2f6e11791ae872fe2baf0c87">00347</a> <span class="keywordtype">int</span> RenderSomething; <a name="l00348"></a>00348 <a name="l00349"></a>00349 <span class="comment">// Always show the actual bounds of the object</span> <a name="l00350"></a><a class="code" href="a00343.html#fc93c0fb84ad6fbdb4f69203238558e7">00350</a> <span class="keywordtype">int</span> ShowActualBounds; <a name="l00351"></a>00351 <a name="l00352"></a>00352 <span class="comment">// various helper methods</span> <a name="l00353"></a>00353 <span class="keywordtype">void</span> TransformBounds(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">double</span> bounds[6], <a name="l00354"></a>00354 <span class="keywordtype">double</span> pts[8][3]); <a name="l00355"></a>00355 <span class="keywordtype">int</span> ClipBounds(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <span class="keywordtype">double</span> pts[8][3], <span class="keywordtype">double</span> bounds[6]); <a name="l00356"></a>00356 <span class="keywordtype">double</span> EvaluatePoint(<span class="keywordtype">double</span> planes[24], <span class="keywordtype">double</span> x[3]); <a name="l00357"></a>00357 <span class="keywordtype">double</span> EvaluateBounds(<span class="keywordtype">double</span> planes[24], <span class="keywordtype">double</span> bounds[6]); <a name="l00358"></a>00358 <span class="keywordtype">void</span> AdjustAxes(<span class="keywordtype">double</span> pts[8][3], <span class="keywordtype">double</span> bounds[6], <a name="l00359"></a>00359 <span class="keywordtype">int</span> idx, <span class="keywordtype">int</span> xIdx, <span class="keywordtype">int</span> yIdx, <span class="keywordtype">int</span> zIdx, <span class="keywordtype">int</span> zIdx2, <a name="l00360"></a>00360 <span class="keywordtype">int</span> xAxes, <span class="keywordtype">int</span> yAxes, <span class="keywordtype">int</span> zAxes, <a name="l00361"></a>00361 <span class="keywordtype">double</span> xCoords[4], <span class="keywordtype">double</span> yCoords[4], <span class="keywordtype">double</span> zCoords[4], <a name="l00362"></a>00362 <span class="keywordtype">double</span> xRange[2], <span class="keywordtype">double</span> yRange[2], <span class="keywordtype">double</span> zRange[2]); <a name="l00363"></a>00363 <a name="l00364"></a>00364 <span class="keyword">private</span>: <a name="l00365"></a>00365 <span class="comment">// hide the superclass' ShallowCopy() from the user and the compiler.</span> <a name="l00366"></a>00366 <span class="keywordtype">void</span> <a class="code" href="a00093.html#0b8bceafaea20d00f8a3083e3518b457">ShallowCopy</a>(<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a> *prop) { this-><a class="code" href="a01317.html#e35249f4300af02ba868489ff25f3a2b">vtkProp::ShallowCopy</a>( prop ); }; <a name="l00367"></a>00367 <span class="keyword">private</span>: <a name="l00368"></a>00368 <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>(<span class="keyword">const</span> <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00369"></a>00369 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00343.html" title="create a 2D plot of a bounding box edges - used for navigation">vtkCubeAxesActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00370"></a>00370 }; <a name="l00371"></a>00371 <a name="l00372"></a>00372 <a name="l00373"></a>00373 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:32 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>