ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
LasDetails.cpp File Reference
#include "LasDetails.h"
#include "LasScalarField.h"
#include <laszip/laszip_api.h>
#include <CVLog.h>
#include <ecvPointCloud.h>
#include <ecvScalarField.h>
#include <QDataStream>
#include <cstring>
#include <stdexcept>
Include dependency graph for LasDetails.cpp:

Go to the source code of this file.

Namespaces

 LasDetails
 

Functions

QDataStream & LasDetails::operator>> (QDataStream &stream, EvlrHeader &hdr)
 
QDataStream & LasDetails::operator<< (QDataStream &stream, const EvlrHeader &hdr)
 
uint16_t LasDetails::PointFormatSize (unsigned pointFormat)
 
uint16_t LasDetails::HeaderSize (unsigned versionMinor)
 Returns the header size for the given minor version of the standard used. More...
 
bool LasDetails::IsLaszipVlr (const laszip_vlr_struct &)
 Returns whether the vlr is the vlr for/of LASzip compression. More...
 
bool LasDetails::IsExtraBytesVlr (const laszip_vlr_struct &)
 Returns whether the vlr describes extra bytes. More...
 
unsigned LasDetails::SizeOfVlrs (const laszip_vlr_struct *vlrs, unsigned numVlrs)
 
const std::vector< unsigned > * LasDetails::PointFormatsAvailableForVersion (QString version)
 
const std::array< const char *, 3 > & LasDetails::AvailableVersions ()
 
LasVersion LasDetails::SelectBestVersion (const ccPointCloud &cloud)
 
void LasDetails::CloneVlrInto (const laszip_vlr_struct &src, laszip_vlr_struct &dst)
 Clones the content of the src vlr into the dst vlr. More...
 

Variables

static const std::vector< unsigned > PointFormatForV1_2 = {0, 1, 2, 3}
 
static const std::vector< unsigned > PointFormatForV1_3 = {0, 1, 2, 3, 4, 5}
 
static const std::vector< unsigned > PointFormatForV1_4 = {6, 7, 8, 9, 10}
 
static const std::array< const char *, 3 > VersionsArray = {"1.2", "1.3", "1.4"}
 

Variable Documentation

◆ PointFormatForV1_2

const std::vector<unsigned> PointFormatForV1_2 = {0, 1, 2, 3}
static

Definition at line 28 of file LasDetails.cpp.

Referenced by LasDetails::PointFormatsAvailableForVersion().

◆ PointFormatForV1_3

const std::vector<unsigned> PointFormatForV1_3 = {0, 1, 2, 3, 4, 5}
static

Definition at line 29 of file LasDetails.cpp.

Referenced by LasDetails::PointFormatsAvailableForVersion().

◆ PointFormatForV1_4

const std::vector<unsigned> PointFormatForV1_4 = {6, 7, 8, 9, 10}
static

Definition at line 30 of file LasDetails.cpp.

Referenced by LasDetails::PointFormatsAvailableForVersion().

◆ VersionsArray

const std::array<const char*, 3> VersionsArray = {"1.2", "1.3", "1.4"}
static

Definition at line 31 of file LasDetails.cpp.

Referenced by LasDetails::AvailableVersions().