<!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/Rendering/vtkAxisActor2D.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/Rendering/vtkAxisActor2D.h</h1><a href="a03366.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: vtkAxisActor2D.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="l00057"></a>00057 <span class="preprocessor">#ifndef __vtkAxisActor2D_h</span> <a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define __vtkAxisActor2D_h</span> <a name="l00059"></a>00059 <span class="preprocessor"></span> <a name="l00060"></a>00060 <span class="preprocessor">#include "<a class="code" href="a02186.html">vtkActor2D.h</a>"</span> <a name="l00061"></a>00061 <a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a>; <a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>; <a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a>; <a name="l00065"></a>00065 <span class="keyword">class </span><a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>; <a name="l00066"></a>00066 <a name="l00067"></a><a class="code" href="a03366.html#43b0b1a2917b6f7b0fab765e98344565">00067</a> <span class="preprocessor">#define VTK_MAX_LABELS 25</span> <a name="l00068"></a>00068 <span class="preprocessor"></span> <a name="l00069"></a><a class="code" href="a00155.html">00069</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> : <span class="keyword">public</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> <a name="l00070"></a>00070 { <a name="l00071"></a>00071 <span class="keyword">public</span>: <a name="l00072"></a><a class="code" href="a00155.html#bdec9978c8e8da2f24dc8cc5ca1346d1">00072</a> vtkTypeRevisionMacro(<a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>,<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>); <a name="l00073"></a>00073 <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="l00074"></a>00074 <a name="l00076"></a>00076 <span class="keyword">static</span> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a> *<a class="code" href="a00093.html#470c524c4d719ddf82b0a32bc55beb6e">New</a>(); <a name="l00077"></a>00077 <a name="l00079"></a>00079 <a name="l00081"></a><a class="code" href="a00155.html#70ee62f38264b9799c7e64de129c9ec2">00081</a> <span class="keyword">virtual</span> <a class="code" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate...">vtkCoordinate</a> *GetPoint1Coordinate() <a name="l00082"></a>00082 { <span class="keywordflow">return</span> this-><a class="code" href="a00093.html#117b426f6dac928e66400cad07bca964">GetPositionCoordinate</a>(); }; <a name="l00083"></a><a class="code" href="a00155.html#0fe60c8604b387da05e79bd1b4a83ea7">00083</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPoint1(<span class="keywordtype">double</span> x[2]) { this-><a class="code" href="a00093.html#aca4703dddf59c9bdcf5773f5025a508">SetPosition</a>(x); }; <a name="l00084"></a><a class="code" href="a00155.html#5cefd268f500c3a6905b1e14f66af9ae">00084</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPoint1(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) { this-><a class="code" href="a00093.html#aca4703dddf59c9bdcf5773f5025a508">SetPosition</a>(x,y); }; <a name="l00085"></a><a class="code" href="a00155.html#752b5abbf51e0f1fae1ef2f0a3f1a416">00085</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetPoint1() { <span class="keywordflow">return</span> this-><a class="code" href="a00093.html#d1f7cdf73784b5c83f2c0761c3b44012">GetPosition</a>(); }; <a name="l00087"></a>00087 <a name="l00089"></a>00089 <a name="l00093"></a><a class="code" href="a00155.html#ca8543e923a56e3cbfed8a0b198d1bfa">00093</a> <span class="keyword">virtual</span> <a class="code" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate...">vtkCoordinate</a> *GetPoint2Coordinate() <a name="l00094"></a>00094 { <span class="keywordflow">return</span> this-><a class="code" href="a00093.html#5c6806290279e71f1f64f55dbfc7cf7a">GetPosition2Coordinate</a>(); }; <a name="l00095"></a><a class="code" href="a00155.html#bfaa52318db903931cecb25a8fc3cf7f">00095</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPoint2(<span class="keywordtype">double</span> x[2]) { this-><a class="code" href="a00093.html#2e8637097cb4bd9d75b56ff7387feb27">SetPosition2</a>(x); }; <a name="l00096"></a><a class="code" href="a00155.html#db8f9fd25c502f4265c7d2f760f6bdcc">00096</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetPoint2(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) { this-><a class="code" href="a00093.html#2e8637097cb4bd9d75b56ff7387feb27">SetPosition2</a>(x,y); }; <a name="l00097"></a><a class="code" href="a00155.html#3e1dd3cfff15ecf9e571fa7a1860d2ab">00097</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetPoint2() { <span class="keywordflow">return</span> this-><a class="code" href="a00093.html#9f2b7ce9348462c7de7911f5b95ee9b9">GetPosition2</a>(); }; <a name="l00099"></a>00099 <a name="l00101"></a>00101 <a name="l00103"></a>00103 vtkSetVector2Macro(Range,<span class="keywordtype">double</span>); <a name="l00104"></a>00104 vtkGetVectorMacro(Range,<span class="keywordtype">double</span>,2); <a name="l00106"></a>00106 <a name="l00108"></a>00108 <a name="l00109"></a>00109 vtkSetClampMacro(NumberOfLabels, <span class="keywordtype">int</span>, 2, <a class="code" href="a02811.html#43b0b1a2917b6f7b0fab765e98344565">VTK_MAX_LABELS</a>); <a name="l00110"></a>00110 vtkGetMacro(NumberOfLabels, <span class="keywordtype">int</span>); <a name="l00112"></a>00112 <a name="l00114"></a>00114 <a name="l00115"></a>00115 vtkSetStringMacro(LabelFormat); <a name="l00116"></a>00116 vtkGetStringMacro(LabelFormat); <a name="l00118"></a>00118 <a name="l00120"></a>00120 <a name="l00125"></a>00125 vtkSetMacro(AdjustLabels, <span class="keywordtype">int</span>); <a name="l00126"></a>00126 vtkGetMacro(AdjustLabels, <span class="keywordtype">int</span>); <a name="l00127"></a>00127 vtkBooleanMacro(AdjustLabels, <span class="keywordtype">int</span>); <a name="l00128"></a><a class="code" href="a00155.html#83bb73b8d2cd2737e3ebfbcf5c5008fb">00128</a> <span class="keyword">virtual</span> <span class="keywordtype">double</span> *GetAdjustedRange() <a name="l00129"></a>00129 { <a name="l00130"></a>00130 this->UpdateAdjustedRange(); <a name="l00131"></a>00131 <span class="keywordflow">return</span> this->AdjustedRange; <a name="l00132"></a>00132 } <a name="l00133"></a><a class="code" href="a00155.html#d2053ba9d3678fbd4873434f7941cdbf">00133</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetAdjustedRange(<span class="keywordtype">double</span> &_arg1, <span class="keywordtype">double</span> &_arg2) <a name="l00134"></a>00134 { <a name="l00135"></a>00135 this->UpdateAdjustedRange(); <a name="l00136"></a>00136 _arg1 = this->AdjustedRange[0]; <a name="l00137"></a>00137 _arg2 = this->AdjustedRange[1]; <a name="l00138"></a>00138 }; <a name="l00139"></a><a class="code" href="a00155.html#7c816a0173bc56c89344b4e5554b0145">00139</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> GetAdjustedRange(<span class="keywordtype">double</span> _arg[2]) <a name="l00140"></a>00140 { <a name="l00141"></a>00141 this->GetAdjustedRange(_arg[0], _arg[1]); <a name="l00142"></a>00142 } <a name="l00143"></a><a class="code" href="a00155.html#cf1857cb3e78beb20aaedce9e987ae7a">00143</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetAdjustedNumberOfLabels() <a name="l00144"></a>00144 { <a name="l00145"></a>00145 this->UpdateAdjustedRange(); <a name="l00146"></a>00146 <span class="keywordflow">return</span> this->AdjustedNumberOfLabels; <a name="l00147"></a>00147 } <a name="l00149"></a>00149 <a name="l00151"></a>00151 <a name="l00152"></a>00152 vtkSetStringMacro(Title); <a name="l00153"></a>00153 vtkGetStringMacro(Title); <a name="l00155"></a>00155 <a name="l00157"></a>00157 <a name="l00158"></a>00158 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTitleTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00159"></a>00159 vtkGetObjectMacro(TitleTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00161"></a>00161 <a name="l00163"></a>00163 <a name="l00164"></a>00164 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLabelTextProperty(<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *p); <a name="l00165"></a>00165 vtkGetObjectMacro(LabelTextProperty,<a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a>); <a name="l00167"></a>00167 <a name="l00169"></a>00169 <a name="l00171"></a>00171 vtkSetClampMacro(TickLength, <span class="keywordtype">int</span>, 0, 100); <a name="l00172"></a>00172 vtkGetMacro(TickLength, <span class="keywordtype">int</span>); <a name="l00174"></a>00174 <a name="l00176"></a>00176 <a name="l00178"></a>00178 vtkSetClampMacro(NumberOfMinorTicks, <span class="keywordtype">int</span>, 0, 20); <a name="l00179"></a>00179 vtkGetMacro(NumberOfMinorTicks, <span class="keywordtype">int</span>); <a name="l00181"></a>00181 <a name="l00183"></a>00183 <a name="l00185"></a>00185 vtkSetClampMacro(MinorTickLength, <span class="keywordtype">int</span>, 0, 100); <a name="l00186"></a>00186 vtkGetMacro(MinorTickLength, <span class="keywordtype">int</span>); <a name="l00188"></a>00188 <a name="l00190"></a>00190 <a name="l00193"></a>00193 vtkSetClampMacro(TickOffset, <span class="keywordtype">int</span>, 0, 100); <a name="l00194"></a>00194 vtkGetMacro(TickOffset, <span class="keywordtype">int</span>); <a name="l00196"></a>00196 <a name="l00198"></a>00198 <a name="l00199"></a>00199 vtkSetMacro(AxisVisibility, <span class="keywordtype">int</span>); <a name="l00200"></a>00200 vtkGetMacro(AxisVisibility, <span class="keywordtype">int</span>); <a name="l00201"></a>00201 vtkBooleanMacro(AxisVisibility, <span class="keywordtype">int</span>); <a name="l00203"></a>00203 <a name="l00205"></a>00205 <a name="l00206"></a>00206 vtkSetMacro(TickVisibility, <span class="keywordtype">int</span>); <a name="l00207"></a>00207 vtkGetMacro(TickVisibility, <span class="keywordtype">int</span>); <a name="l00208"></a>00208 vtkBooleanMacro(TickVisibility, <span class="keywordtype">int</span>); <a name="l00210"></a>00210 <a name="l00212"></a>00212 <a name="l00213"></a>00213 vtkSetMacro(LabelVisibility, <span class="keywordtype">int</span>); <a name="l00214"></a>00214 vtkGetMacro(LabelVisibility, <span class="keywordtype">int</span>); <a name="l00215"></a>00215 vtkBooleanMacro(LabelVisibility, <span class="keywordtype">int</span>); <a name="l00217"></a>00217 <a name="l00219"></a>00219 <a name="l00220"></a>00220 vtkSetMacro(TitleVisibility, <span class="keywordtype">int</span>); <a name="l00221"></a>00221 vtkGetMacro(TitleVisibility, <span class="keywordtype">int</span>); <a name="l00222"></a>00222 vtkBooleanMacro(TitleVisibility, <span class="keywordtype">int</span>); <a name="l00224"></a>00224 <a name="l00226"></a>00226 <a name="l00228"></a>00228 vtkSetMacro(TitlePosition, <span class="keywordtype">double</span>); <a name="l00229"></a>00229 vtkGetMacro(TitlePosition, <span class="keywordtype">double</span>); <a name="l00231"></a>00231 <a name="l00233"></a>00233 <a name="l00236"></a>00236 vtkSetClampMacro(FontFactor, <span class="keywordtype">double</span>, 0.1, 2.0); <a name="l00237"></a>00237 vtkGetMacro(FontFactor, <span class="keywordtype">double</span>); <a name="l00239"></a>00239 <a name="l00241"></a>00241 <a name="l00243"></a>00243 vtkSetClampMacro(LabelFactor, <span class="keywordtype">double</span>, 0.1, 2.0); <a name="l00244"></a>00244 vtkGetMacro(LabelFactor, <span class="keywordtype">double</span>); <a name="l00246"></a>00246 <a name="l00248"></a>00248 <a name="l00249"></a>00249 <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>* viewport); <a name="l00250"></a>00250 <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>* viewport); <a name="l00251"></a><a class="code" href="a00155.html#e43309c053bb85650e0c9fbeaf462379">00251</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="l00253"></a>00253 <a name="l00255"></a>00255 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00093.html#a8f4fb9da8d8a683cf1c4f8541a21ff1">HasTranslucentPolygonalGeometry</a>(); <a name="l00256"></a>00256 <a name="l00260"></a>00260 <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="l00261"></a>00261 <a name="l00263"></a>00263 <a name="l00271"></a>00271 <span class="keyword">static</span> <span class="keywordtype">void</span> ComputeRange(<span class="keywordtype">double</span> inRange[2], <a name="l00272"></a>00272 <span class="keywordtype">double</span> outRange[2], <a name="l00273"></a>00273 <span class="keywordtype">int</span> inNumTicks, <a name="l00274"></a>00274 <span class="keywordtype">int</span> &outNumTicks, <a name="l00275"></a>00275 <span class="keywordtype">double</span> &interval); <a name="l00277"></a>00277 <a name="l00279"></a>00279 <a name="l00286"></a>00286 <span class="keyword">static</span> <span class="keywordtype">int</span> SetMultipleFontSize(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport, <a name="l00287"></a>00287 <a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a> **textMappers, <a name="l00288"></a>00288 <span class="keywordtype">int</span> nbOfMappers, <a name="l00289"></a>00289 <span class="keywordtype">int</span> *targetSize, <a name="l00290"></a>00290 <span class="keywordtype">double</span> factor, <a name="l00291"></a>00291 <span class="keywordtype">int</span> *stringSize); <a name="l00293"></a>00293 <a name="l00295"></a>00295 <a name="l00298"></a>00298 vtkSetMacro(SizeFontRelativeToAxis,<span class="keywordtype">int</span>); <a name="l00299"></a>00299 vtkGetMacro(SizeFontRelativeToAxis,<span class="keywordtype">int</span>); <a name="l00300"></a>00300 vtkBooleanMacro(SizeFontRelativeToAxis,<span class="keywordtype">int</span>); <a name="l00302"></a>00302 <a name="l00304"></a>00304 <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); <a name="l00305"></a>00305 <a name="l00306"></a>00306 <span class="keyword">protected</span>: <a name="l00307"></a>00307 <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>(); <a name="l00308"></a>00308 ~<a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>(); <a name="l00309"></a>00309 <a name="l00310"></a><a class="code" href="a00155.html#5cbee242a773b87eb512f8a556bccad4">00310</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *TitleTextProperty; <a name="l00311"></a><a class="code" href="a00155.html#cd8a4f48fb8582a945b9d1290c1b414a">00311</a> <a class="code" href="a01692.html" title="represent text properties.">vtkTextProperty</a> *LabelTextProperty; <a name="l00312"></a>00312 <a name="l00313"></a><a class="code" href="a00155.html#7192f1272f1ce18c15cd921a707867dc">00313</a> <span class="keywordtype">char</span> *Title; <a name="l00314"></a><a class="code" href="a00155.html#81bc9d5e227c9f3ccd8da4fdd343b975">00314</a> <span class="keywordtype">double</span> Range[2]; <a name="l00315"></a><a class="code" href="a00155.html#5dd282533e385eb3b3d3da20e6fd7c7d">00315</a> <span class="keywordtype">double</span> TitlePosition; <a name="l00316"></a><a class="code" href="a00155.html#2198f97f202c6871cc53dd2466ef2717">00316</a> <span class="keywordtype">int</span> NumberOfLabels; <a name="l00317"></a><a class="code" href="a00155.html#7a325129aac93009d2ae1095b036d44f">00317</a> <span class="keywordtype">char</span> *LabelFormat; <a name="l00318"></a><a class="code" href="a00155.html#5ee7372b4ed9f9960debec2170c316f6">00318</a> <span class="keywordtype">int</span> AdjustLabels; <a name="l00319"></a><a class="code" href="a00155.html#041cd758ada79cf20a0c78639e827147">00319</a> <span class="keywordtype">double</span> FontFactor; <a name="l00320"></a><a class="code" href="a00155.html#cbe9a86513dde17bc8d88185bbf705c8">00320</a> <span class="keywordtype">double</span> LabelFactor; <a name="l00321"></a><a class="code" href="a00155.html#92264b47ba2fd4e57b121bf8b0ae1c5c">00321</a> <span class="keywordtype">int</span> TickLength; <a name="l00322"></a><a class="code" href="a00155.html#af1a4d8ecf8e483ae7f1b6d248aac220">00322</a> <span class="keywordtype">int</span> MinorTickLength; <a name="l00323"></a><a class="code" href="a00155.html#f35b47b2f5e43304a338b42eaddcd31c">00323</a> <span class="keywordtype">int</span> TickOffset; <a name="l00324"></a><a class="code" href="a00155.html#e6cf6a6d7514b554ce0c91fed2e8aade">00324</a> <span class="keywordtype">int</span> NumberOfMinorTicks; <a name="l00325"></a>00325 <a name="l00326"></a><a class="code" href="a00155.html#17be2af453272e5193e18db52ed5f98b">00326</a> <span class="keywordtype">double</span> AdjustedRange[2]; <a name="l00327"></a><a class="code" href="a00155.html#4efdab8ed9d890236a482cfde6b13dbd">00327</a> <span class="keywordtype">int</span> AdjustedNumberOfLabels; <a name="l00328"></a><a class="code" href="a00155.html#262060f40a8c5e5001b5d4a4508bfcf4">00328</a> <span class="keywordtype">int</span> NumberOfLabelsBuilt; <a name="l00329"></a>00329 <a name="l00330"></a><a class="code" href="a00155.html#1db5112222943d8429da6dc8245466b4">00330</a> <span class="keywordtype">int</span> AxisVisibility; <a name="l00331"></a><a class="code" href="a00155.html#13067272ddbfccb7809b6fe7e946b5a5">00331</a> <span class="keywordtype">int</span> TickVisibility; <a name="l00332"></a><a class="code" href="a00155.html#434dae55ea6127b1360ac664c749d509">00332</a> <span class="keywordtype">int</span> LabelVisibility; <a name="l00333"></a><a class="code" href="a00155.html#105402c912b06308b289700fb547843c">00333</a> <span class="keywordtype">int</span> TitleVisibility; <a name="l00334"></a>00334 <a name="l00335"></a><a class="code" href="a00155.html#ffd3342b7226a857078e536cc5e904c1">00335</a> <span class="keywordtype">int</span> LastPosition[2]; <a name="l00336"></a><a class="code" href="a00155.html#a70fb516b47519e3974c05815306cd70">00336</a> <span class="keywordtype">int</span> LastPosition2[2]; <a name="l00337"></a>00337 <a name="l00338"></a><a class="code" href="a00155.html#898f332ce5eeac6731fd24104131f6a3">00338</a> <span class="keywordtype">int</span> LastSize[2]; <a name="l00339"></a><a class="code" href="a00155.html#44e5d69d4aa2372b1b403fde7bc69ec0">00339</a> <span class="keywordtype">int</span> LastMaxLabelSize[2]; <a name="l00340"></a>00340 <a name="l00341"></a><a class="code" href="a00155.html#b00e4e613e6b2009f79d4e72e9647f00">00341</a> <span class="keywordtype">int</span> SizeFontRelativeToAxis; <a name="l00342"></a>00342 <a name="l00343"></a>00343 <span class="keyword">virtual</span> <span class="keywordtype">void</span> BuildAxis(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport); <a name="l00344"></a>00344 <span class="keyword">static</span> <span class="keywordtype">double</span> ComputeStringOffset(<span class="keywordtype">double</span> width, <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c076ccbe549041286aaf7bc34202ebdf">height</a>, <span class="keywordtype">double</span> theta); <a name="l00345"></a>00345 <span class="keyword">static</span> <span class="keywordtype">void</span> SetOffsetPosition(<span class="keywordtype">double</span> xTick[3], <span class="keywordtype">double</span> theta, <a name="l00346"></a>00346 <span class="keywordtype">int</span> stringHeight, <span class="keywordtype">int</span> stringWidth, <a name="l00347"></a>00347 <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e69c3ea0b66a4036cbb0c6648abb252d">offset</a>, <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> *actor); <a name="l00348"></a>00348 <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateAdjustedRange(); <a name="l00349"></a>00349 <a name="l00350"></a><a class="code" href="a00155.html#2532081ea4373f08c6bc997edfd75a3e">00350</a> <a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a> *TitleMapper; <a name="l00351"></a><a class="code" href="a00155.html#f6c00a059642ccd64f30ed7c5e375c3c">00351</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> *TitleActor; <a name="l00352"></a>00352 <a name="l00353"></a><a class="code" href="a00155.html#85f2a7391d07b1c710b642f50fd644ac">00353</a> <a class="code" href="a01691.html" title="2D text annotation">vtkTextMapper</a> **LabelMappers; <a name="l00354"></a><a class="code" href="a00155.html#4251d5fe32ff07a72331a697d8c4002a">00354</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> **LabelActors; <a name="l00355"></a>00355 <a name="l00356"></a><a class="code" href="a00155.html#73033f46d33bf388f55f03f429dcac53">00356</a> <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *Axis; <a name="l00357"></a><a class="code" href="a00155.html#1f39106894a224b5f5ac0794386a0bb8">00357</a> <a class="code" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a> *AxisMapper; <a name="l00358"></a><a class="code" href="a00155.html#471c4ee13996d713401a5e4d31f06b1f">00358</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a> *AxisActor; <a name="l00359"></a>00359 <a name="l00360"></a><a class="code" href="a00155.html#7b4d21e62eda3fdc8ed5db2c31ebab91">00360</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> AdjustedRangeBuildTime; <a name="l00361"></a><a class="code" href="a00155.html#13a24d73e24af34d433f0af624d6303d">00361</a> <a class="code" href="a01719.html" title="record modification and/or execution time">vtkTimeStamp</a> BuildTime; <a name="l00362"></a>00362 <a name="l00363"></a>00363 <span class="keyword">private</span>: <a name="l00364"></a>00364 <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>(<span class="keyword">const</span> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00365"></a>00365 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00155.html" title="Create an axis with tick marks and labels.">vtkAxisActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00366"></a>00366 }; <a name="l00367"></a>00367 <a name="l00368"></a>00368 <a name="l00369"></a>00369 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:45 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>