Represents a SpyPlot Block Grid. More...
#include <vtkSpyPlotBlock.h>
Classes | |
struct | BlockStatusType |
Public Member Functions | |
vtkSpyPlotBlock () | |
~vtkSpyPlotBlock () | |
int | SetGeometry (int dir, const unsigned char *encodedInfo, int infoSize) |
int | GetTotalSize () const |
int | FixInformation (const vtkBoundingBox &globalBounds, int extents[6], int realExtents[6], int realDims[3], vtkDataArray *ca[3]) |
void | SetDebug (unsigned char i) |
unsigned char | GetDebug () const |
void | SetCoordinateSystem (const int &coordinateSystem) |
void | ComputeDerivedVariables (vtkCellData *data, const int &numberOfMaterials, vtkDataArray **materialMasses, vtkDataArray **materialVolumeFractions, const int &downConvertVolumeFraction) const |
Protected Member Functions | |
double | GetCellVolume (int i, int j, int k) const |
void | ComputeMaterialDensity (vtkIdType position, vtkDataArray *materialMasses, vtkUnsignedCharArray *materialFraction, vtkDoubleArray *volumes, vtkDoubleArray *materialdensity, double *material_mass, double *material_volume) const |
void | ComputeMaterialDensity (vtkIdType position, vtkDataArray *materialMasses, vtkFloatArray *materialFraction, vtkDoubleArray *volumes, vtkDoubleArray *materialdensity, double *material_mass, double *material_volume) const |
Represents a SpyPlot Block Grid.
vtkSpyPlotBlock is a regular hexahedral grid stored in a SpyPlot file. The grid can be part of an Adaptive Mesh Refinement (AMR) dataset or part The class was extracted from vtkSpyPlotUniReader and expanded upon by transisitioning functionality from vtkSpyPlotUniReader and adding it to this class. Note that this helper class is not derived from vtkObject and can be allocated on the static
Definition at line 42 of file vtkSpyPlotBlock.h.
vtkSpyPlotBlock::vtkSpyPlotBlock | ( | ) |
vtkSpyPlotBlock::~vtkSpyPlotBlock | ( | ) |
|
inline |
Definition at line 135 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 140 of file vtkSpyPlotBlock.h.
Definition at line 172 of file vtkSpyPlotBlock.h.
void vtkSpyPlotBlock::GetBounds | ( | double | bounds[6] | ) | const |
void vtkSpyPlotBlock::GetSpacing | ( | double | spacing[3] | ) | const |
void vtkSpyPlotBlock::GetVectors | ( | vtkDataArray * | coordinates[3] | ) | const |
|
inline |
Definition at line 177 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 184 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 189 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 152 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 162 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 147 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 157 of file vtkSpyPlotBlock.h.
|
inline |
Definition at line 167 of file vtkSpyPlotBlock.h.
void vtkSpyPlotBlock::GetRealBounds | ( | double | realBounds[6] | ) | const |
int vtkSpyPlotBlock::GetAMRInformation | ( | const vtkBoundingBox & | globalBounds, |
int * | level, | ||
double | spacing[3], | ||
double | origin[3], | ||
int | extents[6], | ||
int | realExtents[6], | ||
int | realDimensions[3] | ||
) | const |
int vtkSpyPlotBlock::Read | ( | int | isAMR, |
int | fileVersion, | ||
vtkSpyPlotIStream * | stream | ||
) |
|
static |
|
static |
|
inline |
Definition at line 197 of file vtkSpyPlotBlock.h.
int vtkSpyPlotBlock::FixInformation | ( | const vtkBoundingBox & | globalBounds, |
int | extents[6], | ||
int | realExtents[6], | ||
int | realDims[3], | ||
vtkDataArray * | ca[3] | ||
) |
void vtkSpyPlotBlock::SetDebug | ( | unsigned char | i | ) |
unsigned char vtkSpyPlotBlock::GetDebug | ( | ) | const |
void vtkSpyPlotBlock::ComputeDerivedVariables | ( | vtkCellData * | data, |
const int & | numberOfMaterials, | ||
vtkDataArray ** | materialMasses, | ||
vtkDataArray ** | materialVolumeFractions, | ||
const int & | downConvertVolumeFraction | ||
) | const |
|
protected |
|
protected |
|
protected |
Definition at line 103 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 114 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 115 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 116 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 119 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 120 of file vtkSpyPlotBlock.h.
|
protected |
Definition at line 121 of file vtkSpyPlotBlock.h.