QGIS API Documentation 3.39.0-Master (be2050b798e)
No Matches
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.
 IndexedPointCloudNode (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== (IndexedPointCloudNode other) const
 Compares nodes.
IndexedPointCloudNode 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 IndexedPointCloudNode fromString (const QString &str)
 Creates node from string.

Detailed Description

Represents a indexed point cloud node in octree.

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

Definition at line 58 of file qgspointcloudindex.h.

Constructor & Destructor Documentation

◆ IndexedPointCloudNode() [1/2]

IndexedPointCloudNode::IndexedPointCloudNode ( )

Constructs invalid node.

Definition at line 32 of file qgspointcloudindex.cpp.

◆ IndexedPointCloudNode() [2/2]

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

Constructs valid node.

Definition at line 39 of file qgspointcloudindex.cpp.

Member Function Documentation

◆ d()

int IndexedPointCloudNode::d ( ) const

Returns d.

Definition at line 64 of file qgspointcloudindex.cpp.

◆ fromString()

IndexedPointCloudNode IndexedPointCloudNode::fromString ( const QString &  str)

Creates node from string.

Definition at line 51 of file qgspointcloudindex.cpp.

◆ isValid()

bool IndexedPointCloudNode::isValid ( ) const

Returns whether node is valid.

Definition at line 67 of file qgspointcloudindex.h.

◆ operator==()

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

Compares nodes.

Definition at line 72 of file qgspointcloudindex.h.

◆ parentNode()

IndexedPointCloudNode IndexedPointCloudNode::parentNode ( ) const

Returns the parent of the node.

QGIS 3.20

Definition at line 46 of file qgspointcloudindex.cpp.

◆ toString()

QString IndexedPointCloudNode::toString ( ) const

Encode node to string.

Definition at line 59 of file qgspointcloudindex.cpp.

◆ x()

int IndexedPointCloudNode::x ( ) const

Returns x.

Definition at line 69 of file qgspointcloudindex.cpp.

◆ y()

int IndexedPointCloudNode::y ( ) const

Returns y.

Definition at line 74 of file qgspointcloudindex.cpp.

◆ z()

int IndexedPointCloudNode::z ( ) const

Returns z.

Definition at line 79 of file qgspointcloudindex.cpp.

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