QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
28 : mPointCount( count )
29 , mAttributes( attributes )
30 , mRecordSize( mAttributes.pointRecordSize() )
39 return mStorage.data();
QgsPointCloudBlock(int count, const QgsPointCloudAttributeCollection &attributes, const QByteArray &data, const QgsVector3D &scale, const QgsVector3D &offset)
Ctor.
const char * data() const
Returns raw pointer to data.
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
QgsPointCloudAttributeCollection attributes() const
Returns the attributes that are stored in the data block, along with their size.
void setPointCount(int size)
Changes the number of points in the block.
int pointCount() const
Returns number of points that are stored in the block.
int pointRecordSize() const
Returns total size of record.
Collection of point cloud attributes.
QgsVector3D offset() const
Returns the custom offset of the block.
QgsVector3D scale() const
Returns the custom scale of the block.