#include <PointHashGrid.h>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
End iterator
Cell * m_cell
Definition: PointHashGrid.h:553
Vector3int32 m_current
Definition: PointHashGrid.h:550
arena_t NULL
Definition: jemalloc_internal.h:624
const ThisType * m_grid
Definition: PointHashGrid.h:533
bool m_exact
Definition: PointHashGrid.h:542
bool m_isEnd
Definition: PointHashGrid.h:531
const int m_epoch
Definition: PointHashGrid.h:558
int m_arrayIndex
Definition: PointHashGrid.h:556
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Begin iterator
AABox m_box
Definition: PointHashGrid.h:545
Cell * m_cell
Definition: PointHashGrid.h:553
Vector3int32 m_current
Definition: PointHashGrid.h:550
arena_t NULL
Definition: jemalloc_internal.h:624
const ThisType * m_grid
Definition: PointHashGrid.h:533
bool m_exact
Definition: PointHashGrid.h:542
bool m_isEnd
Definition: PointHashGrid.h:531
void advance()
Definition: PointHashGrid.h:585
Vector3int32 m_hi
Definition: PointHashGrid.h:539
const int m_epoch
Definition: PointHashGrid.h:558
int m_arrayIndex
Definition: PointHashGrid.h:556
Vector3int32 m_lo
Definition: PointHashGrid.h:536
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Advance to the next value
AABox m_box
Definition: PointHashGrid.h:545
Cell * m_cell
Definition: PointHashGrid.h:553
bool contains(const AABox &other) const
Definition: AABox.h:238
arena_t NULL
Definition: jemalloc_internal.h:624
void advanceCell()
Definition: PointHashGrid.h:562
bool m_exact
Definition: PointHashGrid.h:542
bool m_isEnd
Definition: PointHashGrid.h:531
#define debugAssert(exp)
Definition: debugAssert.h:160
const Vector3 & position() const
Definition: PointHashGrid.h:639
int size() const
Definition: SmallArray.h:37
int m_arrayIndex
Definition: PointHashGrid.h:556
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Called from advance()
Cell * m_cell
Definition: PointHashGrid.h:553
Vector3int32 m_current
Definition: PointHashGrid.h:550
arena_t NULL
Definition: jemalloc_internal.h:624
const ThisType * m_grid
Definition: PointHashGrid.h:533
bool m_isEnd
Definition: PointHashGrid.h:531
int size() const
Definition: SmallArray.h:37
Vector3int32 m_hi
Definition: PointHashGrid.h:539
Vector3int32 m_lo
Definition: PointHashGrid.h:536
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
- Deprecated:
- Use isValid
bool m_isEnd
Definition: PointHashGrid.h:531
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
bool m_isEnd
Definition: PointHashGrid.h:531
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
const Value & value() const
Definition: PointHashGrid.h:633
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
650 if (other.m_isEnd &&
m_isEnd) {
653 return (
m_isEnd != other.m_isEnd) ||
654 (
m_cell != other.m_cell) ||
Cell * m_cell
Definition: PointHashGrid.h:553
bool m_isEnd
Definition: PointHashGrid.h:531
int m_arrayIndex
Definition: PointHashGrid.h:556
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
const Value & value() const
Definition: PointHashGrid.h:633
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Preincrement
667 "It is illegal to mutate the HashGrid "
668 "while iterating through it.");
const ThisType * m_grid
Definition: PointHashGrid.h:533
#define debugAssertM(exp, message)
Definition: debugAssert.h:161
bool m_isEnd
Definition: PointHashGrid.h:531
#define debugAssert(exp)
Definition: debugAssert.h:160
void advance()
Definition: PointHashGrid.h:585
const int m_epoch
Definition: PointHashGrid.h:558
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Post increment (slower)
677 Iterator old = *
this;
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
const Value & value() const
Definition: PointHashGrid.h:633
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
660 return !(*
this != other);
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Used by SphereIterator::advance()
Cell * m_cell
Definition: PointHashGrid.h:553
bool m_isEnd
Definition: PointHashGrid.h:531
#define debugAssert(exp)
Definition: debugAssert.h:160
int m_arrayIndex
Definition: PointHashGrid.h:556
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Cell * m_cell
Definition: PointHashGrid.h:553
bool m_isEnd
Definition: PointHashGrid.h:531
#define debugAssert(exp)
Definition: debugAssert.h:160
int m_arrayIndex
Definition: PointHashGrid.h:556
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Index within m_cell of the current value
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
The underlying box in 3D space
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
The iterator winds through the 3D grid between m_lo and (m_lo + m_extent) in Z,Y,X-major order. This is the index keeping track of how far it has come
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
If true, test values against m_box before returning them.
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Upper bound on the boxes covered, inclusive.
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
template<class Value, class PosFunc = PositionTrait<Value>, class EqualsFunc = EqualsTrait<Value>>
Lower bound on the boxes covered, inclusive.
The documentation for this class was generated from the following file: