Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkAMRBox Class Reference

#include <vtkAMRBox.h>

List of all members.


Detailed Description

represents a 3D uniform region in space

vtkAMRBox is similar to Chombo's Box. It represents a 3D region by storing indices for two corners (LoCorner, HiCorner). A few utility methods are provided.

Examples:
vtkAMRBox (Examples)
Tests:
vtkAMRBox (Tests)

Definition at line 34 of file vtkAMRBox.h.

Public Member Functions

 vtkAMRBox ()
 vtkAMRBox (int dimensionality, int *loCorner, int *hiCorner)
vtkIdType GetNumberOfCells ()
void Coarsen (int refinement)
void Refine (int refinement)
int DoesContainCell (int i, int j, int k)

Public Attributes

int LoCorner [3]
int HiCorner [3]


Constructor & Destructor Documentation

vtkAMRBox::vtkAMRBox  )  [inline]
 

Definition at line 41 of file vtkAMRBox.h.

vtkAMRBox::vtkAMRBox int  dimensionality,
int *  loCorner,
int *  hiCorner
[inline]
 

Definition at line 49 of file vtkAMRBox.h.


Member Function Documentation

vtkIdType vtkAMRBox::GetNumberOfCells  )  [inline]
 

Returns the number of cells (aka elements, zones etc.) in the given region (for the specified refinement, see Coarsen() and Refine() ).

Definition at line 59 of file vtkAMRBox.h.

void vtkAMRBox::Coarsen int  refinement  )  [inline]
 

Modify LoCorner and HiCorner by coarsening with the given refinement ratio.

Definition at line 73 of file vtkAMRBox.h.

void vtkAMRBox::Refine int  refinement  )  [inline]
 

Modify LoCorner and HiCorner by refining with the given refinement ratio.

Definition at line 92 of file vtkAMRBox.h.

int vtkAMRBox::DoesContainCell int  i,
int  j,
int  k
[inline]
 

Returns non-zero if the box contains the cell with given indices.

Definition at line 104 of file vtkAMRBox.h.


Member Data Documentation

int vtkAMRBox::LoCorner[3]
 

Definition at line 38 of file vtkAMRBox.h.

int vtkAMRBox::HiCorner[3]
 

Definition at line 39 of file vtkAMRBox.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:33:37 2008 for VTK by  doxygen 1.4.3-20050530