Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

IO/vtkEnSightGoldReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEnSightGoldReader.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00051 #ifndef __vtkEnSightGoldReader_h
00052 #define __vtkEnSightGoldReader_h
00053 
00054 #include "vtkEnSightReader.h"
00055 
00056 class VTK_IO_EXPORT vtkEnSightGoldReader : public vtkEnSightReader
00057 {
00058 public:
00059   static vtkEnSightGoldReader *New();
00060   vtkTypeRevisionMacro(vtkEnSightGoldReader, vtkEnSightReader);
00061   virtual void PrintSelf(ostream& os, vtkIndent indent);
00062   
00063 protected:
00064   vtkEnSightGoldReader() {};
00065   ~vtkEnSightGoldReader() {};
00066   
00069   virtual int ReadGeometryFile(char* fileName, int timeStep);
00070 
00073   virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep);
00074 
00076 
00079   virtual int ReadScalarsPerNode(char* fileName, char* description,
00080                                  int timeStep, int measured = 0,
00081                                  int numberOfComponents = 1,
00082                                  int component = 0);
00084   
00086 
00088   virtual int ReadVectorsPerNode(char* fileName, char* description,
00089                                  int timeStep, int measured = 0);
00091 
00093 
00095   virtual int ReadTensorsPerNode(char* fileName, char* description,
00096                                  int timeStep);
00098 
00100 
00103   virtual int ReadScalarsPerElement(char* fileName, char* description,
00104                                     int timeStep, int numberOfComponents = 1,
00105                                     int component = 0);
00107 
00109 
00111   virtual int ReadVectorsPerElement(char* fileName, char* description,
00112                                     int timeStep);
00114 
00116 
00118   virtual int ReadTensorsPerElement(char* fileName, char* description,
00119                                     int timeStep);
00121 
00125   virtual int CreateUnstructuredGridOutput(int partId, char line[256]);
00126   
00129   virtual int CreateStructuredGridOutput(int partId, char line[256]);
00130   
00133   int CreateRectilinearGridOutput(int partId, char line[256]);
00134   
00137   int CreateImageDataOutput(int partId, char line[256]);
00138   
00140 
00141   vtkSetStringMacro(GeometryFileName);
00142   vtkGetStringMacro(GeometryFileName);
00144 
00146 
00147   vtkSetStringMacro(MeasuredFileName);
00148   vtkGetStringMacro(MeasuredFileName);
00150 
00152 
00153   vtkSetStringMacro(MatchFileName);
00154   vtkGetStringMacro(MatchFileName);
00156 private:
00157   vtkEnSightGoldReader(const vtkEnSightGoldReader&);  // Not implemented.
00158   void operator=(const vtkEnSightGoldReader&);  // Not implemented.
00159 };
00160 
00161 #endif