QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
Public Member Functions | Static Public Member Functions | List of all members
IndexedPointCloudNode Class Reference

Represents a indexed point cloud node in octree. More...

#include <qgspointcloudindex.h>

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Represents a indexed point cloud node in octree.

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

Definition at line 54 of file qgspointcloudindex.h.

Constructor & Destructor Documentation

◆ IndexedPointCloudNode() [1/2]

IndexedPointCloudNode::IndexedPointCloudNode ( )

Constructs invalid node.

Definition at line 30 of file qgspointcloudindex.cpp.

◆ IndexedPointCloudNode() [2/2]

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

Constructs valid node.

Definition at line 37 of file qgspointcloudindex.cpp.

Member Function Documentation

◆ d()

int IndexedPointCloudNode::d ( ) const

Returns d.

Definition at line 62 of file qgspointcloudindex.cpp.

◆ fromString()

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

Creates node from string.

Definition at line 49 of file qgspointcloudindex.cpp.

◆ isValid()

bool IndexedPointCloudNode::isValid ( ) const
inline

Returns whether node is valid.

Definition at line 63 of file qgspointcloudindex.h.

◆ operator==()

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

Compares nodes.

Definition at line 68 of file qgspointcloudindex.h.

◆ parentNode()

IndexedPointCloudNode IndexedPointCloudNode::parentNode ( ) const

Returns the parent of the node.

Since
QGIS 3.20

Definition at line 44 of file qgspointcloudindex.cpp.

◆ toString()

QString IndexedPointCloudNode::toString ( ) const

Encode node to string.

Definition at line 57 of file qgspointcloudindex.cpp.

◆ x()

int IndexedPointCloudNode::x ( ) const

Returns x.

Definition at line 67 of file qgspointcloudindex.cpp.

◆ y()

int IndexedPointCloudNode::y ( ) const

Returns y.

Definition at line 72 of file qgspointcloudindex.cpp.

◆ z()

int IndexedPointCloudNode::z ( ) const

Returns z.

Definition at line 77 of file qgspointcloudindex.cpp.


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