PointIterator is the base class for accessing the point cloud.
More...
#include <PointIterator.h>
The PointIterator class is the base class for accessing the point data in a PointSource. Use PointSource::createIterator() to create a iterator.
- See Also
- See examples/src/UserTutorial.cpp for an example of using a PointIterator.
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.
- Parameters
-
points | the destination buffer |
- Returns
- the number points written in the buffer
This method initializes iterator.
- Parameters
-
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) |
- Note
- init() should have the same prototype a PointSource::createIterator()
bool PointIterator::useSample |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inlineprotected |
double PointIterator::m_accumulator |
|
protected |
Bounds PointIterator::m_bounds |
|
protected |
double PointIterator::m_cutoff |
|
protected |
double PointIterator::m_fraction |
|
protected |
The documentation for this class was generated from the following file: