ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ExtraLasField Struct Reference

Custom ("Extra bytes") field (EVLR) More...

Inheritance diagram for ExtraLasField:
Collaboration diagram for ExtraLasField:

Public Types

typedef QSharedPointer< ExtraLasFieldShared
 
typedef QSharedPointer< ExtraLasFieldShared
 
- Public Types inherited from LasField
typedef QSharedPointer< LasFieldShared
 Shared type. More...
 

Public Member Functions

 ExtraLasField (QString name="Undefined", ccScalarField *_sf=nullptr)
 Default constructor. More...
 
QString getName () const override
 Returns official field name. More...
 
 ExtraLasField (QString name, Id id, double defaultVal=0.0, double min=0.0, double max=-1.0)
 Default constructor. More...
 
QString getName () const override
 Returns official field name. More...
 
- Public Member Functions inherited from LasField
 LasField (LAS_FIELDS fieldType=LAS_INVALID, double defaultVal=0, double min=0.0, double max=-1.0, uint8_t _minPointFormat=0)
 Default constructor. More...
 
double getSafeValue (unsigned index) const
 

Public Attributes

QString fieldName
 
QString sanitizedName
 
bool isShifted
 
I32 startIndex
 
Id pdalId
 
double scale
 
double offset
 
- Public Attributes inherited from LasField
LAS_FIELDS type
 
ccScalarFieldsf
 
double firstValue
 
double minValue
 
double maxValue
 
double defaultValue
 
uint8_t minPointFormat
 

Additional Inherited Members

- Static Public Member Functions inherited from LasField
static bool GetLASFields (ccPointCloud *cloud, std::vector< LasField > &fieldsToSave, uint8_t &minPointFormat)
 Returns the (compliant) LAS fields in a point cloud. More...
 
static unsigned GetFormatRecordLength (uint8_t pointFormat)
 
static uint8_t VersionMinorForPointFormat (uint8_t pointFormat)
 
static uint8_t UpdateMinPointFormat (uint8_t minPointFormat, bool withRGB, bool withFWF, bool allowLegacyFormats=true)
 
static QString SanitizeString (const QString &str)
 
static QString DesanitizeString (const QString &str)
 

Detailed Description

Custom ("Extra bytes") field (EVLR)

Definition at line 44 of file LASFWFFilter.cpp.

Member Typedef Documentation

◆ Shared [1/2]

typedef QSharedPointer<ExtraLasField> ExtraLasField::Shared

Definition at line 63 of file LASFWFFilter.cpp.

◆ Shared [2/2]

typedef QSharedPointer<ExtraLasField> ExtraLasField::Shared

Definition at line 88 of file LASFilter.cpp.

Constructor & Destructor Documentation

◆ ExtraLasField() [1/2]

ExtraLasField::ExtraLasField ( QString  name = "Undefined",
ccScalarField _sf = nullptr 
)
inline

Default constructor.

Definition at line 46 of file LASFWFFilter.cpp.

References fieldName, ccScalarField::getGlobalShift(), isShifted, sanitizedName, LasField::sf, and CVLog::Warning().

◆ ExtraLasField() [2/2]

ExtraLasField::ExtraLasField ( QString  name,
Id  id,
double  defaultVal = 0.0,
double  min = 0.0,
double  max = -1.0 
)
inline

Default constructor.

Definition at line 70 of file LASFilter.cpp.

References name, and CVLog::Warning().

Member Function Documentation

◆ getName() [1/2]

QString ExtraLasField::getName ( ) const
inlineoverridevirtual

Returns official field name.

Reimplemented from LasField.

Definition at line 65 of file LASFWFFilter.cpp.

References fieldName.

◆ getName() [2/2]

QString ExtraLasField::getName ( ) const
inlineoverridevirtual

Returns official field name.

Reimplemented from LasField.

Definition at line 90 of file LASFilter.cpp.

Member Data Documentation

◆ fieldName

QString ExtraLasField::fieldName

Definition at line 67 of file LASFWFFilter.cpp.

Referenced by ExtraLasField(), and getName().

◆ isShifted

bool ExtraLasField::isShifted

Definition at line 69 of file LASFWFFilter.cpp.

Referenced by ExtraLasField(), and LASFWFFilter::loadFile().

◆ offset

double ExtraLasField::offset

Definition at line 95 of file LASFilter.cpp.

◆ pdalId

Id ExtraLasField::pdalId

Definition at line 93 of file LASFilter.cpp.

Referenced by LASFilter::loadFile().

◆ sanitizedName

QString ExtraLasField::sanitizedName

Definition at line 68 of file LASFWFFilter.cpp.

Referenced by ExtraLasField().

◆ scale

double ExtraLasField::scale

Definition at line 94 of file LASFilter.cpp.

◆ startIndex

I32 ExtraLasField::startIndex

Definition at line 70 of file LASFWFFilter.cpp.

Referenced by LASFWFFilter::loadFile().


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