mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
88 lines
2.5 KiB
Plaintext
88 lines
2.5 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
|
|
|
|
int pointRecordSize() const;
|
|
%Docstring
|
|
Returns the total size of each individual point record.
|
|
|
|
.. versionadded:: 3.26
|
|
%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
|
|
|
|
void setPointCount( int size );
|
|
%Docstring
|
|
Changes the number of points in the block.
|
|
This is used in order to remove all points after point ``size``.
|
|
If a ``size`` larger than ``pointCount``() is used, data for the new points will be uninitialized
|
|
|
|
.. versionadded:: 3.26
|
|
%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 *
|
|
************************************************************************/
|