#include <vtkAMRBox.h>
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.
.h (/Filtering/vtkAMRBox
.h)
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] |
|
Definition at line 50 of file vtkAMRBox.h. |
|
Definition at line 58 of file vtkAMRBox.h. |
|
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. |
|
Modify LoCorner and HiCorner by coarsening with the given refinement ratio. Definition at line 82 of file vtkAMRBox.h. |
|
Modify LoCorner and HiCorner by refining with the given refinement ratio. Definition at line 101 of file vtkAMRBox.h. |
|
Returns non-zero if the box contains the cell with given indices. Definition at line 113 of file vtkAMRBox.h. |
|
Definition at line 47 of file vtkAMRBox.h. |
|
Definition at line 48 of file vtkAMRBox.h. |