31 #ifndef vtkNetCDFCAMReader_h
32 #define vtkNetCDFCAMReader_h
34 #include "vtkIONetCDFModule.h"
53 static int CanReadFile(
VTK_FILEPATH const char* fileName);
56 vtkGetFilePathMacro(FileName);
58 void SetConnectivityFileName(
VTK_FILEPATH const char* fileName);
59 vtkGetFilePathMacro(ConnectivityFileName);
79 VERTICAL_DIMENSION_COUNT
81 vtkSetClampMacro(VerticalDimension,
int, 0, 2);
82 vtkGetMacro(VerticalDimension,
int);
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();
135 bool GetPartitioning(
size_t piece,
size_t numPieces,
size_t numCellLevels,
136 size_t numCellsPerLevel,
size_t& beginCellLevel,
size_t& endCellLevel,
size_t& beginCell,
139 void BuildVarArray();
140 static void SelectionCallback(
141 vtkObject* caller,
unsigned long eid,
void* clientdata,
void* calldata);
153 char* CurrentFileName;
154 vtkSetStringMacro(CurrentFileName);
161 char* ConnectivityFileName;
162 char* CurrentConnectivityFileName;
163 vtkSetStringMacro(CurrentConnectivityFileName);
166 int VerticalDimension;
168 size_t NumberOfTimeSteps;
173 int MidpointLayerIndex;
174 int MidpointLayersRange[2];
177 int InterfaceLayerIndex;
178 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, 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.