LIDAR::LAS::DATASET Class Reference

LAS dataset consisting of one or more LAS files along with class descriptions and CRS. More...

#include <mi32/lidarlasdataset.h>

List of all members.

Classes

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

Public Member Functions

 DATASET ()
 ~DATASET ()
void AddDelegateOnChangeClassDescSet (DELEGATE_VOID_NOPARMS delegate)
ERRVALUE AddFile (const FILEPATH &laspath)
ERRVALUE AddFiles (const FILEPATHLIST &laspathlist)
void Clear ()
const CLASSDESCSETGetClassDescSet () const
const SPATREF::COORDREFSYSGetCRS () const
const DRECT3DGetExtents () const
double GetPointDensity () const
ERRVALUE GetRegion (REGION2D &region) const
const STAT_UNIVARIATEGetStatIntensity () const
INT64 GetTotalPoints () const
bool HasTotalPoints () const
bool IsClassUsed (UINT16 ClassNumber) const
ERRVALUE Open (const FILEPATH &filepath)
ERRVALUE ReadPoint (INT64 PointNum, POINTARRAY &PointArray)
void RemoveDelegateOnChangeClassDescSet (DELEGATE_VOID_NOPARMS delegate)
ERRVALUE Save (const FILEPATH &filepath)
ERRVALUE Scan ()
ERRVALUE ScanTotalPoints () const
void SetClassDescSet (const CLASSDESCSET &classdesc)
void SetClassUsed (UINT16 ClassNumber, bool isused=true, bool notify=true)
void SetCRS (const SPATREF::COORDREFSYS &crs)
void SetStatIntensity (const STAT_UNIVARIATE StatIntensity)
ERRVALUE Update ()

Detailed Description

LAS dataset consisting of one or more LAS files along with class descriptions and CRS.


Constructor & Destructor Documentation

LIDAR::LAS::DATASET::DATASET (  ) 

Default constructor.

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

Destructor.


Member Function Documentation

void LIDAR::LAS::DATASET::AddDelegateOnChangeClassDescSet ( DELEGATE_VOID_NOPARMS  delegate  ) 

Add delegate for notification of changes to class descriptions.

Changes include setting as "used" and wholesale replacement.

Parameters:
delegate Delegate to add
ERRVALUE LIDAR::LAS::DATASET::AddFile ( const FILEPATH laspath  ) 

Add single LAS file to dataset.

ERRVALUE LIDAR::LAS::DATASET::AddFiles ( const FILEPATHLIST laspathlist  ) 

Add list of files to dataset.

void LIDAR::LAS::DATASET::Clear (  ) 

Clear dataset.

const CLASSDESCSET& LIDAR::LAS::DATASET::GetClassDescSet (  )  const

Get class description set.

const SPATREF::COORDREFSYS& LIDAR::LAS::DATASET::GetCRS (  )  const

Get CRS.

const DRECT3D& LIDAR::LAS::DATASET::GetExtents (  )  const

Get dataset extents.

double LIDAR::LAS::DATASET::GetPointDensity (  )  const

Get point density.

ERRVALUE LIDAR::LAS::DATASET::GetRegion ( REGION2D region  )  const

Get dataset region.

const STAT_UNIVARIATE& LIDAR::LAS::DATASET::GetStatIntensity (  )  const

Get statistics for intensity.

INT64 LIDAR::LAS::DATASET::GetTotalPoints (  )  const

Get total number of known points in dataset.

bool LIDAR::LAS::DATASET::HasTotalPoints (  )  const

Determine if total number of points is known.

bool LIDAR::LAS::DATASET::IsClassUsed ( UINT16  ClassNumber  )  const

Determine if class number is used.

ERRVALUE LIDAR::LAS::DATASET::Open ( const FILEPATH filepath  ) 

Open dataset using definition file.

Parameters:
filepath Path to dataset definition file
ERRVALUE LIDAR::LAS::DATASET::ReadPoint ( INT64  PointNum,
POINTARRAY PointArray 
)

Read single point.

Parameters:
PointNum Point number within dataset to read
PointArray Point array to read into
void LIDAR::LAS::DATASET::RemoveDelegateOnChangeClassDescSet ( DELEGATE_VOID_NOPARMS  delegate  ) 

Remove delegate for notification of changes to class descriptions.

Parameters:
delegate Delegate to remove
ERRVALUE LIDAR::LAS::DATASET::Save ( const FILEPATH filepath  ) 

Save dataset definition file.

Parameters:
filepath Path to dataset definition file
ERRVALUE LIDAR::LAS::DATASET::Scan (  ) 

Scan dataset for various usage and statistic values.

ERRVALUE LIDAR::LAS::DATASET::ScanTotalPoints (  )  const

Scan dataset for total points.

Will open each linked LAS file for which count is not already known.

void LIDAR::LAS::DATASET::SetClassDescSet ( const CLASSDESCSET classdesc  ) 

Set class description set.

Parameters:
classdesc Class descriptions
void LIDAR::LAS::DATASET::SetClassUsed ( UINT16  ClassNumber,
bool  isused = true,
bool  notify = true 
)

Set whether class is used or not.

Parameters:
ClassNumber Class number
isused Used
notify Notify via delegates
void LIDAR::LAS::DATASET::SetCRS ( const SPATREF::COORDREFSYS crs  ) 

Set CRS.

Parameters:
crs CRS for dataset
void LIDAR::LAS::DATASET::SetStatIntensity ( const STAT_UNIVARIATE  StatIntensity  ) 

Set intensity statistics.

Parameters:
StatIntensity Intensity statistics to set
ERRVALUE LIDAR::LAS::DATASET::Update (  ) 

Update dataset definition file if changed.


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

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