19 #ifndef vtkNetCDFCAMReader_h
20 #define vtkNetCDFCAMReader_h
22 #include "vtkIONetCDFModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
42 static int CanReadFile(
VTK_FILEPATH const char* fileName);
45 vtkGetFilePathMacro(FileName);
47 void SetConnectivityFileName(
VTK_FILEPATH const char* fileName);
48 vtkGetFilePathMacro(ConnectivityFileName);
68 VERTICAL_DIMENSION_COUNT
70 vtkSetClampMacro(VerticalDimension,
int, 0, 2);
71 vtkGetMacro(VerticalDimension,
int);
84 vtkSetMacro(MidpointLayerIndex,
int);
85 vtkGetMacro(MidpointLayerIndex,
int);
86 vtkGetVector2Macro(MidpointLayersRange,
int);
91 vtkSetMacro(InterfaceLayerIndex,
int);
92 vtkGetMacro(InterfaceLayerIndex,
int);
93 vtkGetVector2Macro(InterfaceLayersRange,
int);
101 int GetNumberOfPointArrays();
102 const char* GetPointArrayName(
int index);
103 int GetPointArrayStatus(
const char*
name);
104 void SetPointArrayStatus(
const char*
name,
int status);
105 void DisableAllPointArrays();
106 void EnableAllPointArrays();
124 bool GetPartitioning(
size_t piece,
size_t numPieces,
size_t numCellLevels,
125 size_t numCellsPerLevel,
size_t& beginCellLevel,
size_t& endCellLevel,
size_t& beginCell,
128 void BuildVarArray();
129 static void SelectionCallback(
130 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
142 char* CurrentFileName;
143 vtkSetStringMacro(CurrentFileName);
150 char* ConnectivityFileName;
151 char* CurrentConnectivityFileName;
152 vtkSetStringMacro(CurrentConnectivityFileName);
155 int VerticalDimension;
157 size_t NumberOfTimeSteps;
162 int MidpointLayerIndex;
163 int MidpointLayersRange[2];
166 int InterfaceLayerIndex;
167 int InterfaceLayersRange[2];
173 VTK_ABI_NAMESPACE_END
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, etc.
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.