Sophie

Sophie

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

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/Hybrid/vtkRIBExporter.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/Hybrid/vtkRIBExporter.h</h1><a href="a02846.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: vtkRIBExporter.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="l00051"></a>00051 <span class="preprocessor">#ifndef __vtkRIBExporter_h</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define __vtkRIBExporter_h</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <span class="preprocessor">#include "<a class="code" href="a03397.html">vtkExporter.h</a>"</span>
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">class </span><a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</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="a00954.html" title="a virtual light for 3D rendering">vtkLight</a>;
<a name="l00059"></a>00059 <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="l00060"></a>00060 <span class="keyword">class </span><a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>;
<a name="l00061"></a>00061 <span class="keyword">class </span><a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a>;
<a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a>;
<a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a>;
<a name="l00064"></a>00064 
<a name="l00065"></a><a class="code" href="a01495.html">00065</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a> : <span class="keyword">public</span> <a class="code" href="a00494.html" title="abstract class to write a scene to a file">vtkExporter</a>
<a name="l00066"></a>00066 {
<a name="l00067"></a>00067 <span class="keyword">public</span>:
<a name="l00068"></a>00068   <span class="keyword">static</span> <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00069"></a><a class="code" href="a01495.html#0fb07655b9f59fcdc47ca4be8c4c284f">00069</a>   vtkTypeRevisionMacro(<a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>,<a class="code" href="a00494.html" title="abstract class to write a scene to a file">vtkExporter</a>);
<a name="l00070"></a>00070   <span class="keywordtype">void</span> <a class="code" href="a00494.html#6642c99a0b13d525bae79db800f188b0">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00071"></a>00071 
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   vtkSetVector2Macro(Size,<span class="keywordtype">int</span>);
<a name="l00076"></a>00076   vtkGetVectorMacro(Size,<span class="keywordtype">int</span>,2);
<a name="l00078"></a>00078 
<a name="l00080"></a>00080 
<a name="l00081"></a>00081   vtkSetVector2Macro(PixelSamples,<span class="keywordtype">int</span>);
<a name="l00082"></a>00082   vtkGetVectorMacro(PixelSamples,<span class="keywordtype">int</span>,2);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00088"></a>00088   vtkSetStringMacro(FilePrefix);
<a name="l00089"></a>00089   vtkGetStringMacro(FilePrefix);
<a name="l00091"></a>00091 
<a name="l00093"></a>00093 
<a name="l00094"></a>00094   vtkSetStringMacro(TexturePrefix);
<a name="l00095"></a>00095   vtkGetStringMacro(TexturePrefix);
<a name="l00097"></a>00097 
<a name="l00099"></a>00099 
<a name="l00113"></a>00113   vtkSetMacro(<a class="code" href="a03761.html#88ade42854f67d6297898362e17a515fcc2c6ee90aad298b75ae59ea7d9004fb">Background</a>,<span class="keywordtype">int</span>);
<a name="l00114"></a>00114   vtkGetMacro(<a class="code" href="a03761.html#88ade42854f67d6297898362e17a515fcc2c6ee90aad298b75ae59ea7d9004fb">Background</a>,<span class="keywordtype">int</span>);
<a name="l00115"></a>00115   vtkBooleanMacro(<a class="code" href="a03761.html#88ade42854f67d6297898362e17a515fcc2c6ee90aad298b75ae59ea7d9004fb">Background</a>,<span class="keywordtype">int</span>);
<a name="l00117"></a>00117 
<a name="l00119"></a>00119 
<a name="l00122"></a>00122   vtkSetClampMacro(ExportArrays, <span class="keywordtype">int</span>, 0, 1);
<a name="l00123"></a>00123   vtkBooleanMacro(ExportArrays, <span class="keywordtype">int</span>);
<a name="l00124"></a>00124   vtkGetMacro(ExportArrays, <span class="keywordtype">int</span>);
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 <span class="keyword">protected</span>:
<a name="l00128"></a>00128   <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>();
<a name="l00129"></a>00129   ~<a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>();
<a name="l00130"></a>00130 
<a name="l00131"></a><a class="code" href="a01495.html#ea5cd07f5bd72d14ad1547b3d31c2001">00131</a>   <span class="keywordtype">int</span> <a class="code" href="a03761.html#88ade42854f67d6297898362e17a515fcc2c6ee90aad298b75ae59ea7d9004fb">Background</a>;
<a name="l00132"></a><a class="code" href="a01495.html#21f6d5daadf4bc540da81a353ca8f0fc">00132</a>   <span class="keywordtype">int</span> Size[2];
<a name="l00133"></a><a class="code" href="a01495.html#efb403f41ea4d8084a8b21c4e2cbb5a5">00133</a>   <span class="keywordtype">int</span> PixelSamples[2];
<a name="l00134"></a>00134 
<a name="l00136"></a><a class="code" href="a01495.html#368b985c77d8e7e0c8e9110834b355ec">00136</a>   <span class="keywordtype">int</span> ExportArrays;
<a name="l00137"></a>00137 
<a name="l00139"></a>00139 
<a name="l00140"></a>00140   <span class="keywordtype">void</span> WriteHeader (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *aRen);
<a name="l00141"></a>00141   <span class="keywordtype">void</span> WriteTrailer ();
<a name="l00142"></a>00142   <span class="keywordtype">void</span> WriteTexture (<a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a> *aTexture);
<a name="l00143"></a>00143   <span class="keywordtype">void</span> WriteViewport (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *aRenderer, <span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210e3d5e7c015dff08d8daf72a0102e1444">size</a>[2]);
<a name="l00144"></a>00144   <span class="keywordtype">void</span> WriteCamera (<a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a> *aCamera);
<a name="l00145"></a>00145   <span class="keywordtype">void</span> WriteLight (<a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a> *aLight, <span class="keywordtype">int</span> count);
<a name="l00146"></a>00146   <span class="keywordtype">void</span> WriteAmbientLight (<span class="keywordtype">int</span> count);
<a name="l00147"></a>00147   <span class="keywordtype">void</span> WriteProperty (<a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *aProperty, <a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a> *aTexture);
<a name="l00148"></a>00148   <span class="keywordtype">void</span> WritePolygons (<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd, <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *colors, 
<a name="l00149"></a>00149                       <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *aProperty);
<a name="l00150"></a>00150   <span class="keywordtype">void</span> WriteStrips (<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd, <a class="code" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> *colors, 
<a name="l00151"></a>00151                     <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *aProperty);
<a name="l00153"></a>00153 
<a name="l00154"></a>00154   <span class="keywordtype">void</span> <a class="code" href="a00494.html#55f34866b2d869f02f0360fbe1823984">WriteData</a>();
<a name="l00155"></a>00155   <span class="keywordtype">void</span> WriteActor(<a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a> *anActor);
<a name="l00156"></a>00156   
<a name="l00161"></a>00161   <span class="keywordtype">void</span> ModifyArrayName(<span class="keywordtype">char</span> *newname, <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>);
<a name="l00162"></a>00162 
<a name="l00163"></a>00163   <span class="keywordtype">char</span> *GetTextureName (<a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a> *aTexture);
<a name="l00164"></a>00164   <span class="keywordtype">char</span> *GetTIFFName (<a class="code" href="a01695.html" title="handles properties associated with a texture map">vtkTexture</a> *aTexture);
<a name="l00165"></a><a class="code" href="a01495.html#06da2a45f47cd478e9423c58404bb841">00165</a>   <span class="keywordtype">char</span> *FilePrefix;
<a name="l00166"></a><a class="code" href="a01495.html#467c78234f7bb7925a20b5ba49d43a61">00166</a>   FILE *FilePtr;
<a name="l00167"></a><a class="code" href="a01495.html#b851c07dfc7226e27f2183f6c06681b3">00167</a>   <span class="keywordtype">char</span> *TexturePrefix;
<a name="l00168"></a>00168 <span class="keyword">private</span>:
<a name="l00169"></a>00169   <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>(<span class="keyword">const</span> <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00170"></a>00170   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01495.html" title="export a scene into RenderMan RIB format.">vtkRIBExporter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00171"></a>00171 };
<a name="l00172"></a>00172 
<a name="l00173"></a>00173 <span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:33 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>