52 #ifndef vtkSpyPlotReader_h 53 #define vtkSpyPlotReader_h 87 virtual void SetFileName(
const char* filename);
88 vtkGetStringMacro(FileName);
96 vtkSetMacro(TimeStep,
int);
97 vtkGetMacro(TimeStep,
int);
108 vtkSetMacro(DistributeFiles,
int);
109 vtkGetMacro(DistributeFiles,
int);
110 vtkBooleanMacro(DistributeFiles,
int);
119 vtkSetMacro(GenerateLevelArray,
int);
120 vtkGetMacro(GenerateLevelArray,
int);
121 vtkBooleanMacro(GenerateLevelArray,
int);
130 vtkSetMacro(GenerateBlockIdArray,
int);
131 vtkGetMacro(GenerateBlockIdArray,
int);
132 vtkBooleanMacro(GenerateBlockIdArray,
int);
141 vtkSetMacro(GenerateActiveBlockArray,
int);
142 vtkGetMacro(GenerateActiveBlockArray,
int);
143 vtkBooleanMacro(GenerateActiveBlockArray,
int);
152 vtkSetMacro(GenerateTracerArray,
int);
153 vtkGetMacro(GenerateTracerArray,
int);
154 vtkBooleanMacro(GenerateTracerArray,
int);
163 void SetGenerateMarkers(
int gm);
164 vtkGetMacro(GenerateMarkers,
int);
165 vtkBooleanMacro(GenerateMarkers,
int);
173 void SetDownConvertVolumeFraction(
int vf);
174 vtkGetMacro(DownConvertVolumeFraction,
int);
175 vtkBooleanMacro(DownConvertVolumeFraction,
int);
184 vtkSetMacro(ComputeDerivedVariables,
int);
185 vtkGetMacro(ComputeDerivedVariables,
int);
186 vtkBooleanMacro(ComputeDerivedVariables,
int);
197 void SetMergeXYZComponents(
int merge);
198 vtkGetMacro(MergeXYZComponents,
int);
199 vtkBooleanMacro(MergeXYZComponents,
int);
206 vtkGetVector2Macro(TimeStepRange,
int);
213 int GetNumberOfCellArrays();
214 const char* GetCellArrayName(
int idx);
215 int GetCellArrayStatus(
const char* name);
216 void SetCellArrayStatus(
const char* name,
int status);
229 virtual int CanReadFile(
const char* fname);
240 int* rightHasBounds,
int* leftHasBounds);
253 void GetLocalMinLevelAndSpacing(
262 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
266 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
270 void UpdateFieldData(
int numFields,
int dims[3],
int level,
int blockID,
275 void UpdateBadGhostFieldData(
int numFields,
int dims[3],
int realDims[3],
int realExtents[6],
315 void AddGhostLevelArray(
int numLevels);
328 int TimeStepRange[2];
346 int UpdateTimeStep(
double time,
int piece = -1,
int numPieces = 1,
int ghostLevels = 0,
347 const int extents[6] = 0)
override 360 int ComputeDerivedVars(
380 double MinLevelSpacing[3];
401 class VectorOfDoubles;
403 VectorOfDoubles* TimeSteps;
404 void SetTimeStepsInternal(
const VectorOfDoubles&);
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int GenerateActiveBlockArray
Maps strings to vtkSpyPlotUniReaders.
vtkDataArraySelection * CellDataArraySelection
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillOutputPortInformation(int port, vtkInformation *info)
bool TimeRequestedFromPipeline
vtkSpyPlotReaderMap * Map
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int DownConvertVolumeFraction
virtual int UpdateTimeStep(double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
int ComputeDerivedVariables
Read SPCTH Spy Plot file format.
static vtkCompositeDataSetAlgorithm * New()
#define VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
Represents a SpyPlot Block Grid.
vtkMultiProcessController * GlobalController
int UpdateTimeStep(double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0) override
Overwritten to avoid hiding.
void operator=(const vtkObjectBase &)
Read SPCTH Spy Plot file format.