Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 5208

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!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/vtkImageActor.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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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/vtkImageActor.h</h1><a href="a03416.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: vtkImageActor.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="l00037"></a>00037 <span class="preprocessor">#ifndef __vtkImageActor_h</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define __vtkImageActor_h</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="a03522.html">vtkProp3D.h</a>"</span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="a01321.html" title="a list of Props">vtkPropCollection</a>;
<a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>;
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>;
<a name="l00045"></a>00045 
<a name="l00046"></a><a class="code" href="a00725.html">00046</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</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="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="keyword">public</span>:
<a name="l00049"></a><a class="code" href="a00725.html#aad95a52d81c6739b14d1c389304626b">00049</a>   vtkTypeRevisionMacro(<a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>,<a class="code" href="a01318.html" title="represents an 3D object for placement in a rendered scene">vtkProp3D</a>);
<a name="l00050"></a>00050   <span class="keywordtype">void</span> <a class="code" href="a01318.html#fc4c78b78843229db37631fdb24481f9">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00051"></a>00051 
<a name="l00053"></a>00053   <span class="keyword">static</span> <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00054"></a>00054 
<a name="l00056"></a>00056 
<a name="l00057"></a>00057   <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetInput(<a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a> *);
<a name="l00058"></a>00058   vtkGetObjectMacro(Input,<a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>);
<a name="l00060"></a>00060 
<a name="l00062"></a>00062 
<a name="l00063"></a>00063   vtkGetMacro(Interpolate,<span class="keywordtype">int</span>);
<a name="l00064"></a>00064   vtkSetMacro(Interpolate,<span class="keywordtype">int</span>);
<a name="l00065"></a>00065   vtkBooleanMacro(Interpolate,<span class="keywordtype">int</span>);
<a name="l00067"></a>00067 
<a name="l00069"></a>00069 
<a name="l00071"></a>00071   vtkSetClampMacro(Opacity,<span class="keywordtype">double</span>,0.0,1.0);
<a name="l00072"></a>00072   vtkGetMacro(Opacity,<span class="keywordtype">double</span>);
<a name="l00074"></a>00074 
<a name="l00076"></a>00076 
<a name="l00078"></a>00078   <span class="keywordtype">void</span> SetDisplayExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]);
<a name="l00079"></a>00079   <span class="keywordtype">void</span> SetDisplayExtent(<span class="keywordtype">int</span> minX, <span class="keywordtype">int</span> maxX, <span class="keywordtype">int</span> minY, <span class="keywordtype">int</span> maxY, 
<a name="l00080"></a>00080                         <span class="keywordtype">int</span> minZ, <span class="keywordtype">int</span> maxZ);
<a name="l00081"></a>00081   <span class="keywordtype">void</span> GetDisplayExtent(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21083c65ff97d39562e6981dc3e2041b09f">extent</a>[6]);
<a name="l00082"></a><a class="code" href="a00725.html#2b4418020b460bf5c1c9fa8ef3e13436">00082</a>   <span class="keywordtype">int</span> *GetDisplayExtent() {<span class="keywordflow">return</span> this-&gt;DisplayExtent;}
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00090"></a>00090   <span class="keywordtype">double</span> *<a class="code" href="a01318.html#ac58a1c4708c1e130f65f2330ab31fb6">GetBounds</a>();
<a name="l00091"></a><a class="code" href="a00725.html#dde301c3e0a0e8e6418058fff0e72f07">00091</a>   <span class="keywordtype">void</span> <a class="code" href="a01318.html#ac58a1c4708c1e130f65f2330ab31fb6">GetBounds</a>(<span class="keywordtype">double</span> bounds[6]) { this-&gt;Superclass::GetBounds(bounds); };
<a name="l00093"></a>00093 
<a name="l00095"></a>00095 
<a name="l00098"></a>00098   <span class="keywordtype">double</span> *GetDisplayBounds();
<a name="l00099"></a>00099   <span class="keywordtype">void</span> GetDisplayBounds(<span class="keywordtype">double</span> bounds[6]);
<a name="l00101"></a>00101 
<a name="l00103"></a>00103 
<a name="l00105"></a>00105   <span class="keywordtype">int</span> GetSliceNumber();
<a name="l00106"></a>00106   <span class="keywordtype">int</span> GetSliceNumberMax();
<a name="l00107"></a>00107   <span class="keywordtype">int</span> GetSliceNumberMin();
<a name="l00109"></a>00109   
<a name="l00110"></a>00110   <span class="comment">//BTX</span>
<a name="l00112"></a>00112 <span class="comment"></span>
<a name="l00115"></a>00115   <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="l00116"></a>00116   <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="l00117"></a><a class="code" href="a00725.html#ec7b007ba985cdc3c4d2fa1758b9de5d">00117</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> Render(<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *) {};
<a name="l00119"></a>00119   
<a name="l00121"></a>00121 
<a name="l00122"></a>00122   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#6e32af79f4756a287a61017b7c2f7364">HasTranslucentPolygonalGeometry</a>();
<a name="l00123"></a>00123   <span class="comment">//ETX</span>
<a name="l00125"></a>00125 <span class="comment"></span>
<a name="l00127"></a>00127 
<a name="l00134"></a><a class="code" href="a00725.html#e99f00241174a4546f6b3ad6b703c954">00134</a>   <span class="keywordtype">void</span> SetZSlice(<span class="keywordtype">int</span> z) {this-&gt;SetDisplayExtent(
<a name="l00135"></a>00135     this-&gt;DisplayExtent[0], this-&gt;DisplayExtent[1],
<a name="l00136"></a>00136     this-&gt;DisplayExtent[2], this-&gt;DisplayExtent[3], z, z);
<a name="l00137"></a>00137   };
<a name="l00138"></a><a class="code" href="a00725.html#fc229b2ef59b8562861cf5b4c9ada553">00138</a>   <span class="keywordtype">int</span> GetZSlice() { <span class="keywordflow">return</span> this-&gt;DisplayExtent[4];};
<a name="l00139"></a>00139   <span class="keywordtype">int</span> GetWholeZMin();
<a name="l00140"></a>00140   <span class="keywordtype">int</span> GetWholeZMax();
<a name="l00142"></a>00142 
<a name="l00143"></a>00143 <span class="keyword">protected</span>:
<a name="l00144"></a>00144   <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>();
<a name="l00145"></a>00145   ~<a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>();
<a name="l00146"></a>00146 
<a name="l00147"></a><a class="code" href="a00725.html#7f8d8942c552292afd712769114ce7ef">00147</a>   <span class="keywordtype">int</span>           Interpolate;
<a name="l00148"></a><a class="code" href="a00725.html#619c7fe3c62bdf33362140088d65b4c8">00148</a>   <span class="keywordtype">double</span>        Opacity;
<a name="l00149"></a><a class="code" href="a00725.html#06906e3de7e7a78cd8da8cb6c33b9dc3">00149</a>   <a class="code" href="a00751.html" title="topologically and geometrically regular array of data">vtkImageData</a>* Input;
<a name="l00150"></a><a class="code" href="a00725.html#e39a2982e1e29ff959cbe4928029d2e7">00150</a>   <span class="keywordtype">int</span>           DisplayExtent[6];
<a name="l00151"></a><a class="code" href="a00725.html#58da7dd1967a73af702792acd3bd2a16">00151</a>   <span class="keywordtype">int</span>           ComputedDisplayExtent[6];
<a name="l00152"></a><a class="code" href="a00725.html#6226ea71061a8817bf7a3e3407dda908">00152</a>   <span class="keywordtype">double</span>        DisplayBounds[6];
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 <span class="keyword">private</span>:
<a name="l00155"></a>00155   <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>(<span class="keyword">const</span> <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00156"></a>00156   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00725.html" title="draw an image (data &amp;amp; properties) in a rendered 3D scene">vtkImageActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00157"></a>00157 };
<a name="l00158"></a>00158 
<a name="l00159"></a>00159 <span class="preprocessor">#endif</span>
<a name="l00160"></a>00160 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:46 2009 for VTK by&nbsp;
<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>