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

dox/IO/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 =========================================================================*/ 00037 #ifndef __vtkEnSightGoldReader_h 00038 #define __vtkEnSightGoldReader_h 00039 00040 #include "vtkEnSightReader.h" 00041 00042 class VTK_IO_EXPORT vtkEnSightGoldReader : public vtkEnSightReader 00043 { 00044 public: 00045 static vtkEnSightGoldReader *New(); 00046 vtkTypeRevisionMacro(vtkEnSightGoldReader, vtkEnSightReader); 00047 virtual void PrintSelf(ostream& os, vtkIndent indent); 00048 00049 protected: 00050 vtkEnSightGoldReader() {}; 00051 ~vtkEnSightGoldReader() {}; 00052 00055 virtual int ReadGeometryFile(char* fileName, int timeStep); 00056 00059 virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep); 00060 00062 00065 virtual int ReadScalarsPerNode(char* fileName, char* description, 00066 int timeStep, int measured = 0, 00067 int numberOfComponents = 1, 00068 int component = 0); 00070 00072 00074 virtual int ReadVectorsPerNode(char* fileName, char* description, 00075 int timeStep, int measured = 0); 00077 00079 00081 virtual int ReadTensorsPerNode(char* fileName, char* description, 00082 int timeStep); 00084 00086 00089 virtual int ReadScalarsPerElement(char* fileName, char* description, 00090 int timeStep, int numberOfComponents = 1, 00091 int component = 0); 00093 00095 00097 virtual int ReadVectorsPerElement(char* fileName, char* description, 00098 int timeStep); 00100 00102 00104 virtual int ReadTensorsPerElement(char* fileName, char* description, 00105 int timeStep); 00107 00109 00112 virtual int CreateUnstructuredGridOutput(int partId, 00113 char line[256], 00114 const char* name); 00116 00118 00120 virtual int CreateStructuredGridOutput(int partId, 00121 char line[256], 00122 const char* name); 00124 00127 int CreateRectilinearGridOutput(int partId, char line[256], const char* name); 00128 00131 int CreateImageDataOutput(int partId, char line[256], const char* name); 00132 00134 00135 vtkSetStringMacro(GeometryFileName); 00136 vtkGetStringMacro(GeometryFileName); 00138 00140 00141 vtkSetStringMacro(MeasuredFileName); 00142 vtkGetStringMacro(MeasuredFileName); 00144 00146 00147 vtkSetStringMacro(MatchFileName); 00148 vtkGetStringMacro(MatchFileName); 00150 private: 00151 vtkEnSightGoldReader(const vtkEnSightGoldReader&); // Not implemented. 00152 void operator=(const vtkEnSightGoldReader&); // Not implemented. 00153 }; 00154 00155 #endif