Field3D
|
#include <SparseField.h>
Public Types | |
typedef SparseField< Data_T > | class_type |
Convenience typedef. | |
Public Member Functions | |
block_iterator (const class_type &field, const Box3i &window, const V3i ¤tPos) | |
Constructor. | |
const Box3i & | blockBoundingBox () |
Returns a reference to the bounding box representing the current block. | |
bool | operator!= (const block_iterator &rhs) const |
Inequality check. | |
const block_iterator & | operator++ () |
Increment iterator. | |
bool | operator== (const block_iterator &rhs) const |
Equality check. | |
Public Attributes | |
int | x |
Current block index. | |
int | y |
int | z |
Private Member Functions | |
void | recomputeBlockBoundingBox () |
Private Attributes | |
Box3i | m_currentBlockWindow |
Bounding box in voxel coordinates for the current block. | |
const class_type & | m_field |
Pointer to field we're traversing. | |
Box3i | m_window |
Bounding box for block indices. | |
Definition at line 1213 of file SparseField.h.
typedef SparseField<Data_T> SparseField< Data_T >::block_iterator::class_type |
Convenience typedef.
Definition at line 1217 of file SparseField.h.
|
inline |
Constructor.
Definition at line 1219 of file SparseField.h.
|
inline |
Increment iterator.
Definition at line 1227 of file SparseField.h.
|
inline |
Equality check.
Definition at line 1245 of file SparseField.h.
References SparseField< Data_T >::block_iterator::x, SparseField< Data_T >::block_iterator::y, and SparseField< Data_T >::block_iterator::z.
|
inline |
Inequality check.
Definition at line 1250 of file SparseField.h.
References SparseField< Data_T >::block_iterator::x, SparseField< Data_T >::block_iterator::y, and SparseField< Data_T >::block_iterator::z.
|
inline |
Returns a reference to the bounding box representing the current block.
Definition at line 1255 of file SparseField.h.
|
inlineprivate |
Definition at line 1262 of file SparseField.h.
References SparseField< Data_T >::blockSize(), and FIELD3D_CLIP.
int SparseField< Data_T >::block_iterator::x |
Current block index.
Definition at line 1260 of file SparseField.h.
Referenced by SparseField< Data_T >::block_iterator::operator!=(), and SparseField< Data_T >::block_iterator::operator==().
int SparseField< Data_T >::block_iterator::y |
Definition at line 1260 of file SparseField.h.
Referenced by SparseField< Data_T >::block_iterator::operator!=(), and SparseField< Data_T >::block_iterator::operator==().
int SparseField< Data_T >::block_iterator::z |
Definition at line 1260 of file SparseField.h.
Referenced by SparseField< Data_T >::block_iterator::operator!=(), and SparseField< Data_T >::block_iterator::operator==().
|
private |
Bounding box for block indices.
Definition at line 1275 of file SparseField.h.
|
private |
Pointer to field we're traversing.
Definition at line 1277 of file SparseField.h.
|
private |
Bounding box in voxel coordinates for the current block.
Definition at line 1279 of file SparseField.h.