MrSID Decode SDK for LiDAR Reference Manual 1.1.5.5244
PointReaderIterator Class Reference

#include <PointIterator.h>

Inheritance diagram for PointReaderIterator:
Collaboration diagram for PointReaderIterator:

Protected Member Functions

void init (const Bounds &bounds, double fraction, const PointInfo &pointInfo, ProgressDelegate *delegate)
 Initialize the iterator. More...
 
bool useSample (double x, double y, double z)
 This method does the bounds and subsample tests. More...
 
- Protected Member Functions inherited from Object
 Object (void)
 
virtual ~Object (void)
 

Protected Attributes

ProgressDelegate * m_delegate
 
Bounds m_bounds
 
double m_fraction
 
double m_accumulator
 
double m_cutoff
 

Additional Inherited Members

- Public Member Functions inherited from PointIterator
virtual size_t getNextPoints (PointData &points)=0
 Get the next set of points. More...
 
- Public Member Functions inherited from Object
int retain (void) const
 Increment the reference count by one. More...
 
int release (void) const
 Decrement the reference count by one. More...
 

Detailed Description

Definition at line 72 of file PointIterator.h.

Member Function Documentation

◆ init()

void PointReaderIterator::init ( const Bounds &  bounds,
double  fraction,
const PointInfo &  pointInfo,
ProgressDelegate *  delegate 
)
protected

This method initializes iterator.

Parameters
boundsthe region of interest (HUGE_VAL are handled)
fractionthe fraction of the points you want (use 1.0 for all the points and use 0.1 to keep every tenth point)
pointInfothe list of channels to be extracted
delegatea ProgressDelegate for feedback (can be nullptr)

◆ useSample()

bool PointReaderIterator::useSample ( double  x,
double  y,
double  z 
)
inlineprotected

Definition at line 97 of file PointIterator.h.

References m_accumulator, m_bounds, m_cutoff, and m_fraction.

Member Data Documentation

◆ m_accumulator

double PointReaderIterator::m_accumulator
protected

Definition at line 117 of file PointIterator.h.

Referenced by useSample().

◆ m_bounds

Bounds PointReaderIterator::m_bounds
protected

Definition at line 115 of file PointIterator.h.

Referenced by useSample().

◆ m_cutoff

double PointReaderIterator::m_cutoff
protected

Definition at line 118 of file PointIterator.h.

Referenced by useSample().

◆ m_delegate

ProgressDelegate* PointReaderIterator::m_delegate
protected

Definition at line 114 of file PointIterator.h.

◆ m_fraction

double PointReaderIterator::m_fraction
protected

Definition at line 116 of file PointIterator.h.

Referenced by useSample().


The documentation for this class was generated from the following file:

Extensis