32 #ifndef vtkNetCDFCAMReader_h
33 #define vtkNetCDFCAMReader_h
35 #include "vtkIONetCDFModule.h"
72 vtkSetClampMacro(SingleLevel,
int, 0, 1);
73 vtkGetMacro(SingleLevel,
int);
107 int piece,
int numPieces,
int numCellLevels,
int numCellsPerLevel,
108 int & beginCellLevel,
int & endCellLevel,
int & beginCell,
int & endCell);
120 char* CurrentFileName;
121 vtkSetStringMacro(CurrentFileName);
128 char* ConnectivityFileName;
129 char* CurrentConnectivityFileName;
130 vtkSetStringMacro(CurrentConnectivityFileName);
137 long NumberOfTimeSteps;
145 NcFile* ConnectivityFile;
a simple class to control print indentation
Read unstructured NetCDF CAM files.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void SetConnectivityFileName(const char *fileName)
void SetFileName(const char *fileName)
bool GetPartitioning(int piece, int numPieces, int numCellLevels, int numCellsPerLevel, int &beginCellLevel, int &endCellLevel, int &beginCell, int &endCell)
Returns true for success.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetCellLayerRight(int)
Specify which "side" of the domain to add the connecting cells at.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static int CanReadFile(const char *fileName)
Returns 1 if this file can be read and 0 if the file cannot be read.
static vtkNetCDFCAMReader * New()
Superclass for algorithms that produce only unstructured grid as output.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.