28 : mPointCount( count )
29 , mAttributes( attributes )
30 , mRecordSize( mAttributes.pointRecordSize() )
39 return mStorage.data();
Collection of point cloud attributes.
int pointRecordSize() const
Returns total size of record.
QgsPointCloudBlock(int count, const QgsPointCloudAttributeCollection &attributes, const QByteArray &data, const QgsVector3D &scale, const QgsVector3D &offset)
Ctor.
void setPointCount(int size)
Changes the number of points in the block.
QgsVector3D scale() const
Returns the custom scale of the block.
const char * data() const
Returns raw pointer to data.
QgsPointCloudAttributeCollection attributes() const
Returns the attributes that are stored in the data block, along with their size.
int pointCount() const
Returns number of points that are stored in the block.
QgsVector3D offset() const
Returns the custom offset of the block.