LIDAR::LAS::POINTRECORD Class Reference

Point record for LAS format. More...

#include <mi32/lidarlaspoint.h>

Inheritance diagram for LIDAR::LAS::POINTRECORD:
Inheritance graph
[legend]

List of all members.

Public Member Functions

UINT8 GetClassFull () const
UINT8 GetClassification () const
void GetColor (COLOR &color) const
UINT16 GetIntensity () const
UINT8 GetReturnCount () const
UINT8 GetReturnNumber () const
POINTRETURNTYPE GetReturnType () const
UINT8 GetReturnValues () const
INT8 GetScanAngle () const
INT8 GetScanDirection () const
UINT16 GetSourceID () const
double GetTime () const
UINT8 GetUserData () const
UINT8 GetWaveDescIdx () const
UINT64 GetWaveOffset () const
float GetWavePointLocation () const
UINT32 GetWaveSize () const
float GetWaveXt () const
float GetWaveYt () const
float GetWaveZt () const
bool HasColor () const
bool HasTime () const
bool HasWave () const
bool IsDeleted () const
bool IsEndOfSweep () const
bool IsFirstReturn () const
bool IsKeyPoint () const
bool IsLastReturn () const
bool IsSynthetic () const
void SetClassFull (UINT8 classfull)
void SetClassification (UINT8 classification, bool IsSynthetic, bool IsKeyPoint, bool IsDeleted)
void SetClassification (UINT8 classification)
void SetColor (const COLOR &color)
void SetDeleted (bool deleted)
void SetIntensity (UINT16 intensity)
void SetKeyPoint (bool keypoint)
void SetReturnValues (UINT8 ReturnNumber, UINT8 ReturnCount, bool IsScanPositive, bool IsEndOfSweep)
void SetScanAngle (INT8 ScanAngle)
void SetSourceID (UINT16 SourceID)
void SetSynthetic (bool synthetic)
void SetTime (double time)
void SetUserData (UINT8 userdata)
ERRVALUE Write (FILE_RAW &file, INT64 offset) const

Public Attributes

 __pad0__: POINTRECORD32(rhs) { } : POINTRECORD32(Array) { } : POINTRECORD32(Array

Detailed Description

Point record for LAS format.


Member Function Documentation

UINT8 LIDAR::LAS::POINTRECORD::GetClassFull (  )  const [inline]

Get full 'class', including 'Classification', 'Synthetic', 'Key-point' and 'Deleted' status bits.

This is more efficient than accessing any individual part. Bits 0-4 are 'Classification, 5 is 'Synthetic', 6 is 'Key-point', 7 is 'Deleted'.

Type Constraints
UINT8 LIDAR::LAS::POINTRECORD::GetClassification (  )  const [inline]

Get classification.

Returns:
Classification (0-31).
void LIDAR::LAS::POINTRECORD::GetColor ( COLOR color  )  const

Get 'color' value from record.

Parameters:
color Color returned, left unchanged if no color field
UINT16 LIDAR::LAS::POINTRECORD::GetIntensity (  )  const [inline]

Get 'intensity' value.

UINT8 LIDAR::LAS::POINTRECORD::GetReturnCount (  )  const [inline]

Get return count (number of returns for pulse).

UINT8 LIDAR::LAS::POINTRECORD::GetReturnNumber (  )  const [inline]

Get return number.

POINTRETURNTYPE LIDAR::LAS::POINTRECORD::GetReturnType (  )  const

Get point return "type".

UINT8 LIDAR::LAS::POINTRECORD::GetReturnValues (  )  const [inline]

Get return values (packed).

INT8 LIDAR::LAS::POINTRECORD::GetScanAngle (  )  const [inline]

Get 'scan angle'.

INT8 LIDAR::LAS::POINTRECORD::GetScanDirection (  )  const [inline]

Get 'scan direction'.

UINT16 LIDAR::LAS::POINTRECORD::GetSourceID (  )  const [inline]

Get 'source ID'.

double LIDAR::LAS::POINTRECORD::GetTime (  )  const

Get 'GPS Time'.

Returns:
Time for point interpretation depends on GPS Time Type of file, will return 0 if no time available.
UINT8 LIDAR::LAS::POINTRECORD::GetUserData (  )  const [inline]

Get 'user data value'.

UINT8 LIDAR::LAS::POINTRECORD::GetWaveDescIdx (  )  const
UINT64 LIDAR::LAS::POINTRECORD::GetWaveOffset (  )  const
float LIDAR::LAS::POINTRECORD::GetWavePointLocation (  )  const
UINT32 LIDAR::LAS::POINTRECORD::GetWaveSize (  )  const
float LIDAR::LAS::POINTRECORD::GetWaveXt (  )  const
float LIDAR::LAS::POINTRECORD::GetWaveYt (  )  const
float LIDAR::LAS::POINTRECORD::GetWaveZt (  )  const
bool LIDAR::LAS::POINTRECORD::HasColor (  )  const [inline]
bool LIDAR::LAS::POINTRECORD::HasTime (  )  const [inline]
bool LIDAR::LAS::POINTRECORD::HasWave (  )  const [inline]
bool LIDAR::LAS::POINTRECORD::IsDeleted (  )  const [inline]

Determine if point has 'deleted' attribute set.

bool LIDAR::LAS::POINTRECORD::IsEndOfSweep (  )  const [inline]

Determine if point is at end of sweep (edge of flight line).

bool LIDAR::LAS::POINTRECORD::IsFirstReturn (  )  const [inline]

Determine if point is 'first return'.

bool LIDAR::LAS::POINTRECORD::IsKeyPoint (  )  const [inline]

Determine if point has 'key point' attribute.

bool LIDAR::LAS::POINTRECORD::IsLastReturn (  )  const [inline]

Determine if point is 'last return'.

bool LIDAR::LAS::POINTRECORD::IsSynthetic (  )  const [inline]

Determine if point has 'synthetic' attribute set.

void LIDAR::LAS::POINTRECORD::SetClassFull ( UINT8  classfull  )  [inline]

Set full 'classification' value, see GetClassFull for interpretation.

Parameters:
classfull Full classification value
void LIDAR::LAS::POINTRECORD::SetClassification ( UINT8  classification,
bool  IsSynthetic,
bool  IsKeyPoint,
bool  IsDeleted 
) [inline]

Set classification.

Parameters:
classification Classification value (0-31)
void LIDAR::LAS::POINTRECORD::SetClassification ( UINT8  classification  )  [inline]

Set classification.

Parameters:
classification Classification value (0-31)
void LIDAR::LAS::POINTRECORD::SetColor ( const COLOR color  ) 
void LIDAR::LAS::POINTRECORD::SetDeleted ( bool  deleted  )  [inline]

Set 'deleted' status.

Parameters:
deleted Whether marked as 'deleted' or not
void LIDAR::LAS::POINTRECORD::SetIntensity ( UINT16  intensity  )  [inline]
void LIDAR::LAS::POINTRECORD::SetKeyPoint ( bool  keypoint  )  [inline]

Set 'key point' status.

Parameters:
keypoint Whether key point or not
void LIDAR::LAS::POINTRECORD::SetReturnValues ( UINT8  ReturnNumber,
UINT8  ReturnCount,
bool  IsScanPositive,
bool  IsEndOfSweep 
) [inline]
void LIDAR::LAS::POINTRECORD::SetScanAngle ( INT8  ScanAngle  )  [inline]
void LIDAR::LAS::POINTRECORD::SetSourceID ( UINT16  SourceID  )  [inline]
void LIDAR::LAS::POINTRECORD::SetSynthetic ( bool  synthetic  )  [inline]

Set 'synthetic' status.

Parameters:
synthetic Whether synthetic or not
void LIDAR::LAS::POINTRECORD::SetTime ( double  time  ) 
void LIDAR::LAS::POINTRECORD::SetUserData ( UINT8  userdata  )  [inline]

Set 'user data' value.

ERRVALUE LIDAR::LAS::POINTRECORD::Write ( FILE_RAW file,
INT64  offset 
) const

Member Data Documentation

Default constructor, creates NULL record.

Copy constructor.


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