31 #ifndef vtkNetCDFCAMReader_h 32 #define vtkNetCDFCAMReader_h 34 #include "vtkIONetCDFModule.h" 53 static int CanReadFile(
const char* fileName);
55 void SetFileName(
const char* fileName);
56 vtkGetStringMacro(FileName);
58 void SetConnectivityFileName(
const char* fileName);
59 vtkGetStringMacro(ConnectivityFileName);
79 VERTICAL_DIMENSION_COUNT
95 vtkSetMacro(MidpointLayerIndex,
int);
96 vtkGetMacro(MidpointLayerIndex,
int);
97 vtkGetVector2Macro(MidpointLayersRange,
int);
102 vtkSetMacro(InterfaceLayerIndex,
int);
103 vtkGetMacro(InterfaceLayerIndex,
int);
104 vtkGetVector2Macro(InterfaceLayersRange,
int);
112 int GetNumberOfPointArrays();
113 const char* GetPointArrayName(
int index);
114 int GetPointArrayStatus(
const char*
name);
115 void SetPointArrayStatus(
const char*
name,
int status);
116 void DisableAllPointArrays();
117 void EnableAllPointArrays();
138 bool GetPartitioning(
139 size_t piece,
size_t numPieces,
size_t numCellLevels,
size_t numCellsPerLevel,
140 size_t & beginCellLevel,
size_t & endCellLevel,
size_t & beginCell,
size_t & endCell);
142 void BuildVarArray();
143 static void SelectionCallback(
vtkObject* caller,
unsigned long eid,
144 void* clientdata,
void* calldata);
157 char* CurrentFileName;
158 vtkSetStringMacro(CurrentFileName);
165 char* ConnectivityFileName;
166 char* CurrentConnectivityFileName;
167 vtkSetStringMacro(CurrentConnectivityFileName);
172 size_t NumberOfTimeSteps;
177 int MidpointLayerIndex;
178 int MidpointLayersRange[2];
181 int InterfaceLayerIndex;
182 int InterfaceLayersRange[2];
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
abstract base class for most VTK objects
static vtkUnstructuredGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Read unstructured NetCDF CAM files.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
supports function callbacks
a simple class to control print indentation
Store on/off settings for data arrays for a vtkSource.
Superclass for algorithms that produce only unstructured grid as output.
VerticalDimension
Set whether to read a single layer, midpoint layers or interface layers.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.