17 #ifndef vtkSpyPlotBlock_h
18 #define vtkSpyPlotBlock_h
20 #include "vtkPVVTKExtensionsIOSPCTHModule.h"
41 void GetDimensions(
int dims[3])
const;
42 int GetDimension(
int i)
const;
43 void GetBounds(
double bounds[6])
const;
44 void GetSpacing(
double spacing[3])
const;
48 void GetExtents(
int extents[6])
const;
49 int IsAllocated()
const;
54 void GetRealBounds(
double realBounds[6])
const;
56 double origin[3],
int extents[6],
int realExtents[6],
int realDimensions[3])
const;
62 static int Scan(
vtkSpyPlotIStream* stream,
unsigned char* isAllocated,
int fileVersion);
64 static int Scan16(
vtkSpyPlotIStream* stream,
unsigned char* isAllocated,
int fileVersion);
67 int SetGeometry(
int dir,
const unsigned char* encodedInfo,
int infoSize);
68 int GetTotalSize()
const;
69 int FixInformation(
const vtkBoundingBox& globalBounds,
int extents[6],
int realExtents[6],
72 void SetDebug(
unsigned char i);
73 unsigned char GetDebug()
const;
77 void ComputeDerivedVariables(
vtkCellData*
data,
const int& numberOfMaterials,
79 const int& downConvertVolumeFraction)
const;
84 double GetCellVolume(
int i,
int j,
int k)
const;
87 vtkDoubleArray* materialdensity,
double* material_mass,
double* material_volume)
const;
90 double* material_mass,
double* material_volume)
const;
109 int SavedRealExtents[6];
110 int SavedRealDims[3];
113 enum CoordinateSystem
121 CoordinateSystem CoordSystem;
180 extents[0] = extents[2] = extents[4] = 0;