ParaView
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
vtkSpyPlotBlock Class Reference

Represents a SpyPlot Block Grid. More...

#include <vtkSpyPlotBlock.h>

Collaboration diagram for vtkSpyPlotBlock:
Collaboration graph
[legend]

List of all members.

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
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

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

Protected Attributes

int Dimensions [3]
BlockStatusType Status
int Level
vtkFloatArrayXYZArrays [3]
int SavedExtents [6]
int SavedRealExtents [6]
int SavedRealDims [6]
*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
vtkFloatArrayGetVectors (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 HadBadGhostCell (int i) const
int Read (int isAMR, int fileVersion, vtkSpyPlotIStream *stream)
static int Scan (vtkSpyPlotIStream *stream, unsigned char *isAllocated, int fileVersion)

Detailed Description

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 40 of file vtkSpyPlotBlock.h.


Constructor & Destructor Documentation

vtkSpyPlotBlock::vtkSpyPlotBlock ( )
vtkSpyPlotBlock::~vtkSpyPlotBlock ( )

Member Function Documentation

int vtkSpyPlotBlock::GetLevel ( ) const [inline]

Definition at line 144 of file vtkSpyPlotBlock.h.

void vtkSpyPlotBlock::GetDimensions ( int  dims[3]) const [inline]

Definition at line 149 of file vtkSpyPlotBlock.h.

int vtkSpyPlotBlock::GetDimension ( int  i) const [inline]

Definition at line 181 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
void vtkSpyPlotBlock::GetVectors ( vtkFloatArray coordinates[3]) const [inline]

Definition at line 186 of file vtkSpyPlotBlock.h.

vtkFloatArray * vtkSpyPlotBlock::GetVectors ( int  i) const [inline]

Definition at line 193 of file vtkSpyPlotBlock.h.

void vtkSpyPlotBlock::GetExtents ( int  extents[6]) const [inline]

Definition at line 199 of file vtkSpyPlotBlock.h.

int vtkSpyPlotBlock::IsAllocated ( ) const [inline]

Definition at line 161 of file vtkSpyPlotBlock.h.

int vtkSpyPlotBlock::IsFixed ( ) const [inline]

Definition at line 171 of file vtkSpyPlotBlock.h.

int vtkSpyPlotBlock::IsActive ( ) const [inline]

Definition at line 156 of file vtkSpyPlotBlock.h.

int vtkSpyPlotBlock::IsAMR ( ) const [inline]

Definition at line 166 of file vtkSpyPlotBlock.h.

void vtkSpyPlotBlock::MarkedAsFixed ( ) [inline]

Definition at line 176 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::HadBadGhostCell ( int  i) const
int vtkSpyPlotBlock::Read ( int  isAMR,
int  fileVersion,
vtkSpyPlotIStream stream 
)
static int vtkSpyPlotBlock::Scan ( vtkSpyPlotIStream stream,
unsigned char *  isAllocated,
int  fileVersion 
) [static]
int vtkSpyPlotBlock::SetGeometry ( int  dir,
const unsigned char *  encodedInfo,
int  infoSize 
)
int vtkSpyPlotBlock::GetTotalSize ( ) const [inline]

Definition at line 207 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
const char* vtkSpyPlotBlock::GetClassName ( ) const
int vtkSpyPlotBlock::HasObserver ( const char *  ) const
int vtkSpyPlotBlock::InvokeEvent ( const char *  ,
void *   
) const
void vtkSpyPlotBlock::SetCoordinateSystem ( const int coordinateSystem)
void vtkSpyPlotBlock::ComputeDerivedVariables ( vtkCellData data,
const int numberOfMaterials,
vtkDataArray **  materialMasses,
vtkDataArray **  materialVolumeFractions,
const int downConvertVolumeFraction 
) const
double vtkSpyPlotBlock::GetCellVolume ( int  i,
int  j,
int  k 
) const [protected]
void vtkSpyPlotBlock::ComputeMaterialDensity ( vtkIdType  position,
vtkDataArray materialMasses,
vtkUnsignedCharArray materialFraction,
vtkDoubleArray volumes,
vtkDoubleArray materialdensity,
double material_mass,
double material_volume 
) const [protected]
void vtkSpyPlotBlock::ComputeMaterialDensity ( vtkIdType  position,
vtkDataArray materialMasses,
vtkFloatArray materialFraction,
vtkDoubleArray volumes,
vtkDoubleArray materialdensity,
double material_mass,
double material_volume 
) const [protected]

Member Data Documentation

Definition at line 115 of file vtkSpyPlotBlock.h.

Definition at line 124 of file vtkSpyPlotBlock.h.

Definition at line 125 of file vtkSpyPlotBlock.h.

Definition at line 126 of file vtkSpyPlotBlock.h.

Definition at line 129 of file vtkSpyPlotBlock.h.

Definition at line 130 of file vtkSpyPlotBlock.h.

Definition at line 131 of file vtkSpyPlotBlock.h.


The documentation for this class was generated from the following file: