QGIS/python/core/auto_generated/pointcloud/qgspointcloudblock.sip.in
2021-05-04 10:11:21 +02:00

71 lines
2.1 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/pointcloud/qgspointcloudblock.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsPointCloudBlock
{
%Docstring(signature="appended")
Base class for storing raw data from point cloud nodes
.. note::
The API is considered EXPERIMENTAL and can be changed without a notice
.. versionadded:: 3.18
%End
%TypeHeaderCode
#include "qgspointcloudblock.h"
%End
public:
QgsPointCloudBlock( int count,
const QgsPointCloudAttributeCollection &attributes,
const QByteArray &data, const QgsVector3D &scale, const QgsVector3D &offset );
%Docstring
Ctor
%End
virtual ~QgsPointCloudBlock();
const char *data() const;
%Docstring
Returns raw pointer to data
%End
int pointCount() const;
%Docstring
Returns number of points that are stored in the block
%End
QgsPointCloudAttributeCollection attributes() const;
%Docstring
Returns the attributes that are stored in the data block, along with their size
%End
QgsVector3D scale() const;
%Docstring
Returns the custom scale of the block.
%End
QgsVector3D offset() const;
%Docstring
Returns the custom offset of the block.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/pointcloud/qgspointcloudblock.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/