Iterator for sequentially accessing point records in dataset. More...
#include <mi32/lidarlasdataset.h>
Public Member Functions | |
| POINTITERATOR (DATASET &dataset) | |
| ~POINTITERATOR () | |
| bool | AtEnd () const |
| ERRVALUE | Begin () |
| INT64 | FindClosest (const DPOINT2D &pt, double SearchDist, double *pDistFound=0) |
| INT64 | GetPointNum () const |
| ERRVALUE | Increment () |
| POINTRECORD & | operator* () |
| const POINTRECORD & | operator* () const |
| POINTITERATOR & | operator++ () |
| POINTRECORD * | operator-> () |
| const POINTRECORD * | operator-> () const |
| void | SetDelegateOnReportProgress (DELEGATE_ERRVALUE_DOUBLE delegate) |
| void | SetExtents (const DRECT2D &extents) |
| void | SetFilter (DELEGATE_BOOL_POINTRECORD delegate) |
| void | SetPointSet (const UNSIGNEDSET *pPointSet) |
| ERRVALUE | UpdateFile () |
Iterator for sequentially accessing point records in dataset.
| LIDAR::LAS::DATASET::POINTITERATOR::POINTITERATOR | ( | DATASET & | dataset | ) | [explicit] |
Construct with associated dataset.
| LIDAR::LAS::DATASET::POINTITERATOR::~POINTITERATOR | ( | ) |
| bool LIDAR::LAS::DATASET::POINTITERATOR::AtEnd | ( | ) | const [inline] |
Determine if at end of iteration.
| ERRVALUE LIDAR::LAS::DATASET::POINTITERATOR::Begin | ( | ) |
Begin iteration.
| INT64 LIDAR::LAS::DATASET::POINTITERATOR::FindClosest | ( | const DPOINT2D & | pt, | |
| double | SearchDist, | |||
| double * | pDistFound = 0 | |||
| ) |
Find closest point using iterator.
Iterator will be at end when returns.
| pt | Point to search around in dataset CRS | |
| SearchDist | Search distance in dataset CRS units | |
| pDistFound | Distance to point found returned, NULL if don't need |
| INT64 LIDAR::LAS::DATASET::POINTITERATOR::GetPointNum | ( | ) | const |
Get "point number" within dataset.
| ERRVALUE LIDAR::LAS::DATASET::POINTITERATOR::Increment | ( | ) |
Increment to next point, does not set to "end" if error occurs.
| POINTRECORD& LIDAR::LAS::DATASET::POINTITERATOR::operator* | ( | ) | [inline] |
Return reference to non-const point record.
| const POINTRECORD& LIDAR::LAS::DATASET::POINTITERATOR::operator* | ( | ) | const [inline] |
Return reference to point record.
| POINTITERATOR& LIDAR::LAS::DATASET::POINTITERATOR::operator++ | ( | ) |
Increment to next point, will set to "end" if error occurs.
| POINTRECORD* LIDAR::LAS::DATASET::POINTITERATOR::operator-> | ( | ) | [inline] |
Return pointer to non-const point record.
| const POINTRECORD* LIDAR::LAS::DATASET::POINTITERATOR::operator-> | ( | ) | const [inline] |
Return pointer to point record.
| void LIDAR::LAS::DATASET::POINTITERATOR::SetDelegateOnReportProgress | ( | DELEGATE_ERRVALUE_DOUBLE | delegate | ) |
Set delegate for reporting progress.
| delegate | Delegate to report progress |
| void LIDAR::LAS::DATASET::POINTITERATOR::SetExtents | ( | const DRECT2D & | extents | ) |
Set extents for iteration.
Must be done prior to calling Begin().
| extents | Extents in dataset CRS |
| void LIDAR::LAS::DATASET::POINTITERATOR::SetFilter | ( | DELEGATE_BOOL_POINTRECORD | delegate | ) |
Set filter delegate.
Must be done prior to calling Begin().
| delegate | Delegate for filtering point records |
| void LIDAR::LAS::DATASET::POINTITERATOR::SetPointSet | ( | const UNSIGNEDSET * | pPointSet | ) |
Set points to be iterated over.
Specified set must remain valid for the life of the iterator. Must be done prior to calling Begin().
| pPointSet | Set of points to be iterated over, must remain valid for life of iterator |
| ERRVALUE LIDAR::LAS::DATASET::POINTITERATOR::UpdateFile | ( | ) |
Update current point record to file.
1.6.1