#include <PointIterator.h>
Public Member Functions | |
virtual size_t | getNextPoints (PointData &points)=0 |
Get the next set of points. | |
Protected Member Functions | |
void | init (const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate) |
Initialize the iterator. | |
bool | useSample (double x, double y, double z) |
This method does the bounds and subsample tests. | |
Protected Attributes | |
Bounds | m_bounds |
double | m_fraction |
double | m_accumulator |
double | m_cutoff |
ProgressDelegate * | m_delegate |
Definition at line 31 of file PointIterator.h.
virtual size_t PointIterator::getNextPoints | ( | PointData & | points | ) | [pure virtual] |
This method gets the next group of points.
points | the destination buffer |
void PointIterator::init | ( | const Bounds & | bounds, | |
double | fraction, | |||
const PointInfo & | pointInfo, | |||
ProgressDelegate * | delegate | |||
) | [protected] |
This method initializes iterator.
bounds | the region of interest (HUGE_VAL are handled) | |
fraction | the fraction of the points you want (use 1.0 for all the points and use 0.1 to keep every tenth point) | |
pointInfo | the list of channels to be extracted | |
delegate | a ProgressDelegate for feedback (can be NULL) |
bool PointIterator::useSample | ( | double | x, | |
double | y, | |||
double | z | |||
) | [inline, protected] |
Definition at line 68 of file PointIterator.h.
References m_accumulator, m_bounds, m_cutoff, and m_fraction.
Bounds PointIterator::m_bounds [protected] |
double PointIterator::m_fraction [protected] |
double PointIterator::m_accumulator [protected] |
double PointIterator::m_cutoff [protected] |
ProgressDelegate* PointIterator::m_delegate [protected] |
Definition at line 89 of file PointIterator.h.
LizardTech |