Sophie

Sophie

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

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/vtkVRMLImporter.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/vtkVRMLImporter.h</h1><a href="a02858.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: vtkVRMLImporter.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="l00050"></a>00050 <span class="preprocessor">#ifndef __vtkVRMLImporter_h</span>
<a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#define __vtkVRMLImporter_h</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a>00053 <span class="comment">// Includes for the yacc/lex parser</span>
<a name="l00054"></a>00054 <span class="preprocessor">#include "<a class="code" href="a03421.html">vtkImporter.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="a00101.html" title="Superclass for all sources, filters, and sinks in VTK.">vtkAlgorithm</a>;
<a name="l00058"></a>00058 <span class="keyword">class </span><a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>;
<a name="l00059"></a>00059 <span class="keyword">class </span><a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>;
<a name="l00060"></a>00060 <span class="keyword">class </span><a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a>;
<a name="l00061"></a>00061 <span class="keyword">class </span><a class="code" href="a01723.html" title="describes linear transformations via a 4x4 matrix">vtkTransform</a>;
<a name="l00062"></a>00062 <span class="keyword">class </span><a class="code" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a>;
<a name="l00063"></a>00063 <span class="keyword">class </span><a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>;
<a name="l00064"></a>00064 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>;
<a name="l00065"></a>00065 <span class="keyword">class </span><a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>;
<a name="l00066"></a>00066 <span class="keyword">class </span><a class="code" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType">vtkIdTypeArray</a>;
<a name="l00067"></a>00067 <span class="keyword">class </span>vtkVRMLImporterInternal;
<a name="l00068"></a>00068 <span class="keyword">class </span><a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>;
<a name="l00069"></a>00069 
<a name="l00070"></a><a class="code" href="a01863.html">00070</a> <span class="keyword">class </span><a class="code" href="a02170.html#9e9a05a8377523b4f8d707441f65786d">VTK_HYBRID_EXPORT</a> <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a> : <span class="keyword">public</span> <a class="code" href="a00868.html" title="importer abstract class">vtkImporter</a>
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072 <span class="keyword">public</span>:
<a name="l00073"></a>00073   <span class="keyword">static</span> <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00074"></a>00074 
<a name="l00075"></a><a class="code" href="a01863.html#20f1017b31a272da80b331c7db921173">00075</a>   vtkTypeRevisionMacro(<a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>,<a class="code" href="a00868.html" title="importer abstract class">vtkImporter</a>);
<a name="l00076"></a>00076   <span class="keywordtype">void</span> <a class="code" href="a00868.html#0314c6d067fc5c5797c8a83900cbf832">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00077"></a>00077 
<a name="l00083"></a>00083   <a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a> *GetVRMLDEFObject(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210c713735f1d46c2694d66e85217207be2">name</a>);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00087"></a>00087   <span class="keywordtype">void</span> enterNode(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00088"></a>00088   <span class="keywordtype">void</span> exitNode();
<a name="l00089"></a>00089   <span class="keywordtype">void</span> enterField(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00090"></a>00090   <span class="keywordtype">void</span> exitField();
<a name="l00091"></a>00091   <span class="keywordtype">void</span> useNode(<span class="keyword">const</span> <span class="keywordtype">char</span> *);
<a name="l00093"></a>00093 
<a name="l00095"></a>00095 
<a name="l00096"></a>00096   vtkSetStringMacro(FileName);
<a name="l00097"></a>00097   vtkGetStringMacro(FileName);
<a name="l00099"></a>00099 
<a name="l00101"></a><a class="code" href="a01863.html#5ced00c7950542e202abada614989bbd">00101</a>   FILE *GetFileFD() {<span class="keywordflow">return</span> this-&gt;FileFD;};
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 <span class="comment">//BTX</span>
<a name="l00104"></a>00104 
<a name="l00105"></a>00105   <span class="keyword">friend</span> <span class="keywordtype">int</span> yylex ( <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>* );
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 <span class="comment">//ETX</span>
<a name="l00108"></a>00108 
<a name="l00109"></a>00109 <span class="keyword">protected</span>:
<a name="l00110"></a>00110   <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>();
<a name="l00111"></a>00111   ~<a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>();
<a name="l00112"></a>00112 
<a name="l00113"></a>00113   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00868.html#9f49ce5b7f985cc0a2b950e1caa82e77">ImportBegin</a> ();
<a name="l00114"></a>00114   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00868.html#bfce6cd2fdf208744f32e4fd24762c2a">ImportEnd</a> ();
<a name="l00115"></a><a class="code" href="a01863.html#6e002e44dd75d00c7379559d1d509387">00115</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00868.html#6cd076e642afa602be47e98b4a7464c2">ImportActors</a> (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *) {};
<a name="l00116"></a><a class="code" href="a01863.html#17c20e15d35bb927d7f851c64b84e232">00116</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00868.html#4a294d5a38d24b762e990196948d0266">ImportCameras</a> (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *) {};
<a name="l00117"></a><a class="code" href="a01863.html#dafec9eacc22c43dd21fd6d5e6221b16">00117</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00868.html#ee8c3f58c8cc44cb42c64df5cfd0cfdc">ImportLights</a> (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *) {};
<a name="l00118"></a><a class="code" href="a01863.html#16f5d522141bbcf99a21a2ae7790e491">00118</a>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00868.html#19a57464bd8c244742a03322b5cd13f4">ImportProperties</a> (<a class="code" href="a01480.html" title="abstract specification for renderers">vtkRenderer</a> *) {};
<a name="l00119"></a>00119 
<a name="l00120"></a>00120   <span class="keywordtype">int</span> OpenImportFile();
<a name="l00121"></a><a class="code" href="a01863.html#3116cfca36ebb945fcf483ba86fab769">00121</a>   <span class="keywordtype">char</span> *FileName;
<a name="l00122"></a><a class="code" href="a01863.html#316e5b13f80740fc0a26d1d8817be9fe">00122</a>   FILE *FileFD;
<a name="l00123"></a>00123 
<a name="l00124"></a>00124 <span class="keyword">private</span>:
<a name="l00125"></a>00125   <a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a>             *CurrentActor;
<a name="l00126"></a>00126   <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>          *CurrentProperty;
<a name="l00127"></a>00127   <a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>            *CurrentCamera;
<a name="l00128"></a>00128   <a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a>             *CurrentLight;
<a name="l00129"></a>00129   <a class="code" href="a01723.html" title="describes linear transformations via a 4x4 matrix">vtkTransform</a>         *CurrentTransform;
<a name="l00130"></a>00130   <a class="code" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK.">vtkAlgorithm</a>         *CurrentSource;
<a name="l00131"></a>00131   <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>            *CurrentPoints;
<a name="l00132"></a>00132   <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>        *CurrentNormals;
<a name="l00133"></a>00133   <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>        *CurrentTCoords;
<a name="l00134"></a>00134   <a class="code" href="a00242.html" title="object to represent cell connectivity">vtkCellArray</a>         *CurrentTCoordCells;
<a name="l00135"></a>00135   <a class="code" href="a00980.html" title="map scalar values into colors via a lookup table">vtkLookupTable</a>       *CurrentLut;
<a name="l00136"></a>00136   <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>        *CurrentScalars;
<a name="l00137"></a>00137   <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>    *CurrentMapper;
<a name="l00138"></a>00138 
<a name="l00139"></a>00139   <a class="code" href="a01250.html" title="represent and manipulate 3D points">vtkPoints</a>* PointsNew();
<a name="l00140"></a>00140   <a class="code" href="a00556.html" title="dynamic, self-adjusting array of float">vtkFloatArray</a>* FloatArrayNew();
<a name="l00141"></a>00141   <a class="code" href="a00722.html" title="dynamic, self-adjusting array of vtkIdType">vtkIdTypeArray</a>* IdTypeArrayNew();
<a name="l00142"></a>00142 
<a name="l00143"></a>00143   <span class="keywordtype">void</span> DeleteObject(<a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>*);
<a name="l00144"></a>00144 
<a name="l00145"></a>00145   vtkVRMLImporterInternal* Internal;
<a name="l00146"></a>00146 
<a name="l00147"></a>00147 <span class="keyword">private</span>:
<a name="l00148"></a>00148   <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>(<span class="keyword">const</span> <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00149"></a>00149   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01863.html" title="imports VRML 2.0 files.">vtkVRMLImporter</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00150"></a>00150 };
<a name="l00151"></a>00151 
<a name="l00152"></a>00152 <span class="preprocessor">#endif</span>
<a name="l00153"></a>00153 <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>