28 #ifndef vtkNetCDFCAMReader_h 29 #define vtkNetCDFCAMReader_h 31 #include "vtkIONetCDFModule.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);
76 VERTICAL_DIMENSION_COUNT
78 vtkSetClampMacro(VerticalDimension,
int, 0, 2);
79 vtkGetMacro(VerticalDimension,
int);
92 vtkSetMacro(MidpointLayerIndex,
int);
93 vtkGetMacro(MidpointLayerIndex,
int);
94 vtkGetVector2Macro(MidpointLayersRange,
int);
99 vtkSetMacro(InterfaceLayerIndex,
int);
100 vtkGetMacro(InterfaceLayerIndex,
int);
101 vtkGetVector2Macro(InterfaceLayersRange,
int);
109 int GetNumberOfPointArrays();
110 const char* GetPointArrayName(
int index);
111 int GetPointArrayStatus(
const char*
name);
112 void SetPointArrayStatus(
const char*
name,
int status);
113 void DisableAllPointArrays();
114 void EnableAllPointArrays();
132 bool GetPartitioning(
size_t piece,
size_t numPieces,
size_t numCellLevels,
133 size_t numCellsPerLevel,
size_t& beginCellLevel,
size_t& endCellLevel,
size_t& beginCell,
136 void BuildVarArray();
137 static void SelectionCallback(
138 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
150 char* CurrentFileName;
151 vtkSetStringMacro(CurrentFileName);
158 char* ConnectivityFileName;
159 char* CurrentConnectivityFileName;
160 vtkSetStringMacro(CurrentConnectivityFileName);
163 int VerticalDimension;
165 size_t NumberOfTimeSteps;
170 int MidpointLayerIndex;
171 int MidpointLayersRange[2];
174 int InterfaceLayerIndex;
175 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.