liblas::LASPoint Class Reference
Definition of point data record. More...
#include <laspoint.hpp>
Public Types | |
| enum | DataMemberFlag { eReturnNumber = 1, eNumberOfReturns = 2, eScanDirection = 4, eFlightLineEdge = 8, eClassification = 16, eScanAngleRank = 32, eTime = 64 } |
| enum | ClassificationType { eCreated = 0, eUnclassified, eGround, eLowVegetation, eMediumVegetation, eHighVegetation, eBuilding, eLowPoint, eModelKeyPoint, eWater = 9, eOverlapPoints = 12 } |
| enum | ScanAngleRankRange { eScanAngleRankMin = -90, eScanAngleRankMax = 90 } |
Public Member Functions | |
| LASPoint () | |
| LASPoint (LASPoint const &other) | |
| LASPoint & | operator= (LASPoint const &rhs) |
| double | GetX () const |
| double | GetY () const |
| double | GetZ () const |
| void | SetCoordinates (double const &x, double const &y, double const &z) |
| void | SetCoordinates (LASHeader const &header, double x, double y, double z) |
| void | SetX (double const &value) |
| void | SetY (double const &value) |
| void | SetZ (double const &value) |
| uint16_t | GetIntensity () const |
| void | SetIntensity (uint16_t const &intensity) |
| uint8_t | GetScanFlags () const |
| void | SetScanFlags (uint8_t const &flags) |
| uint16_t | GetReturnNumber () const |
| void | SetReturnNumber (uint16_t const &num) |
| uint16_t | GetNumberOfReturns () const |
| void | SetNumberOfReturns (uint16_t const &num) |
| uint16_t | GetScanDirection () const |
| void | SetScanDirection (uint16_t const &dir) |
| uint16_t | GetFlightLineEdge () const |
| void | SetFlightLineEdge (uint16_t const &edge) |
| uint8_t | GetClassification () const |
| void | SetClassification (uint8_t const &classify) |
| int8_t | GetScanAngleRank () const |
| void | SetScanAngleRank (int8_t const &rank) |
| uint8_t | GetUserData () const |
| void | SetUserData (uint8_t const &data) |
| double | GetTime () const |
| void | SetTime (double const &time) |
| double & | operator[] (std::size_t const &n) |
| double const & | operator[] (std::size_t const &n) const |
| bool | equal (LASPoint const &other) const |
| bool | Validate () const |
| bool | IsValid () const |
Detailed Description
Definition of point data record.
- Todo:
- TODO: Think about last 1-byte field in record Point Source ID (LAS 1.1)
Definition at line 59 of file laspoint.hpp.
Member Enumeration Documentation
- Enumerator:
-
eReturnNumber eNumberOfReturns eScanDirection eFlightLineEdge eClassification eScanAngleRank eTime
Definition at line 63 of file laspoint.hpp.
- Enumerator:
-
eCreated eUnclassified eGround eLowVegetation eMediumVegetation eHighVegetation eBuilding eLowPoint eModelKeyPoint eWater eOverlapPoints
Definition at line 75 of file laspoint.hpp.
Constructor & Destructor Documentation
| liblas::LASPoint::LASPoint | ( | ) |
| liblas::LASPoint::LASPoint | ( | LASPoint const & | other | ) |
Member Function Documentation
| double liblas::LASPoint::GetX | ( | ) | const [inline] |
Definition at line 188 of file laspoint.hpp.
| double liblas::LASPoint::GetY | ( | ) | const [inline] |
Definition at line 198 of file laspoint.hpp.
| double liblas::LASPoint::GetZ | ( | ) | const [inline] |
Definition at line 208 of file laspoint.hpp.
| void liblas::LASPoint::SetCoordinates | ( | double const & | x, | |
| double const & | y, | |||
| double const & | z | |||
| ) | [inline] |
Definition at line 181 of file laspoint.hpp.
| void liblas::LASPoint::SetCoordinates | ( | LASHeader const & | header, | |
| double | x, | |||
| double | y, | |||
| double | z | |||
| ) |
| void liblas::LASPoint::SetX | ( | double const & | value | ) | [inline] |
Definition at line 193 of file laspoint.hpp.
| void liblas::LASPoint::SetY | ( | double const & | value | ) | [inline] |
Definition at line 203 of file laspoint.hpp.
| void liblas::LASPoint::SetZ | ( | double const & | value | ) | [inline] |
Definition at line 213 of file laspoint.hpp.
| uint16_t liblas::LASPoint::GetIntensity | ( | ) | const [inline] |
Definition at line 218 of file laspoint.hpp.
| void liblas::LASPoint::SetIntensity | ( | uint16_t const & | intensity | ) | [inline] |
Definition at line 223 of file laspoint.hpp.
| uint8_t liblas::LASPoint::GetScanFlags | ( | ) | const [inline] |
Definition at line 252 of file laspoint.hpp.
| void liblas::LASPoint::SetScanFlags | ( | uint8_t const & | flags | ) | [inline] |
Definition at line 257 of file laspoint.hpp.
| uint16_t liblas::LASPoint::GetReturnNumber | ( | ) | const [inline] |
Definition at line 228 of file laspoint.hpp.
| void liblas::LASPoint::SetReturnNumber | ( | uint16_t const & | num | ) |
| uint16_t liblas::LASPoint::GetNumberOfReturns | ( | ) | const [inline] |
Definition at line 234 of file laspoint.hpp.
| void liblas::LASPoint::SetNumberOfReturns | ( | uint16_t const & | num | ) |
| uint16_t liblas::LASPoint::GetScanDirection | ( | ) | const [inline] |
Definition at line 240 of file laspoint.hpp.
| void liblas::LASPoint::SetScanDirection | ( | uint16_t const & | dir | ) |
| uint16_t liblas::LASPoint::GetFlightLineEdge | ( | ) | const [inline] |
Definition at line 246 of file laspoint.hpp.
| void liblas::LASPoint::SetFlightLineEdge | ( | uint16_t const & | edge | ) |
| uint8_t liblas::LASPoint::GetClassification | ( | ) | const [inline] |
Definition at line 262 of file laspoint.hpp.
| void liblas::LASPoint::SetClassification | ( | uint8_t const & | classify | ) | [inline] |
Definition at line 267 of file laspoint.hpp.
| int8_t liblas::LASPoint::GetScanAngleRank | ( | ) | const [inline] |
Definition at line 272 of file laspoint.hpp.
| void liblas::LASPoint::SetScanAngleRank | ( | int8_t const & | rank | ) |
| uint8_t liblas::LASPoint::GetUserData | ( | ) | const [inline] |
Definition at line 277 of file laspoint.hpp.
| void liblas::LASPoint::SetUserData | ( | uint8_t const & | data | ) |
| double liblas::LASPoint::GetTime | ( | ) | const [inline] |
Definition at line 282 of file laspoint.hpp.
| void liblas::LASPoint::SetTime | ( | double const & | time | ) | [inline] |
Definition at line 287 of file laspoint.hpp.
| double & liblas::LASPoint::operator[] | ( | std::size_t const & | n | ) | [inline] |
Definition at line 292 of file laspoint.hpp.
| double const & liblas::LASPoint::operator[] | ( | std::size_t const & | n | ) | const [inline] |
Definition at line 300 of file laspoint.hpp.
| bool liblas::LASPoint::equal | ( | LASPoint const & | other | ) | const |
- Todo:
- TODO: Should we compare other data members, but not only coordinates?
Referenced by liblas::operator==().
Here is the caller graph for this function:

| bool liblas::LASPoint::Validate | ( | ) | const |
| bool liblas::LASPoint::IsValid | ( | ) | const |
The documentation for this class was generated from the following file:
