19 #ifndef vtkNetCDFCAMReader_h
20 #define vtkNetCDFCAMReader_h
22 #include "vtkIONetCDFModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
68 VERTICAL_DIMENSION_COUNT
84 vtkSetMacro(MidpointLayerIndex,
int);
85 vtkGetMacro(MidpointLayerIndex,
int);
86 vtkGetVector2Macro(MidpointLayersRange,
int);
91 vtkSetMacro(InterfaceLayerIndex,
int);
92 vtkGetMacro(InterfaceLayerIndex,
int);
93 vtkGetVector2Macro(InterfaceLayersRange,
int);
125 size_t numCellsPerLevel,
size_t& beginCellLevel,
size_t& endCellLevel,
size_t& beginCell,
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);
157 size_t NumberOfTimeSteps;
162 int MidpointLayerIndex;
163 int MidpointLayersRange[2];
166 int InterfaceLayerIndex;
167 int InterfaceLayersRange[2];
173 VTK_ABI_NAMESPACE_END
supports function callbacks
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Read unstructured NetCDF CAM files.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void SetFileName(VTK_FILEPATH const char *fileName)
static void SelectionCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int GetPointArrayStatus(const char *name)
The following methods allow selective reading of variables.
void SetConnectivityFileName(VTK_FILEPATH const char *fileName)
VerticalDimension
Set whether to read a single layer, midpoint layers or interface layers.
@ VERTICAL_DIMENSION_INTERFACE_LAYERS
@ VERTICAL_DIMENSION_SINGLE_LAYER
@ VERTICAL_DIMENSION_MIDPOINT_LAYERS
bool GetPartitioning(size_t piece, size_t numPieces, size_t numCellLevels, size_t numCellsPerLevel, size_t &beginCellLevel, size_t &endCellLevel, size_t &beginCell, size_t &endCell)
Returns true for success.
const char * GetPointArrayName(int index)
The following methods allow selective reading of variables.
vtkGetFilePathMacro(FileName)
void DisableAllPointArrays()
The following methods allow selective reading of variables.
int GetNumberOfPointArrays()
The following methods allow selective reading of variables.
void SetPointArrayStatus(const char *name, int status)
The following methods allow selective reading of variables.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static int CanReadFile(VTK_FILEPATH const char *fileName)
Returns 1 if this file can be read and 0 if the file cannot be read.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkNetCDFCAMReader() override
vtkGetFilePathMacro(ConnectivityFileName)
void EnableAllPointArrays()
The following methods allow selective reading of variables.
static vtkNetCDFCAMReader * New()
abstract base class for most VTK objects
Superclass for algorithms that produce only unstructured grid as output.