3D Forest
Software for analysis of Lidar data from forest environment.
LasFile::Header Struct Reference

#include <LasFile.hpp>

Public Member Functions

void set (uint64_t numberOfPoints, const Box< double > &box, const std::array< double, 3 > scale={1, 1, 1}, const std::array< double, 3 > offset={0, 0, 0}, uint8_t pointFormat=6, uint8_t versionMinor=4)
 
size_t versionHeaderSize () const
 
size_t pointDataRecordLengthFormat () const
 
size_t pointDataRecordLengthUser () const
 
uint64_t pointDataSize () const
 
std::string dateCreated () const
 
bool hasRgb () const
 
void setGeneratingSoftware ()
 
void addOffsetPointData (uint64_t increment)
 
void addOffsetWdpr (uint64_t increment)
 
void subOffsetWdpr (uint64_t decrement)
 
void addOffsetEvlr (uint64_t increment)
 
void subOffsetEvlr (uint64_t decrement)
 

Public Attributes

char file_signature [4]
 
uint16_t file_source_id
 
uint16_t global_encoding
 
uint32_t project_id_1
 
uint16_t project_id_2
 
uint16_t project_id_3
 
uint8_t project_id_4 [8]
 
uint8_t version_major
 
uint8_t version_minor
 
char system_identifier [32]
 
char generating_software [32]
 
uint16_t file_creation_day_of_year
 
uint16_t file_creation_year
 
uint16_t header_size
 
uint32_t offset_to_point_data
 
uint32_t number_of_vlr
 
uint8_t point_data_record_format
 
uint16_t point_data_record_length
 
uint32_t legacy_number_of_point_records
 
uint32_t legacy_number_of_points_by_return [5]
 
double x_scale_factor
 
double y_scale_factor
 
double z_scale_factor
 
double x_offset
 
double y_offset
 
double z_offset
 
double max_x
 
double min_x
 
double max_y
 
double min_y
 
double max_z
 
double min_z
 
uint64_t offset_to_wdpr
 
uint64_t offset_to_evlr
 
uint32_t number_of_evlr
 
uint64_t number_of_point_records
 
uint64_t number_of_points_by_return [15]
 

Member Function Documentation

◆ addOffsetEvlr()

void LasFile::Header::addOffsetEvlr ( uint64_t increment)

◆ addOffsetPointData()

void LasFile::Header::addOffsetPointData ( uint64_t increment)

◆ addOffsetWdpr()

void LasFile::Header::addOffsetWdpr ( uint64_t increment)

◆ dateCreated()

std::string LasFile::Header::dateCreated ( ) const

◆ hasRgb()

bool LasFile::Header::hasRgb ( ) const

Referenced by PageData::readPage().

◆ pointDataRecordLengthFormat()

size_t LasFile::Header::pointDataRecordLengthFormat ( ) const

◆ pointDataRecordLengthUser()

size_t LasFile::Header::pointDataRecordLengthUser ( ) const

◆ pointDataSize()

uint64_t LasFile::Header::pointDataSize ( ) const

◆ set()

void LasFile::Header::set ( uint64_t numberOfPoints,
const Box< double > & box,
const std::array< double, 3 > scale = {1, 1, 1},
const std::array< double, 3 > offset = {0, 0, 0},
uint8_t pointFormat = 6,
uint8_t versionMinor = 4 )

◆ setGeneratingSoftware()

void LasFile::Header::setGeneratingSoftware ( )

◆ subOffsetEvlr()

void LasFile::Header::subOffsetEvlr ( uint64_t decrement)

◆ subOffsetWdpr()

void LasFile::Header::subOffsetWdpr ( uint64_t decrement)

◆ versionHeaderSize()

size_t LasFile::Header::versionHeaderSize ( ) const

Member Data Documentation

◆ file_creation_day_of_year

uint16_t LasFile::Header::file_creation_day_of_year

◆ file_creation_year

uint16_t LasFile::Header::file_creation_year

◆ file_signature

char LasFile::Header::file_signature[4]

◆ file_source_id

uint16_t LasFile::Header::file_source_id

◆ generating_software

char LasFile::Header::generating_software[32]

◆ global_encoding

uint16_t LasFile::Header::global_encoding

◆ header_size

uint16_t LasFile::Header::header_size

◆ legacy_number_of_point_records

uint32_t LasFile::Header::legacy_number_of_point_records

Referenced by LasFile::readHeader().

◆ legacy_number_of_points_by_return

uint32_t LasFile::Header::legacy_number_of_points_by_return[5]

Referenced by LasFile::readHeader().

◆ max_x

double LasFile::Header::max_x

◆ max_y

double LasFile::Header::max_y

◆ max_z

double LasFile::Header::max_z

◆ min_x

double LasFile::Header::min_x

◆ min_y

double LasFile::Header::min_y

◆ min_z

double LasFile::Header::min_z

◆ number_of_evlr

uint32_t LasFile::Header::number_of_evlr

◆ number_of_point_records

uint64_t LasFile::Header::number_of_point_records

◆ number_of_points_by_return

uint64_t LasFile::Header::number_of_points_by_return[15]

◆ number_of_vlr

uint32_t LasFile::Header::number_of_vlr

◆ offset_to_evlr

uint64_t LasFile::Header::offset_to_evlr

◆ offset_to_point_data

◆ offset_to_wdpr

uint64_t LasFile::Header::offset_to_wdpr

◆ point_data_record_format

◆ point_data_record_length

◆ project_id_1

uint32_t LasFile::Header::project_id_1

◆ project_id_2

uint16_t LasFile::Header::project_id_2

◆ project_id_3

uint16_t LasFile::Header::project_id_3

◆ project_id_4

uint8_t LasFile::Header::project_id_4[8]

◆ system_identifier

char LasFile::Header::system_identifier[32]

◆ version_major

uint8_t LasFile::Header::version_major

◆ version_minor

uint8_t LasFile::Header::version_minor

◆ x_offset

◆ x_scale_factor

◆ y_offset

◆ y_scale_factor

◆ z_offset

◆ z_scale_factor


The documentation for this struct was generated from the following files: