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 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 =========================================================================*/ 00041 #ifndef __vtkEnSightGoldReader_h 00042 #define __vtkEnSightGoldReader_h 00043 00044 #include "vtkEnSightReader.h" 00045 00046 class VTK_IO_EXPORT vtkEnSightGoldReader : public vtkEnSightReader 00047 { 00048 public: 00049 static vtkEnSightGoldReader *New(); 00050 vtkTypeRevisionMacro(vtkEnSightGoldReader, vtkEnSightReader); 00051 virtual void PrintSelf(ostream& os, vtkIndent indent); 00052 00053 protected: 00054 vtkEnSightGoldReader() {}; 00055 ~vtkEnSightGoldReader() {}; 00056 00059 virtual int ReadGeometryFile(char* fileName, int timeStep); 00060 00063 virtual int ReadMeasuredGeometryFile(char* fileName, int timeStep); 00064 00066 00069 virtual int ReadScalarsPerNode(char* fileName, char* description, 00070 int timeStep, int measured = 0, 00071 int numberOfComponents = 1, 00072 int component = 0); 00074 00076 00078 virtual int ReadVectorsPerNode(char* fileName, char* description, 00079 int timeStep, int measured = 0); 00081 00083 00085 virtual int ReadTensorsPerNode(char* fileName, char* description, 00086 int timeStep); 00088 00090 00093 virtual int ReadScalarsPerElement(char* fileName, char* description, 00094 int timeStep, int numberOfComponents = 1, 00095 int component = 0); 00097 00099 00101 virtual int ReadVectorsPerElement(char* fileName, char* description, 00102 int timeStep); 00104 00106 00108 virtual int ReadTensorsPerElement(char* fileName, char* description, 00109 int timeStep); 00111 00115 virtual int CreateUnstructuredGridOutput(int partId, char line[256]); 00116 00119 virtual int CreateStructuredGridOutput(int partId, char line[256]); 00120 00123 int CreateRectilinearGridOutput(int partId, char line[256]); 00124 00127 int CreateImageDataOutput(int partId, char line[256]); 00128 00130 00131 vtkSetStringMacro(GeometryFileName); 00132 vtkGetStringMacro(GeometryFileName); 00134 00136 00137 vtkSetStringMacro(MeasuredFileName); 00138 vtkGetStringMacro(MeasuredFileName); 00140 00142 00143 vtkSetStringMacro(MatchFileName); 00144 vtkGetStringMacro(MatchFileName); 00146 private: 00147 vtkEnSightGoldReader(const vtkEnSightGoldReader&); // Not implemented. 00148 void operator=(const vtkEnSightGoldReader&); // Not implemented. 00149 }; 00150 00151 #endif