28 : mPointCount( count )
44 return mStorage.data();
72 mStorage.resize( size * mAttributes.pointRecordSize() );
A collection of point cloud attributes.
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.
int pointRecordSize() const
Returns the total size of each individual point record.
QgsPointCloudBlock * clone() const
Clones the QgsPointCloudBlock returning a new copy.
QgsVector3D offset() const
Returns the custom offset of the block.
A 3D vector (similar to QVector3D) with the difference that it uses double precision instead of singl...