Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00037 #ifndef __vtkEnSightGoldReader_h
00038 #define __vtkEnSightGoldReader_h
00039 
00040 #include "vtkEnSightReader.h"
00041 
00042 //BTX
00043 class UndefPartialInternal;
00044 //ETX
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(const char* fileName, int timeStep);
00060 
00063   virtual int ReadMeasuredGeometryFile(const char* fileName, int timeStep);
00064 
00066 
00069   virtual int ReadScalarsPerNode(const char* fileName, const char* description,
00070                                  int timeStep, int measured = 0,
00071                                  int numberOfComponents = 1,
00072                                  int component = 0);
00074   
00076 
00078   virtual int ReadVectorsPerNode(const char* fileName, const char* description,
00079                                  int timeStep, int measured = 0);
00081 
00083 
00085   virtual int ReadTensorsPerNode(const char* fileName, const char* description,
00086                                  int timeStep);
00088 
00090 
00093   virtual int ReadScalarsPerElement(const char* fileName, const char* description,
00094                                     int timeStep, int numberOfComponents = 1,
00095                                     int component = 0);
00097 
00099 
00101   virtual int ReadVectorsPerElement(const char* fileName, const char* description,
00102                                     int timeStep);
00104 
00106 
00108   virtual int ReadTensorsPerElement(const char* fileName, const char* description,
00109                                     int timeStep);
00111 
00113 
00116   virtual int CreateUnstructuredGridOutput(int partId, 
00117                                            char line[256],
00118                                            const char* name);
00120   
00122 
00124   virtual int CreateStructuredGridOutput(int partId, 
00125                                          char line[256],
00126                                          const char* name);
00128   
00131   int CreateRectilinearGridOutput(int partId, char line[256], const char* name);
00132   
00135   int CreateImageDataOutput(int partId, char line[256], const char* name);
00136   
00138 
00139   vtkSetStringMacro(GeometryFileName);
00140   vtkGetStringMacro(GeometryFileName);
00142 
00144 
00145   vtkSetStringMacro(MeasuredFileName);
00146   vtkGetStringMacro(MeasuredFileName);
00148 
00150 
00151   vtkSetStringMacro(MatchFileName);
00152   vtkGetStringMacro(MatchFileName);
00154 
00157   int CheckForUndefOrPartial(const char *line);
00158 
00160   UndefPartialInternal* UndefPartial;
00161 
00162 private:
00163   vtkEnSightGoldReader(const vtkEnSightGoldReader&);  // Not implemented.
00164   void operator=(const vtkEnSightGoldReader&);  // Not implemented.
00165 };
00166 
00167 #endif

Generated on Mon Jan 21 23:07:31 2008 for VTK by  doxygen 1.4.3-20050530