23 #ifndef vtkSpyPlotUniReader_h 24 #define vtkSpyPlotUniReader_h 47 vtkSetStringMacro(FileName);
48 vtkGetStringMacro(FileName);
56 virtual int ReadInformation();
64 void PrintInformation();
65 void PrintMemoryUsage();
73 int SetCurrentTime(
double time);
74 vtkGetMacro(CurrentTime,
double);
76 int SetCurrentTimeStep(
int timeStep);
77 vtkGetMacro(CurrentTimeStep,
int);
84 vtkGetVector2Macro(TimeStepRange,
int);
85 vtkGetVector2Macro(TimeRange,
double);
89 vtkSetMacro(NeedToCheck,
int);
96 int GetTimeStepFromTime(
double time);
97 double GetTimeFromTimeStep(
int timeStep);
100 vtkGetMacro(NumberOfCellFields,
int);
102 double* GetTimeArray();
113 int GetNumberOfDataBlocks();
118 const char* GetCellFieldName(
int field);
125 vtkDataArray* GetCellFieldData(
int block,
int field,
int* fixed);
131 vtkDataArray* GetMaterialMassField(
const int& block,
const int& materialIndex);
137 vtkDataArray* GetMaterialVolumeFractionField(
const int& block,
const int& materialIndex);
142 int MarkCellFieldDataFixed(
int block,
int field);
216 vtkSetMacro(GenerateMarkers,
int);
217 vtkGetMacro(GenerateMarkers,
int);
219 vtkGetMacro(MarkersOn,
int);
223 vtkSetMacro(DataTypeChanged,
int);
224 void SetDownConvertVolumeFraction(
int vf);
232 int RunLengthDataDecode(
const unsigned char* in,
int inSize,
float* out,
int outSize);
233 int RunLengthDataDecode(
const unsigned char* in,
int inSize,
int* out,
int outSize);
234 int RunLengthDataDecode(
const unsigned char* in,
int inSize,
unsigned char* out,
int outSize);
244 vtkDataArray* GetMaterialField(
const int& block,
const int& materialIndex,
const char* Id);
247 char FileDescription[128];
249 int SizeOfFilePointer;
250 int FileCompressionFlag;
252 int NumberOfProcessors;
254 int NumberOfDimensions;
255 int NumberOfMaterials;
256 int MaximumNumberOfMaterials;
260 int MaximumNumberOfLevels;
265 int NumberOfPossibleCellFields;
267 int NumberOfPossibleMaterialFields;
271 int NumberOfDataDumps;
275 vtkTypeInt64* DumpOffset;
290 int TimeStepRange[2];
300 int DownConvertVolumeFraction;
302 int NumberOfCellFields;
307 int IsVolumeFraction(
Variable* var);
315 return this->DumpTime;
320 return (this->NumberOfBlocks > 1);
vtkTypeInt64 SavedBlocksGeometryOffset
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
unsigned char * SavedBlockAllocatedStates
int GetNumberOfMaterials() const
int GetNumberOfDimensions() const
CellMaterialField * MaterialField
vtkTypeInt64 BlocksOffset
int IsAMR()
Returns 1 if the grid information contained in the file has Adaptive Mesh Refinement (AMR) else it re...
vtkSpyPlotIStream represents input functionality required by the vtkSpyPlotReader and vtkSpyPlotUniRe...
vtkFloatArray * TracerCoord
MarkerMaterialField * Variables
vtkIntArray * TracerBlock
MarkerDump * MarkersDumps
vtkDataArray ** DataBlocks
vtkFloatArray ** Variables
vtkTypeInt64 * SavedVariableOffsets
#define VTKPVVTKEXTENSIONSIOSPCTH_EXPORT
Represents a SpyPlot Block Grid.
int GetCoordinateSystem() const
Read SPCTH Spy Plot file format.