31 #ifndef __vtkNetCDFCAMReader_h
32 #define __vtkNetCDFCAMReader_h
50 static int CanReadFile(
const char* fileName);
52 void SetFileName(
const char* fileName);
53 vtkGetStringMacro(FileName);
55 void SetConnectivityFileName(
const char* fileName);
56 vtkGetStringMacro(ConnectivityFileName);
65 vtkBooleanMacro(SingleLevel,
int);
66 vtkSetClampMacro(SingleLevel,
int, 0, 1);
67 vtkGetMacro(SingleLevel,
int);
74 vtkSetMacro(CellLayerRight,
int);
75 vtkGetMacro(CellLayerRight,
int);
96 int piece,
int numPieces,
int numCellLevels,
int numCellsPerLevel,
97 int & beginCellLevel,
int & endCellLevel,
int & beginCell,
int & endCell);
108 char* CurrentFileName;
109 vtkSetStringMacro(CurrentFileName);
114 char* ConnectivityFileName;
115 char* CurrentConnectivityFileName;
116 vtkSetStringMacro(CurrentConnectivityFileName);
125 long NumberOfTimeSteps;
131 NcFile* ConnectivityFile;
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Read unstructured NetCDF CAM files.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
#define VTKIONETCDF_EXPORT
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)