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

Represents a indexed point cloud node's position in octree. More...

#include <qgspointcloudindex.h>

Public Member Functions

 QgsPointCloudNodeId ()
 Constructs invalid node.
 
 QgsPointCloudNodeId (int _d, int _x, int _y, int _z)
 Constructs valid node.
 
int d () const
 Returns d.
 
bool isValid () const
 Returns whether node is valid.
 
bool operator== (QgsPointCloudNodeId other) const
 
QgsPointCloudNodeId parentNode () const
 Returns the parent of the node.
 
QString toString () const
 Encode node to string.
 
int x () const
 Returns x.
 
int y () const
 Returns y.
 
int z () const
 Returns z.
 

Static Public Member Functions

static QgsPointCloudNodeId fromString (const QString &str)
 Creates node from string.
 

Detailed Description

Represents a indexed point cloud node's position in octree.

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

Definition at line 58 of file qgspointcloudindex.h.

Constructor & Destructor Documentation

◆ QgsPointCloudNodeId() [1/2]

QgsPointCloudNodeId::QgsPointCloudNodeId ( )

Constructs invalid node.

Definition at line 34 of file qgspointcloudindex.cpp.

◆ QgsPointCloudNodeId() [2/2]

QgsPointCloudNodeId::QgsPointCloudNodeId ( int  _d,
int  _x,
int  _y,
int  _z 
)

Constructs valid node.

Definition at line 41 of file qgspointcloudindex.cpp.

Member Function Documentation

◆ d()

int QgsPointCloudNodeId::d ( ) const

Returns d.

Definition at line 66 of file qgspointcloudindex.cpp.

◆ fromString()

QgsPointCloudNodeId QgsPointCloudNodeId::fromString ( const QString &  str)
static

Creates node from string.

Definition at line 53 of file qgspointcloudindex.cpp.

◆ isValid()

bool QgsPointCloudNodeId::isValid ( ) const
inline

Returns whether node is valid.

Definition at line 67 of file qgspointcloudindex.h.

◆ operator==()

bool QgsPointCloudNodeId::operator== ( QgsPointCloudNodeId  other) const
inline

Definition at line 71 of file qgspointcloudindex.h.

◆ parentNode()

QgsPointCloudNodeId QgsPointCloudNodeId::parentNode ( ) const

Returns the parent of the node.

Since
QGIS 3.20

Definition at line 48 of file qgspointcloudindex.cpp.

◆ toString()

QString QgsPointCloudNodeId::toString ( ) const

Encode node to string.

Definition at line 61 of file qgspointcloudindex.cpp.

◆ x()

int QgsPointCloudNodeId::x ( ) const

Returns x.

Definition at line 71 of file qgspointcloudindex.cpp.

◆ y()

int QgsPointCloudNodeId::y ( ) const

Returns y.

Definition at line 76 of file qgspointcloudindex.cpp.

◆ z()

int QgsPointCloudNodeId::z ( ) const

Returns z.

Definition at line 81 of file qgspointcloudindex.cpp.


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