LIDAR::LAS::DATASET::POINTITERATOR Class Reference

Iterator for sequentially accessing point records in dataset. More...

#include <mi32/lidarlasdataset.h>

List of all members.

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 ()
POINTRECORDoperator* ()
const POINTRECORDoperator* () const
POINTITERATORoperator++ ()
POINTRECORDoperator-> ()
const POINTRECORDoperator-> () 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 ()

Detailed Description

Iterator for sequentially accessing point records in dataset.


Constructor & Destructor Documentation

LIDAR::LAS::DATASET::POINTITERATOR::POINTITERATOR ( DATASET dataset  )  [explicit]

Construct with associated dataset.

LIDAR::LAS::DATASET::POINTITERATOR::~POINTITERATOR (  ) 

Member Function Documentation

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.

Returns:
Point number within dataset or -1 if none found.
Parameters:
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.

Parameters:
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().

Parameters:
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().

Parameters:
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().

Parameters:
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.


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

Generated on Sun Oct 7 21:35:03 2012 for TNTsdk 2012 by  doxygen 1.6.1