Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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.

Created by:
  • Bertel, Francois
CVS contributions (if > 5%):
  • Bertel, Francois (100%)
CVS logs (CVSweb):
  • .h (/Filtering/vtkAMRBox.h)
Examples:
vtkAMRBox (Examples)
Tests:
vtkAMRBox (Tests)

Definition at line 43 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 50 of file vtkAMRBox.h.

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

Definition at line 58 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 68 of file vtkAMRBox.h.

References vtkIdType.

void vtkAMRBox::Coarsen int  refinement  )  [inline]
 

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

Definition at line 82 of file vtkAMRBox.h.

void vtkAMRBox::Refine int  refinement  )  [inline]
 

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

Definition at line 101 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 113 of file vtkAMRBox.h.


Member Data Documentation

int vtkAMRBox::LoCorner[3]
 

Definition at line 47 of file vtkAMRBox.h.

int vtkAMRBox::HiCorner[3]
 

Definition at line 48 of file vtkAMRBox.h.


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