OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
Container class for LAS point record type 2. More...
#include <ossimLasPointRecord2.h>
Classes | |
union | BitFlags |
struct | ossimLasPointRecord2Data |
Public Member Functions | |
ossimLasPointRecord2 () | |
default constructor More... | |
ossimLasPointRecord2 (const ossimLasPointRecord2 &obj) | |
const ossimLasPointRecord2 & | operator= (const ossimLasPointRecord2 ©_this) |
virtual | ~ossimLasPointRecord2 () |
destructor More... | |
virtual void | readStream (std::istream &in) |
Initialize record from stream. More... | |
virtual void | writeStream (std::ostream &out) |
Writes record to stream. More... | |
virtual ossim_int32 | getX () const |
virtual ossim_int32 | getY () const |
virtual ossim_int32 | getZ () const |
virtual ossim_uint16 | getRed () const |
virtual ossim_uint16 | getGreen () const |
virtual ossim_uint16 | getBlue () const |
virtual ossim_uint16 | getIntensity () const |
virtual ossim_uint8 | getReturnNumber () const |
virtual ossim_uint8 | getNumberOfReturns () const |
virtual ossim_uint8 | getEdgeFlag () const |
virtual std::ostream & | print (std::ostream &out) const |
![]() | |
virtual | ~ossimLasPointRecordInterface () |
Virtual destructor defined to squash compiler errors. More... | |
Private Member Functions | |
void | swap () |
Performs a swap if system byte order is not little endian. More... | |
Private Attributes | |
ossimLasPointRecord2Data | m_record |
Container class for LAS point record type 2.
Definition at line 23 of file ossimLasPointRecord2.h.
ossimLasPointRecord2::ossimLasPointRecord2 | ( | ) |
default constructor
Definition at line 81 of file ossimLasPointRecord2.cpp.
ossimLasPointRecord2::ossimLasPointRecord2 | ( | const ossimLasPointRecord2 & | obj | ) |
Definition at line 87 of file ossimLasPointRecord2.cpp.
|
virtual |
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 158 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_blue, and m_record.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 178 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_bitFlags, ossimLasPointRecord2::BitFlags::m_edgeOfFlightLine, and m_record.
Referenced by print().
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 153 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_green, and m_record.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 163 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_intensity, and m_record.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 173 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_bitFlags, ossimLasPointRecord2::BitFlags::m_numberOfReturns, and m_record.
Referenced by print().
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 148 of file ossimLasPointRecord2.cpp.
References m_record, and ossimLasPointRecord2::ossimLasPointRecord2Data::m_red.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 168 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_bitFlags, m_record, and ossimLasPointRecord2::BitFlags::m_returnNumber.
Referenced by print().
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 133 of file ossimLasPointRecord2.cpp.
References m_record, and ossimLasPointRecord2::ossimLasPointRecord2Data::m_x.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 138 of file ossimLasPointRecord2.cpp.
References m_record, and ossimLasPointRecord2::ossimLasPointRecord2Data::m_y.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 143 of file ossimLasPointRecord2.cpp.
References m_record, and ossimLasPointRecord2::ossimLasPointRecord2Data::m_z.
const ossimLasPointRecord2 & ossimLasPointRecord2::operator= | ( | const ossimLasPointRecord2 & | copy_this | ) |
Definition at line 93 of file ossimLasPointRecord2.cpp.
References m_record.
|
virtual |
Implements ossimLasPointRecordInterface.
Definition at line 183 of file ossimLasPointRecord2.cpp.
References getEdgeFlag(), getNumberOfReturns(), getReturnNumber(), ossimLasPointRecord2::ossimLasPointRecord2Data::m_bitFlags, ossimLasPointRecord2::ossimLasPointRecord2Data::m_blue, ossimLasPointRecord2::ossimLasPointRecord2Data::m_classification, ossimLasPointRecord2::ossimLasPointRecord2Data::m_green, ossimLasPointRecord2::ossimLasPointRecord2Data::m_intensity, ossimLasPointRecord2::ossimLasPointRecord2Data::m_pointSourceId, m_record, ossimLasPointRecord2::ossimLasPointRecord2Data::m_red, ossimLasPointRecord2::ossimLasPointRecord2Data::m_scanAngleRank, ossimLasPointRecord2::BitFlags::m_scanDirection, ossimLasPointRecord2::ossimLasPointRecord2Data::m_userData, ossimLasPointRecord2::ossimLasPointRecord2Data::m_x, ossimLasPointRecord2::ossimLasPointRecord2Data::m_y, and ossimLasPointRecord2::ossimLasPointRecord2Data::m_z.
|
virtual |
Initialize record from stream.
Implements ossimLasPointRecordInterface.
Definition at line 106 of file ossimLasPointRecord2.cpp.
References ossim::byteOrder(), m_record, OSSIM_BIG_ENDIAN, and swap().
|
private |
Performs a swap if system byte order is not little endian.
Definition at line 212 of file ossimLasPointRecord2.cpp.
References ossimLasPointRecord2::ossimLasPointRecord2Data::m_blue, ossimLasPointRecord2::ossimLasPointRecord2Data::m_green, ossimLasPointRecord2::ossimLasPointRecord2Data::m_intensity, ossimLasPointRecord2::ossimLasPointRecord2Data::m_pointSourceId, m_record, ossimLasPointRecord2::ossimLasPointRecord2Data::m_red, ossimLasPointRecord2::ossimLasPointRecord2Data::m_x, ossimLasPointRecord2::ossimLasPointRecord2Data::m_y, ossimLasPointRecord2::ossimLasPointRecord2Data::m_z, and ossimEndian::swap().
Referenced by readStream(), and writeStream().
|
virtual |
Writes record to stream.
Implements ossimLasPointRecordInterface.
Definition at line 116 of file ossimLasPointRecord2.cpp.
References ossim::byteOrder(), m_record, OSSIM_BIG_ENDIAN, and swap().
|
private |
Definition at line 119 of file ossimLasPointRecord2.h.
Referenced by getBlue(), getEdgeFlag(), getGreen(), getIntensity(), getNumberOfReturns(), getRed(), getReturnNumber(), getX(), getY(), getZ(), operator=(), print(), readStream(), swap(), and writeStream().