1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/pointcloud/qgspointcloudblock.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py 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();
QgsPointCloudBlock *clone() const /Factory/;
%Docstring
Clones the QgsPointCloudBlock returning a new copy. Caller takes
ownership of the returned object.
.. versionadded:: 3.36
%End
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 :py:func:`~QgsPointCloudBlock.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.py again *
************************************************************************/
|