vtkAMRBox Class Reference
#include <vtkAMRBox.h>
List of all members.
Detailed Description
represents a 3D uniform region in space
- Date
- 2003/12/11 15:47:36
- Revision
- 1.1
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 38 of file vtkAMRBox.h.
Constructor & Destructor Documentation
vtkAMRBox::vtkAMRBox |
( |
|
) |
[inline] |
|
vtkAMRBox::vtkAMRBox |
( |
int |
dimensionality, |
|
|
int * |
loCorner, |
|
|
int * |
hiCorner |
|
) |
[inline] |
|
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 63 of file vtkAMRBox.h. |
void vtkAMRBox::Coarsen |
( |
int |
refinement |
) |
[inline] |
|
|
Modify LoCorner and HiCorner by coarsening with the given refinement ratio. Definition at line 77 of file vtkAMRBox.h. |
void vtkAMRBox::Refine |
( |
int |
refinement |
) |
[inline] |
|
|
Modify LoCorner and HiCorner by refining with the given refinement ratio. Definition at line 96 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 108 of file vtkAMRBox.h. |
Member Data Documentation
The documentation for this class was generated from the following file: