#include <miterd.hh>
r_MiterDirect::~r_MiterDirect |
( |
void |
| ) |
|
destructor
constructor getting the data, the total domain, the iteration domain, the base type length and the number of steps per iteration.
void* r_MiterDirect::getData |
( |
void |
| ) |
|
|
inline |
returns pointer to data during normal iteration.
void* r_MiterDirect::getData |
( |
unsigned int * |
order | ) |
|
|
inline |
return pointer to data for non-standard iteration order
returns number of bytes to step in dimension d when pos changes by 1.
returns number of bytes to step in dimension d in one iteration
returns pointer to data during user-defined iteration; order is as defined in iterateUserOrder().
returns extent in dimension d
bool r_MiterDirect::isDone |
( |
void |
| ) |
const |
|
inline |
returns != 0 if iteration is finished.
see the other incrementUserOrder method for more details
increment in user-specified order
r_MiterDirect& r_MiterDirect::iterateUserOrder |
( |
const unsigned int * |
order, |
|
|
const int * |
step |
|
) |
| |
|
inline |
increment or decrement in user-specified order
increment the iterator in a user-specified order. order points to an array defining the order of the dimensions during iteration, e.g. for a 3D iteration 0,1,2 would iterate over the first dimension first and the last dimension last wheres 2,1,0 is equivalent to operator++(). step is the number of steps to do in each dimension.
increment the iterator in the default order, i.e. last dimension first
void r_MiterDirect::posChanged |
( |
void |
| ) |
|
|
inline |
notify that the position was changed and internal variables need to be recalculated
void r_MiterDirect::print_pos |
( |
std::ostream & |
str | ) |
const |
void r_MiterDirect::reset |
( |
void |
| ) |
|
reset the iterator (pos to low and data to baseAddress + offset)
void* r_MiterDirect::baseAddress |
The documentation for this class was generated from the following file: