41 #ifndef vtkSpyPlotReader_h 42 #define vtkSpyPlotReader_h 76 virtual void SetFileName(
const char* filename);
77 vtkGetStringMacro(FileName);
85 vtkSetMacro(TimeStep,
int);
86 vtkGetMacro(TimeStep,
int);
97 vtkSetMacro(DistributeFiles,
int);
98 vtkGetMacro(DistributeFiles,
int);
99 vtkBooleanMacro(DistributeFiles,
int);
108 vtkSetMacro(GenerateLevelArray,
int);
109 vtkGetMacro(GenerateLevelArray,
int);
110 vtkBooleanMacro(GenerateLevelArray,
int);
119 vtkSetMacro(GenerateBlockIdArray,
int);
120 vtkGetMacro(GenerateBlockIdArray,
int);
121 vtkBooleanMacro(GenerateBlockIdArray,
int);
130 vtkSetMacro(GenerateActiveBlockArray,
int);
131 vtkGetMacro(GenerateActiveBlockArray,
int);
132 vtkBooleanMacro(GenerateActiveBlockArray,
int);
141 vtkSetMacro(GenerateTracerArray,
int);
142 vtkGetMacro(GenerateTracerArray,
int);
143 vtkBooleanMacro(GenerateTracerArray,
int);
152 void SetGenerateMarkers(
int gm);
153 vtkGetMacro(GenerateMarkers,
int);
154 vtkBooleanMacro(GenerateMarkers,
int);
162 void SetDownConvertVolumeFraction(
int vf);
163 vtkGetMacro(DownConvertVolumeFraction,
int);
164 vtkBooleanMacro(DownConvertVolumeFraction,
int);
173 vtkSetMacro(ComputeDerivedVariables,
int);
174 vtkGetMacro(ComputeDerivedVariables,
int);
175 vtkBooleanMacro(ComputeDerivedVariables,
int);
186 void SetMergeXYZComponents(
int merge);
187 vtkGetMacro(MergeXYZComponents,
int);
188 vtkBooleanMacro(MergeXYZComponents,
int);
195 vtkGetVector2Macro(TimeStepRange,
int);
202 int GetNumberOfCellArrays();
203 const char* GetCellArrayName(
int idx);
204 int GetCellArrayStatus(
const char* name);
205 void SetCellArrayStatus(
const char* name,
int status);
218 virtual int CanReadFile(
const char* fname);
229 int* rightHasBounds,
int* leftHasBounds);
242 void GetLocalMinLevelAndSpacing(
251 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
255 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
259 void UpdateFieldData(
int numFields,
int dims[3],
int level,
int blockID,
264 void UpdateBadGhostFieldData(
int numFields,
int dims[3],
int realDims[3],
int realExtents[6],
304 void AddGhostLevelArray(
int numLevels);
317 int TimeStepRange[2];
335 int UpdateTimeStep(
double time,
int piece = -1,
int numPieces = 1,
int ghostLevels = 0,
336 const int extents[6] =
nullptr)
override 349 int ComputeDerivedVars(
369 double MinLevelSpacing[3];
390 class VectorOfDoubles;
392 VectorOfDoubles* TimeSteps;
393 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 UpdateTimeStep(double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=nullptr) override
Overwritten to avoid hiding.
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
void operator=(const vtkObjectBase &)
Read SPCTH Spy Plot file format.