41 #ifndef vtkSpyPlotReader_h 42 #define vtkSpyPlotReader_h 75 virtual void SetFileName(
const char* filename);
76 vtkGetStringMacro(FileName);
84 vtkSetMacro(TimeStep,
int);
85 vtkGetMacro(TimeStep,
int);
96 vtkSetMacro(DistributeFiles,
int);
97 vtkGetMacro(DistributeFiles,
int);
98 vtkBooleanMacro(DistributeFiles,
int);
107 vtkSetMacro(GenerateLevelArray,
int);
108 vtkGetMacro(GenerateLevelArray,
int);
109 vtkBooleanMacro(GenerateLevelArray,
int);
118 vtkSetMacro(GenerateBlockIdArray,
int);
119 vtkGetMacro(GenerateBlockIdArray,
int);
120 vtkBooleanMacro(GenerateBlockIdArray,
int);
129 vtkSetMacro(GenerateActiveBlockArray,
int);
130 vtkGetMacro(GenerateActiveBlockArray,
int);
131 vtkBooleanMacro(GenerateActiveBlockArray,
int);
140 vtkSetMacro(GenerateTracerArray,
int);
141 vtkGetMacro(GenerateTracerArray,
int);
142 vtkBooleanMacro(GenerateTracerArray,
int);
151 void SetGenerateMarkers(
int gm);
152 vtkGetMacro(GenerateMarkers,
int);
153 vtkBooleanMacro(GenerateMarkers,
int);
161 void SetDownConvertVolumeFraction(
int vf);
162 vtkGetMacro(DownConvertVolumeFraction,
int);
163 vtkBooleanMacro(DownConvertVolumeFraction,
int);
172 vtkSetMacro(ComputeDerivedVariables,
int);
173 vtkGetMacro(ComputeDerivedVariables,
int);
174 vtkBooleanMacro(ComputeDerivedVariables,
int);
185 void SetMergeXYZComponents(
int merge);
186 vtkGetMacro(MergeXYZComponents,
int);
187 vtkBooleanMacro(MergeXYZComponents,
int);
194 vtkGetVector2Macro(TimeStepRange,
int);
201 int GetNumberOfCellArrays();
202 const char* GetCellArrayName(
int idx);
203 int GetCellArrayStatus(
const char* name);
204 void SetCellArrayStatus(
const char* name,
int status);
217 virtual int CanReadFile(
const char* fname);
228 int* rightHasBounds,
int* leftHasBounds);
241 void GetLocalMinLevelAndSpacing(
250 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
254 int extents[6],
int realExtents[6],
int realDims[3],
vtkCellData** cd);
258 void UpdateFieldData(
int numFields,
int dims[3],
int level,
int blockID,
263 void UpdateBadGhostFieldData(
int numFields,
int dims[3],
int realDims[3],
int realExtents[6],
303 void AddGhostLevelArray(
int numLevels);
316 int TimeStepRange[2];
334 int UpdateTimeStep(
double time,
int piece = -1,
int numPieces = 1,
int ghostLevels = 0,
335 const int extents[6] =
nullptr)
override 348 int ComputeDerivedVars(
368 double MinLevelSpacing[3];
389 class VectorOfDoubles;
391 VectorOfDoubles* TimeSteps;
392 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.