31 #ifndef vtkNetCDFCAMReader_h 32 #define vtkNetCDFCAMReader_h 34 #include "vtkIONetCDFModule.h" 54 static int CanReadFile(
const char* fileName);
56 void SetFileName(
const char* fileName);
59 void SetConnectivityFileName(
const char* fileName);
74 VTK_LEGACY(
virtual void SingleLevelOn ());
75 VTK_LEGACY(
virtual void SingleLevelOff ());
76 VTK_LEGACY(
virtual void SetSingleLevel (
int level));
77 VTK_LEGACY(
virtual int GetSingleLevel ());
98 VERTICAL_DIMENSION_COUNT
113 vtkGetMacro(SingleMidpointLayer,
int);
115 vtkGetMacro(MidpointLayerIndex,
int);
116 vtkGetVector2Macro(MidpointLayersRange,
int);
120 vtkGetMacro(SingleInterfaceLayer,
int);
122 vtkGetMacro(InterfaceLayerIndex,
int);
123 vtkGetVector2Macro(InterfaceLayersRange,
int);
131 int GetNumberOfPointArrays();
132 const char* GetPointArrayName(
int index);
133 int GetPointArrayStatus(
const char*
name);
134 void SetPointArrayStatus(
const char*
name,
int status);
135 void DisableAllPointArrays();
136 void EnableAllPointArrays();
148 VTK_LEGACY(
void SetCellLayerRight(
int));
149 VTK_LEGACY(
int GetCellLayerRight());
170 bool GetPartitioning(
171 int piece,
int numPieces,
int numCellLevels,
int numCellsPerLevel,
172 int & beginCellLevel,
int & endCellLevel,
int & beginCell,
int & endCell);
174 void BuildVarArray();
175 static void SelectionCallback(
vtkObject* caller,
unsigned long eid,
176 void* clientdata,
void* calldata);
189 char* CurrentFileName;
190 vtkSetStringMacro(CurrentFileName);
197 char* ConnectivityFileName;
198 char* CurrentConnectivityFileName;
199 vtkSetStringMacro(CurrentConnectivityFileName);
204 long NumberOfTimeSteps;
208 int SingleMidpointLayer;
209 int MidpointLayerIndex;
210 int MidpointLayersRange[2];
212 int SingleInterfaceLayer;
213 int InterfaceLayerIndex;
214 int InterfaceLayersRange[2];
223 NcFile* ConnectivityFile;
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 for a vtkSource.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Superclass for algorithms that produce only unstructured grid as output.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
VerticalDimension
Set whether to read a single layer, midpoint layers or interface layers.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.