Represents a SpyPlot Block Grid.
More...
#include <vtkSpyPlotBlock.h>
|
| 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 |
|
const char * | GetClassName () const |
|
int | HasObserver (const char *) const |
|
int | InvokeEvent (const char *, void *) const |
|
void | SetCoordinateSystem (const int &coordinateSystem) |
|
void | ComputeDerivedVariables (vtkCellData *data, const int &numberOfMaterials, vtkDataArray **materialMasses, vtkDataArray **materialVolumeFractions, const int &downConvertVolumeFraction) const |
|
|
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 |
|
|
int | Dimensions [3] |
|
BlockStatusType | Status |
|
int | Level |
|
vtkFloatArray * | XYZArrays [3] |
|
int | SavedExtents [6] |
|
int | SavedRealExtents [6] |
|
int | SavedRealDims [3] |
|
int | GetLevel () const |
|
void | GetDimensions (int dims[3]) const |
|
int | GetDimension (int i) const |
|
void | GetBounds (double bounds[6]) const |
|
void | GetSpacing (double spacing[3]) const |
|
void | GetVectors (vtkDataArray *coordinates[3]) const |
|
void | GetVectors (vtkFloatArray *coordinates[3]) const |
|
vtkFloatArray * | GetVectors (int i) const |
|
void | GetExtents (int extents[6]) const |
|
int | IsAllocated () const |
|
int | IsFixed () const |
|
int | IsActive () const |
|
int | IsAMR () const |
|
void | MarkedAsFixed () |
|
void | GetRealBounds (double realBounds[6]) const |
|
int | GetAMRInformation (const vtkBoundingBox &globalBounds, int *level, double spacing[3], double origin[3], int extents[6], int realExtents[6], int realDimensions[3]) const |
|
int | Read (int isAMR, int fileVersion, vtkSpyPlotIStream *stream) |
|
static int | Scan (vtkSpyPlotIStream *stream, unsigned char *isAllocated, int fileVersion) |
|
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()
vtkSpyPlotBlock::~vtkSpyPlotBlock |
( |
| ) |
|
§ GetLevel()
int vtkSpyPlotBlock::GetLevel |
( |
| ) |
const |
|
inline |
§ GetDimensions()
void vtkSpyPlotBlock::GetDimensions |
( |
int |
dims[3] | ) |
const |
|
inline |
§ GetDimension()
int vtkSpyPlotBlock::GetDimension |
( |
int |
i | ) |
const |
|
inline |
§ GetBounds()
void vtkSpyPlotBlock::GetBounds |
( |
double |
bounds[6] | ) |
const |
§ GetSpacing()
void vtkSpyPlotBlock::GetSpacing |
( |
double |
spacing[3] | ) |
const |
§ GetVectors() [1/3]
void vtkSpyPlotBlock::GetVectors |
( |
vtkDataArray * |
coordinates[3] | ) |
const |
§ GetVectors() [2/3]
void vtkSpyPlotBlock::GetVectors |
( |
vtkFloatArray * |
coordinates[3] | ) |
const |
|
inline |
§ GetVectors() [3/3]
vtkFloatArray * vtkSpyPlotBlock::GetVectors |
( |
int |
i | ) |
const |
|
inline |
§ GetExtents()
void vtkSpyPlotBlock::GetExtents |
( |
int |
extents[6] | ) |
const |
|
inline |
§ IsAllocated()
int vtkSpyPlotBlock::IsAllocated |
( |
| ) |
const |
|
inline |
§ IsFixed()
int vtkSpyPlotBlock::IsFixed |
( |
| ) |
const |
|
inline |
§ IsActive()
int vtkSpyPlotBlock::IsActive |
( |
| ) |
const |
|
inline |
§ IsAMR()
int vtkSpyPlotBlock::IsAMR |
( |
| ) |
const |
|
inline |
§ MarkedAsFixed()
void vtkSpyPlotBlock::MarkedAsFixed |
( |
| ) |
|
|
inline |
§ GetRealBounds()
void vtkSpyPlotBlock::GetRealBounds |
( |
double |
realBounds[6] | ) |
const |
§ GetAMRInformation()
int vtkSpyPlotBlock::GetAMRInformation |
( |
const vtkBoundingBox & |
globalBounds, |
|
|
int * |
level, |
|
|
double |
spacing[3], |
|
|
double |
origin[3], |
|
|
int |
extents[6], |
|
|
int |
realExtents[6], |
|
|
int |
realDimensions[3] |
|
) |
| const |
§ Read()
§ Scan()
static int vtkSpyPlotBlock::Scan |
( |
vtkSpyPlotIStream * |
stream, |
|
|
unsigned char * |
isAllocated, |
|
|
int |
fileVersion |
|
) |
| |
|
static |
§ SetGeometry()
int vtkSpyPlotBlock::SetGeometry |
( |
int |
dir, |
|
|
const unsigned char * |
encodedInfo, |
|
|
int |
infoSize |
|
) |
| |
§ GetTotalSize()
int vtkSpyPlotBlock::GetTotalSize |
( |
| ) |
const |
|
inline |
§ FixInformation()
int vtkSpyPlotBlock::FixInformation |
( |
const vtkBoundingBox & |
globalBounds, |
|
|
int |
extents[6], |
|
|
int |
realExtents[6], |
|
|
int |
realDims[3], |
|
|
vtkDataArray * |
ca[3] |
|
) |
| |
§ SetDebug()
void vtkSpyPlotBlock::SetDebug |
( |
unsigned char |
i | ) |
|
§ GetDebug()
unsigned char vtkSpyPlotBlock::GetDebug |
( |
| ) |
const |
§ GetClassName()
const char* vtkSpyPlotBlock::GetClassName |
( |
| ) |
const |
§ HasObserver()
int vtkSpyPlotBlock::HasObserver |
( |
const char * |
| ) |
const |
§ InvokeEvent()
int vtkSpyPlotBlock::InvokeEvent |
( |
const char * |
, |
|
|
void * |
|
|
) |
| const |
§ SetCoordinateSystem()
void vtkSpyPlotBlock::SetCoordinateSystem |
( |
const int & |
coordinateSystem | ) |
|
§ ComputeDerivedVariables()
void vtkSpyPlotBlock::ComputeDerivedVariables |
( |
vtkCellData * |
data, |
|
|
const int & |
numberOfMaterials, |
|
|
vtkDataArray ** |
materialMasses, |
|
|
vtkDataArray ** |
materialVolumeFractions, |
|
|
const int & |
downConvertVolumeFraction |
|
) |
| const |
§ GetCellVolume()
double vtkSpyPlotBlock::GetCellVolume |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
| const |
|
protected |
§ ComputeMaterialDensity() [1/2]
void vtkSpyPlotBlock::ComputeMaterialDensity |
( |
vtkIdType |
position, |
|
|
vtkDataArray * |
materialMasses, |
|
|
vtkUnsignedCharArray * |
materialFraction, |
|
|
vtkDoubleArray * |
volumes, |
|
|
vtkDoubleArray * |
materialdensity, |
|
|
double * |
material_mass, |
|
|
double * |
material_volume |
|
) |
| const |
|
protected |
§ ComputeMaterialDensity() [2/2]
void vtkSpyPlotBlock::ComputeMaterialDensity |
( |
vtkIdType |
position, |
|
|
vtkDataArray * |
materialMasses, |
|
|
vtkFloatArray * |
materialFraction, |
|
|
vtkDoubleArray * |
volumes, |
|
|
vtkDoubleArray * |
materialdensity, |
|
|
double * |
material_mass, |
|
|
double * |
material_volume |
|
) |
| const |
|
protected |
§ Dimensions
int vtkSpyPlotBlock::Dimensions[3] |
|
protected |
§ Status
§ Level
int vtkSpyPlotBlock::Level |
|
protected |
§ XYZArrays
vtkFloatArray* vtkSpyPlotBlock::XYZArrays[3] |
|
protected |
§ SavedExtents
int vtkSpyPlotBlock::SavedExtents[6] |
|
protected |
§ SavedRealExtents
int vtkSpyPlotBlock::SavedRealExtents[6] |
|
protected |
§ SavedRealDims
int vtkSpyPlotBlock::SavedRealDims[3] |
|
protected |
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/ParaView-v5.2.0/ParaViewCore/VTKExtensions/Default/vtkSpyPlotBlock.h