28 #ifndef vtkNetCDFCAMReader_h
29 #define vtkNetCDFCAMReader_h
31 #include "vtkIONetCDFModule.h"
76 VERTICAL_DIMENSION_COUNT
92 vtkSetMacro(MidpointLayerIndex,
int);
93 vtkGetMacro(MidpointLayerIndex,
int);
94 vtkGetVector2Macro(MidpointLayersRange,
int);
99 vtkSetMacro(InterfaceLayerIndex,
int);
100 vtkGetMacro(InterfaceLayerIndex,
int);
101 vtkGetVector2Macro(InterfaceLayersRange,
int);
133 size_t numCellsPerLevel,
size_t& beginCellLevel,
size_t& endCellLevel,
size_t& beginCell,
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);
165 size_t NumberOfTimeSteps;
170 int MidpointLayerIndex;
171 int MidpointLayersRange[2];
174 int InterfaceLayerIndex;
175 int InterfaceLayersRange[2];
supports function callbacks
Store on/off settings for data arrays for a vtkSource.
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.