Field3D
|
#include <MACField.h>
Public Types | |
typedef MACField< Data_T > | class_type |
typedef MACField< Data_T >::real_t | real_t |
Public Member Functions | |
mac_comp_iterator (MACComponent comp, class_type &field, const Box3i &window, const V3i ¤tPos) | |
template<class Iter_T > | |
bool | operator!= (const Iter_T &rhs) const |
real_t & | operator* () const |
mac_comp_iterator & | operator++ () |
real_t * | operator-> () const |
template<class Iter_T > | |
bool | operator== (const Iter_T &rhs) const |
Public Attributes | |
int | x |
Current position. | |
int | y |
int | z |
Private Member Functions | |
void | updatePointer () |
Private Attributes | |
MACComponent | m_comp |
Component to look up. | |
class_type & | m_field |
Reference to field being iterated over. | |
real_t * | m_p |
Pointer to current element. | |
Box3i | m_window |
Window to traverse. |
Definition at line 467 of file MACField.h.
typedef MACField<Data_T> MACField< Data_T >::mac_comp_iterator::class_type |
Definition at line 473 of file MACField.h.
typedef MACField<Data_T>::real_t MACField< Data_T >::mac_comp_iterator::real_t |
Definition at line 474 of file MACField.h.
MACField< Data_T >::mac_comp_iterator::mac_comp_iterator | ( | MACComponent | comp, |
class_type & | field, | ||
const Box3i & | window, | ||
const V3i & | currentPos | ||
) | [inline] |
Definition at line 478 of file MACField.h.
mac_comp_iterator& MACField< Data_T >::mac_comp_iterator::operator++ | ( | ) | [inline] |
bool MACField< Data_T >::mac_comp_iterator::operator== | ( | const Iter_T & | rhs | ) | const [inline] |
Definition at line 509 of file MACField.h.
{ return m_p == &(*rhs); }
bool MACField< Data_T >::mac_comp_iterator::operator!= | ( | const Iter_T & | rhs | ) | const [inline] |
Definition at line 515 of file MACField.h.
{ return m_p != &(*rhs); }
Definition at line 520 of file MACField.h.
{ return *m_p; }
Definition at line 525 of file MACField.h.
{ return m_p; }
void MACField< Data_T >::mac_comp_iterator::updatePointer | ( | ) | [inline, private] |
Definition at line 539 of file MACField.h.
int MACField< Data_T >::mac_comp_iterator::x |
Current position.
Definition at line 533 of file MACField.h.
Referenced by MACField< Data_T >::mac_comp_iterator::operator++().
int MACField< Data_T >::mac_comp_iterator::y |
Definition at line 533 of file MACField.h.
int MACField< Data_T >::mac_comp_iterator::z |
Definition at line 533 of file MACField.h.
real_t* MACField< Data_T >::mac_comp_iterator::m_p [private] |
Pointer to current element.
Definition at line 559 of file MACField.h.
Box3i MACField< Data_T >::mac_comp_iterator::m_window [private] |
Window to traverse.
Definition at line 561 of file MACField.h.
MACComponent MACField< Data_T >::mac_comp_iterator::m_comp [private] |
Component to look up.
Definition at line 563 of file MACField.h.
class_type& MACField< Data_T >::mac_comp_iterator::m_field [private] |
Reference to field being iterated over.
Definition at line 565 of file MACField.h.