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

vtkEnSight6Reader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEnSight6Reader.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 __vtkEnSight6Reader_h
00038 #define __vtkEnSight6Reader_h
00039 
00040 #include "vtkEnSightReader.h"
00041 
00042 class vtkIdTypeArray;
00043 class vtkPoints;
00044 
00045 class VTK_IO_EXPORT vtkEnSight6Reader : public vtkEnSightReader
00046 {
00047 public:
00048   static vtkEnSight6Reader *New();
00049   vtkTypeRevisionMacro(vtkEnSight6Reader, vtkEnSightReader);
00050   virtual void PrintSelf(ostream& os, vtkIndent indent);
00051   
00052 protected:
00053   vtkEnSight6Reader();
00054   ~vtkEnSight6Reader();
00055   
00058   virtual int ReadGeometryFile(const char* fileName, int timeStep);
00059 
00062   virtual int ReadMeasuredGeometryFile(const char* fileName, int timeStep);
00063 
00065 
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 
00094   virtual int ReadScalarsPerElement(const char* fileName, const char* description,
00095                                     int timeStep, int numberOfComponents = 1,
00096                                     int component = 0);
00098 
00100 
00102   virtual int ReadVectorsPerElement(const char* fileName, const char* description,
00103                                     int timeStep);
00105 
00107 
00109   virtual int ReadTensorsPerElement(const char* fileName, const char* description,
00110                                     int timeStep);
00112 
00114 
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   
00129   // global list of points for the unstructured parts of the model
00130   int NumberOfUnstructuredPoints;
00131   vtkPoints* UnstructuredPoints;
00132   vtkIdTypeArray* UnstructuredNodeIds; // matching of node ids to point ids
00133 private:
00134   vtkEnSight6Reader(const vtkEnSight6Reader&);  // Not implemented.
00135   void operator=(const vtkEnSight6Reader&);  // Not implemented.
00136 };
00137 
00138 #endif

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