QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
QgsPointCloudNode Class Reference

Keeps metadata for indexed point cloud node. More...

#include <qgspointcloudindex.h>

Public Member Functions

 QgsPointCloudNode (const QgsPointCloudNodeId &id, qint64 pointCount, const QList< QgsPointCloudNodeId > &childIds, float error, const QgsBox3D &bounds)
 Constructs new node object.
 
QgsBox3D bounds () const
 Returns node's bounding cube in CRS coords.
 
QList< QgsPointCloudNodeIdchildren () const
 Returns IDs of child nodes.
 
float error () const
 Returns node's error in map units (used to determine in whether the node has enough detail for the current view)
 
QgsPointCloudNodeId id () const
 Returns node's ID (unique in index)
 
qint64 pointCount () const
 Returns number of points contained in node data.
 

Static Public Member Functions

static QgsBox3D bounds (QgsBox3D rootBounds, QgsPointCloudNodeId id)
 Returns bounding box of specific node.
 

Detailed Description

Keeps metadata for indexed point cloud node.

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

Definition at line 157 of file qgspointcloudindex.h.

Constructor & Destructor Documentation

◆ QgsPointCloudNode()

QgsPointCloudNode::QgsPointCloudNode ( const QgsPointCloudNodeId id,
qint64  pointCount,
const QList< QgsPointCloudNodeId > &  childIds,
float  error,
const QgsBox3D bounds 
)
inline

Constructs new node object.

Should only be called by QgsPointCloudIndex::getNode(). Bounds should always be computed by QgsPointCloudNode::bounds().

Definition at line 165 of file qgspointcloudindex.h.

Member Function Documentation

◆ bounds() [1/2]

QgsBox3D QgsPointCloudNode::bounds ( ) const

Returns node's bounding cube in CRS coords.

◆ bounds() [2/2]

static QgsBox3D QgsPointCloudNode::bounds ( QgsBox3D  rootBounds,
QgsPointCloudNodeId  id 
)
static

Returns bounding box of specific node.

◆ children()

QList< QgsPointCloudNodeId > QgsPointCloudNode::children ( ) const
inline

Returns IDs of child nodes.

Definition at line 182 of file qgspointcloudindex.h.

◆ error()

float QgsPointCloudNode::error ( ) const

Returns node's error in map units (used to determine in whether the node has enough detail for the current view)

◆ id()

QgsPointCloudNodeId QgsPointCloudNode::id ( ) const
inline

Returns node's ID (unique in index)

Definition at line 178 of file qgspointcloudindex.h.

◆ pointCount()

qint64 QgsPointCloudNode::pointCount ( ) const
inline

Returns number of points contained in node data.

Definition at line 180 of file qgspointcloudindex.h.


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