vtkHierarchicalBoxDataSet Class Reference

#include <vtkHierarchicalBoxDataSet.h>

Inheritance diagram for vtkHierarchicalBoxDataSet:
[legend]
Collaboration diagram for vtkHierarchicalBoxDataSet:
[legend]

List of all members.


Detailed Description

hierarchical dataset of vtkUniformGrids

vtkHierarchicalBoxDataSet is a concrete implementation of vtkHierarchicalDataSet. The dataset type is restricted to vtkUniformGrid. Each dataset has an associated vtkAMRBox that represents it's region (similar to extent) in space.

Examples:
vtkHierarchicalBoxDataSet (Examples)
Tests:
vtkHierarchicalBoxDataSet (Tests)

Definition at line 43 of file vtkHierarchicalBoxDataSet.h.


Public Types

typedef
vtkHierarchicalDataSet 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetDataObjectType ()
vtkDataObjectGetDataSet (unsigned int level, unsigned int id)
vtkDataObjectGetDataSet (vtkInformation *index)
void SetRefinementRatio (unsigned int level, int refRatio)
int GetRefinementRatio (unsigned int level)
void GenerateVisibilityArrays ()
virtual vtkIdType GetNumberOfPoints ()
void SetDataSet (unsigned int level, unsigned int id, vtkAMRBox &box, vtkUniformGrid *dataSet)
void SetDataSet (unsigned int level, unsigned int id, vtkDataObject *dataSet)
vtkUniformGridGetDataSet (unsigned int level, unsigned int id, vtkAMRBox &box)
virtual void ShallowCopy (vtkDataObject *src)
virtual void DeepCopy (vtkDataObject *src)

Static Public Member Functions

static
vtkHierarchicalBoxDataSet
New ()
static int IsTypeOf (const char *type)
static
vtkHierarchicalBoxDataSet
SafeDownCast (vtkObject *o)
static
vtkInformationIntegerVectorKey
BOX ()
static
vtkInformationIdTypeKey
NUMBER_OF_BLANKED_POINTS ()

Protected Member Functions

 vtkHierarchicalBoxDataSet ()
 ~vtkHierarchicalBoxDataSet ()

Protected Attributes

vtkHierarchicalBoxDataSetInternalBoxInternal

Member Typedef Documentation

typedef vtkHierarchicalDataSet vtkHierarchicalBoxDataSet::Superclass

Reimplemented from vtkHierarchicalDataSet.

Definition at line 48 of file vtkHierarchicalBoxDataSet.h.


Constructor & Destructor Documentation

vtkHierarchicalBoxDataSet::vtkHierarchicalBoxDataSet (  )  [protected]

vtkHierarchicalBoxDataSet::~vtkHierarchicalBoxDataSet (  )  [protected]


Member Function Documentation

static vtkHierarchicalBoxDataSet* vtkHierarchicalBoxDataSet::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkHierarchicalDataSet.

virtual const char* vtkHierarchicalBoxDataSet::GetClassName (  )  [virtual]

Reimplemented from vtkHierarchicalDataSet.

static int vtkHierarchicalBoxDataSet::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkHierarchicalDataSet.

virtual int vtkHierarchicalBoxDataSet::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkHierarchicalDataSet.

static vtkHierarchicalBoxDataSet* vtkHierarchicalBoxDataSet::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkHierarchicalDataSet.

void vtkHierarchicalBoxDataSet::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkHierarchicalDataSet.

virtual int vtkHierarchicalBoxDataSet::GetDataObjectType (  )  [inline, virtual]

Return class name of data type (see vtkSystemIncludes.h for definitions).

Reimplemented from vtkHierarchicalDataSet.

Definition at line 53 of file vtkHierarchicalBoxDataSet.h.

References VTK_HIERARCHICAL_BOX_DATA_SET.

void vtkHierarchicalBoxDataSet::SetDataSet ( unsigned int  level,
unsigned int  id,
vtkAMRBox box,
vtkUniformGrid dataSet 
)

Set the dataset pointer for a given node. This method does not remove the existing parent/child links. It only replaces the dataset pointer.

void vtkHierarchicalBoxDataSet::SetDataSet ( unsigned int  level,
unsigned int  id,
vtkDataObject dataSet 
) [inline]

Set the dataset pointer for a given node. This method does not remove the existing parent/child links. It only replaces the dataset pointer.

Reimplemented from vtkHierarchicalDataSet.

Definition at line 64 of file vtkHierarchicalBoxDataSet.h.

vtkUniformGrid* vtkHierarchicalBoxDataSet::GetDataSet ( unsigned int  level,
unsigned int  id,
vtkAMRBox box 
)

Get a dataset give a level and an id.

vtkDataObject* vtkHierarchicalBoxDataSet::GetDataSet ( unsigned int  level,
unsigned int  id 
) [inline]

Get a dataset give a level and an id.

Reimplemented from vtkHierarchicalDataSet.

Definition at line 77 of file vtkHierarchicalBoxDataSet.h.

vtkDataObject* vtkHierarchicalBoxDataSet::GetDataSet ( vtkInformation index  )  [inline, virtual]

Uses keys LEVEL() and INDEX() to call GetDataSet(LEVEL, INDEX)

Reimplemented from vtkHierarchicalDataSet.

Definition at line 80 of file vtkHierarchicalBoxDataSet.h.

void vtkHierarchicalBoxDataSet::SetRefinementRatio ( unsigned int  level,
int  refRatio 
)

Sets the refinement of a given level.

int vtkHierarchicalBoxDataSet::GetRefinementRatio ( unsigned int  level  ) 

Returns the refinement of a given level.

void vtkHierarchicalBoxDataSet::GenerateVisibilityArrays (  ) 

Blank lower level cells if they are overlapped by higher level ones.

virtual void vtkHierarchicalBoxDataSet::ShallowCopy ( vtkDataObject src  )  [virtual]

Shallow and Deep copy.

Reimplemented from vtkHierarchicalDataSet.

virtual void vtkHierarchicalBoxDataSet::DeepCopy ( vtkDataObject src  )  [virtual]

Shallow and Deep copy.

Reimplemented from vtkHierarchicalDataSet.

static vtkInformationIntegerVectorKey* vtkHierarchicalBoxDataSet::BOX (  )  [static]

static vtkInformationIdTypeKey* vtkHierarchicalBoxDataSet::NUMBER_OF_BLANKED_POINTS (  )  [static]

virtual vtkIdType vtkHierarchicalBoxDataSet::GetNumberOfPoints (  )  [virtual]

Returns the total number of points of all blocks. This will iterate over all blocks and call GetNumberOfPoints() so it might be expansive. Does not include the number of blanked points.

Reimplemented from vtkHierarchicalDataSet.


Member Data Documentation

vtkHierarchicalBoxDataSetInternal* vtkHierarchicalBoxDataSet::BoxInternal [protected]

Definition at line 110 of file vtkHierarchicalBoxDataSet.h.


The documentation for this class was generated from the following file:
Generated on Fri Sep 7 17:46:27 2007 for VTK by  doxygen 1.5.3