QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Public Member Functions | List of all members
QgsPointCloudBlock Class Reference

Base class for storing raw data from point cloud nodes. More...

#include <qgspointcloudblock.h>

Public Member Functions

 QgsPointCloudBlock (int count, const QgsPointCloudAttributeCollection &attributes, const QByteArray &data, const QgsVector3D &scale, const QgsVector3D &offset)
 Ctor. More...
 
virtual ~QgsPointCloudBlock ()=default
 Dtor. More...
 
QgsPointCloudAttributeCollection attributes () const
 Returns the attributes that are stored in the data block, along with their size. More...
 
const char * data () const
 Returns raw pointer to data. More...
 
QgsVector3D offset () const
 Returns the custom offset of the block. More...
 
int pointCount () const
 Returns number of points that are stored in the block. More...
 
QgsVector3D scale () const
 Returns the custom scale of the block. More...
 

Detailed Description

Base class for storing raw data from point cloud nodes.

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.18

Definition at line 38 of file qgspointcloudblock.h.

Constructor & Destructor Documentation

◆ QgsPointCloudBlock()

QgsPointCloudBlock::QgsPointCloudBlock ( int  count,
const QgsPointCloudAttributeCollection attributes,
const QByteArray &  data,
const QgsVector3D scale,
const QgsVector3D offset 
)

Ctor.

Definition at line 23 of file qgspointcloudblock.cpp.

◆ ~QgsPointCloudBlock()

virtual QgsPointCloudBlock::~QgsPointCloudBlock ( )
virtualdefault

Dtor.

Member Function Documentation

◆ attributes()

QgsPointCloudAttributeCollection QgsPointCloudBlock::attributes ( ) const

Returns the attributes that are stored in the data block, along with their size.

Definition at line 46 of file qgspointcloudblock.cpp.

◆ data()

const char * QgsPointCloudBlock::data ( ) const

Returns raw pointer to data.

Definition at line 36 of file qgspointcloudblock.cpp.

◆ offset()

QgsVector3D QgsPointCloudBlock::offset ( ) const

Returns the custom offset of the block.

Definition at line 56 of file qgspointcloudblock.cpp.

◆ pointCount()

int QgsPointCloudBlock::pointCount ( ) const

Returns number of points that are stored in the block.

Definition at line 41 of file qgspointcloudblock.cpp.

◆ scale()

QgsVector3D QgsPointCloudBlock::scale ( ) const

Returns the custom scale of the block.

Definition at line 51 of file qgspointcloudblock.cpp.


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