<!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/vtkActor2D.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/vtkActor2D.h</h1><a href="a02186.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: vtkActor2D.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="l00031"></a>00031 <span class="preprocessor">#ifndef __vtkActor2D_h</span> <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define __vtkActor2D_h</span> <a name="l00033"></a>00033 <span class="preprocessor"></span> <a name="l00034"></a>00034 <span class="preprocessor">#include "<a class="code" href="a02113.html">vtkProp.h</a>"</span> <a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="a02219.html">vtkCoordinate.h</a>"</span> <span class="comment">// For vtkViewportCoordinateMacro</span> <a name="l00036"></a>00036 <a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors">vtkMapper2D</a>; <a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="a01323.html" title="represent surface properties of a 2D image">vtkProperty2D</a>; <a name="l00039"></a>00039 <a name="l00040"></a><a class="code" href="a00093.html">00040</a> <span class="keyword">class </span><a class="code" href="a02170.html#95ced7977a6b6b1bf9f38bf04e3835b6">VTK_FILTERING_EXPORT</a> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</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="l00041"></a>00041 { <a name="l00042"></a>00042 <span class="keyword">public</span>: <a name="l00043"></a>00043 <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="l00044"></a><a class="code" href="a00093.html#63aadf4e9b0350e1108492fcb425498c">00044</a> vtkTypeRevisionMacro(<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>,<a class="code" href="a01317.html" title="abstract superclass for all actors, volumes and annotations">vtkProp</a>); <a name="l00045"></a>00045 <a name="l00048"></a>00048 <span class="keyword">static</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>* <a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00049"></a>00049 <a name="l00051"></a>00051 <a name="l00052"></a>00052 <span class="keyword">virtual</span> <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> *viewport); <a name="l00053"></a>00053 <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="l00054"></a>00054 <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="l00056"></a>00056 <a name="l00058"></a>00058 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#6e32af79f4756a287a61017b7c2f7364">HasTranslucentPolygonalGeometry</a>(); <a name="l00059"></a>00059 <a name="l00061"></a>00061 <a name="l00062"></a>00062 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetMapper(<a class="code" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors">vtkMapper2D</a> *mapper); <a name="l00063"></a>00063 vtkGetObjectMacro(Mapper, <a class="code" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors">vtkMapper2D</a>); <a name="l00065"></a>00065 <a name="l00067"></a>00067 <a name="l00068"></a>00068 vtkSetMacro(LayerNumber, <span class="keywordtype">int</span>); <a name="l00069"></a>00069 vtkGetMacro(LayerNumber, <span class="keywordtype">int</span>); <a name="l00071"></a>00071 <a name="l00074"></a>00074 <a class="code" href="a01323.html" title="represent surface properties of a 2D image">vtkProperty2D</a>* GetProperty(); <a name="l00075"></a>00075 <a name="l00077"></a>00077 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetProperty(<a class="code" href="a01323.html" title="represent surface properties of a 2D image">vtkProperty2D</a>*); <a name="l00078"></a>00078 <a name="l00080"></a>00080 <a name="l00083"></a>00083 vtkViewportCoordinateMacro(Position); <a name="l00085"></a>00085 <a name="l00087"></a>00087 <span class="keywordtype">void</span> SetDisplayPosition(<span class="keywordtype">int</span>,<span class="keywordtype">int</span>); <a name="l00088"></a>00088 <a name="l00090"></a>00090 <a name="l00094"></a>00094 vtkViewportCoordinateMacro(Position2); <a name="l00096"></a>00096 <a name="l00098"></a>00098 <a name="l00101"></a>00101 <span class="keywordtype">void</span> SetWidth(<span class="keywordtype">double</span> w); <a name="l00102"></a>00102 <span class="keywordtype">double</span> GetWidth(); <a name="l00103"></a>00103 <span class="keywordtype">void</span> SetHeight(<span class="keywordtype">double</span> h); <a name="l00104"></a>00104 <span class="keywordtype">double</span> GetHeight(); <a name="l00106"></a>00106 <a name="l00108"></a>00108 <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <a class="code" href="a01084.html#8137c0551b29bb996f0dd2f886bcd2da">GetMTime</a>(); <a name="l00109"></a>00109 <a name="l00113"></a>00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a01317.html#f8df3a3e67b6d97748bb1a6505265218">GetActors2D</a>(<a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a> *pc); <a name="l00114"></a>00114 <a name="l00117"></a>00117 <span class="keyword">virtual</span> <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="l00118"></a>00118 <a name="l00122"></a>00122 <span class="keyword">virtual</span> <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="l00123"></a>00123 <a name="l00125"></a>00125 <a name="l00128"></a><a class="code" href="a00093.html#2c909f02fd0f60df7373c6a14dc9db0f">00128</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> *GetActualPositionCoordinate(<span class="keywordtype">void</span>) <a name="l00129"></a>00129 { <span class="keywordflow">return</span> this->PositionCoordinate; } <a name="l00131"></a>00131 <a name="l00133"></a>00133 <a name="l00136"></a><a class="code" href="a00093.html#eedeef43cd450d168de8899afba7b00c">00136</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> *GetActualPosition2Coordinate(<span class="keywordtype">void</span>) <a name="l00137"></a>00137 { <span class="keywordflow">return</span> this->Position2Coordinate; } <a name="l00139"></a>00139 <a name="l00140"></a>00140 <span class="keyword">protected</span>: <a name="l00141"></a>00141 <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>(); <a name="l00142"></a>00142 ~<a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>(); <a name="l00143"></a>00143 <a name="l00144"></a><a class="code" href="a00093.html#749bb7d302671c26a254e78ad1fd52bd">00144</a> <a class="code" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors">vtkMapper2D</a> *Mapper; <a name="l00145"></a><a class="code" href="a00093.html#26f3bff221c5e7ba416316b30b7ab385">00145</a> <span class="keywordtype">int</span> LayerNumber; <a name="l00146"></a><a class="code" href="a00093.html#264600297d7c6624a64cc3e50b724747">00146</a> <a class="code" href="a01323.html" title="represent surface properties of a 2D image">vtkProperty2D</a> *Property; <a name="l00147"></a><a class="code" href="a00093.html#134a3b2e84a00cd21b9a2941f2248956">00147</a> <a class="code" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate...">vtkCoordinate</a> *PositionCoordinate; <a name="l00148"></a><a class="code" href="a00093.html#abbe0120f4734ba0769f0c256eb445a3">00148</a> <a class="code" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate...">vtkCoordinate</a> *Position2Coordinate; <a name="l00149"></a>00149 <a name="l00150"></a>00150 <span class="keyword">private</span>: <a name="l00151"></a>00151 <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>(<span class="keyword">const</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00152"></a>00152 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00093.html" title="a actor that draws 2D data">vtkActor2D</a>&); <span class="comment">// Not implemented.</span> <a name="l00153"></a>00153 }; <a name="l00154"></a>00154 <a name="l00155"></a>00155 <span class="preprocessor">#endif</span> <a name="l00156"></a>00156 <span class="preprocessor"></span> <a name="l00157"></a>00157 <a name="l00158"></a>00158 </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:13 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>