31 #ifndef vtkNetCDFCAMReader_h
32 #define vtkNetCDFCAMReader_h
34 #include "vtkIONetCDFModule.h"
53 static int CanReadFile(
const char* fileName);
55 void SetFileName(
const char* fileName);
56 vtkGetStringMacro(FileName);
58 void SetConnectivityFileName(
const char* fileName);
59 vtkGetStringMacro(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();
138 bool GetPartitioning(
139 size_t piece,
size_t numPieces,
size_t numCellLevels,
size_t numCellsPerLevel,
140 size_t & beginCellLevel,
size_t & endCellLevel,
size_t & beginCell,
size_t & endCell);
142 void BuildVarArray();
143 static void SelectionCallback(
vtkObject* caller,
unsigned long eid,
144 void* clientdata,
void* calldata);
157 char* CurrentFileName;
158 vtkSetStringMacro(CurrentFileName);
165 char* ConnectivityFileName;
166 char* CurrentConnectivityFileName;
167 vtkSetStringMacro(CurrentConnectivityFileName);
170 int VerticalDimension;
172 size_t NumberOfTimeSteps;
177 int MidpointLayerIndex;
178 int MidpointLayersRange[2];
181 int InterfaceLayerIndex;
182 int InterfaceLayersRange[2];