Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkEnSightGoldReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEnSightGoldReader.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00047 #ifndef __vtkEnSightGoldReader_h
00048 #define __vtkEnSightGoldReader_h
00049 
00050 #include "vtkEnSightReader.h"
00051 
00052 class VTK_IO_EXPORT vtkEnSightGoldReader : public vtkEnSightReader
00053 {
00054 public:
00055   static vtkEnSightGoldReader *New();
00056   vtkTypeRevisionMacro(vtkEnSightGoldReader, vtkEnSightReader);
00057   virtual void PrintSelf(ostream& os, vtkIndent indent);
00058   
00059 protected:
00060   vtkEnSightGoldReader() {};
00061   ~vtkEnSightGoldReader() {};
00062   
00065   virtual int ReadGeometryFile(char* fileName, int timeStep);
00066 
00069   virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep);
00070 
00072 
00075   virtual int ReadScalarsPerNode(char* fileName, char* description,
00076                                  int timeStep, int measured = 0,
00077                                  int numberOfComponents = 1,
00078                                  int component = 0);
00080   
00082 
00084   virtual int ReadVectorsPerNode(char* fileName, char* description,
00085                                  int timeStep, int measured = 0);
00087 
00089 
00091   virtual int ReadTensorsPerNode(char* fileName, char* description,
00092                                  int timeStep);
00094 
00096 
00099   virtual int ReadScalarsPerElement(char* fileName, char* description,
00100                                     int timeStep, int numberOfComponents = 1,
00101                                     int component = 0);
00103 
00105 
00107   virtual int ReadVectorsPerElement(char* fileName, char* description,
00108                                     int timeStep);
00110 
00112 
00114   virtual int ReadTensorsPerElement(char* fileName, char* description,
00115                                     int timeStep);
00117 
00119 
00122   virtual int CreateUnstructuredGridOutput(int partId, 
00123                                            char line[256],
00124                                            const char* name);
00126   
00128 
00130   virtual int CreateStructuredGridOutput(int partId, 
00131                                          char line[256],
00132                                          const char* name);
00134   
00137   int CreateRectilinearGridOutput(int partId, char line[256], const char* name);
00138   
00141   int CreateImageDataOutput(int partId, char line[256], const char* name);
00142   
00144 
00145   vtkSetStringMacro(GeometryFileName);
00146   vtkGetStringMacro(GeometryFileName);
00148 
00150 
00151   vtkSetStringMacro(MeasuredFileName);
00152   vtkGetStringMacro(MeasuredFileName);
00154 
00156 
00157   vtkSetStringMacro(MatchFileName);
00158   vtkGetStringMacro(MatchFileName);
00160 private:
00161   vtkEnSightGoldReader(const vtkEnSightGoldReader&);  // Not implemented.
00162   void operator=(const vtkEnSightGoldReader&);  // Not implemented.
00163 };
00164 
00165 #endif