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

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

Inheritance diagram for ExtraLasField:
[legend]
Collaboration diagram for ExtraLasField:
[legend]

Public Types

typedef QSharedPointer< ExtraLasField > Shared
 
typedef QSharedPointer< ExtraLasField > Shared
 
- Public Types inherited from LasField
typedef QSharedPointer< LasField > Shared
 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
 
ccScalarField * sf
 
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)

Member Typedef Documentation

◆ Shared [1/2]

typedef QSharedPointer<ExtraLasField> ExtraLasField::Shared

◆ Shared [2/2]

typedef QSharedPointer<ExtraLasField> ExtraLasField::Shared

Constructor & Destructor Documentation

◆ ExtraLasField() [1/2]

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

◆ ExtraLasField() [2/2]

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

Default constructor.

References name, and CVLog::Warning().

Member Function Documentation

◆ getName() [1/2]

QString ExtraLasField::getName ( ) const
inlineoverridevirtual

Returns official field name.

Reimplemented from LasField.

References fieldName.

◆ getName() [2/2]

QString ExtraLasField::getName ( ) const
inlineoverridevirtual

Returns official field name.

Reimplemented from LasField.

Member Data Documentation

◆ fieldName

QString ExtraLasField::fieldName

Referenced by ExtraLasField(), and getName().

◆ isShifted

bool ExtraLasField::isShifted

◆ offset

double ExtraLasField::offset

◆ pdalId

Id ExtraLasField::pdalId

Referenced by LASFilter::loadFile().

◆ sanitizedName

QString ExtraLasField::sanitizedName

Referenced by ExtraLasField().

◆ scale

double ExtraLasField::scale

◆ startIndex

I32 ExtraLasField::startIndex

Referenced by LASFWFFilter::loadFile().


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