Inheritance Graph
graph BT
QuadTree
click QuadTree "classRendering_1_1MeshUtils_1_1QuadtreeMeshBuilder_1_1QuadTree"
Description
quad tree used to subdivide the texture into areas
Public Attributes
Public Functions
Documentation
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::NW
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:45
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::NE
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:46
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::SW
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:47
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::SE
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:48
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::WEST
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:53
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::NORTH
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:54
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::EAST
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:55
variable
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::SOUTH
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:56
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::QuadTree
|
|
|
|
|
|
QuadTree( |
uint16_t |
x, |
|
uint16_t |
y, |
|
uint16_t |
_width, |
|
uint16_t |
_height |
) |
|
|
[ctor] creates a QuadTree-root width specified x, y, width and height
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:82
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::QuadTree
|
|
|
|
|
|
QuadTree( |
QuadTree * |
parent, |
|
uint16_t |
x, |
|
uint16_t |
y, |
|
uint16_t |
_width, |
|
uint16_t |
_height |
) |
|
|
[ctor] creates a QuadTree-node with specified parent, x, y, width and height
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:85
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::~QuadTree
[dtor]
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:88
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::isLeaf
checks whether current quad-tree is leaf (has got no children)
Returns
true if current quad-tree has no children, otherwise false
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:94
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getWidth
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:96
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getHeight
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:97
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getX
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:98
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getY
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:99
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getParent
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:101
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getWestNeighbor
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:103
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getNorthNeighbor
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:104
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getEastNeighbor
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:105
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getSouthNeighbor
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:106
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getNorthWestChild
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:108
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getNorthEastChild
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:109
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getSouthWestChild
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:110
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::getSouthEastChild
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:111
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::split
simply tries to split the current node into four smaller nodes
Returns
true if splitting was successful, or false if the node has been already split
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:117
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::collectLeaves
collects all leaf-nodes from current node’s subtree
Parameters
- leaves
- : list to that all leaves will be collected
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:123
function
Rendering::MeshUtils::QuadtreeMeshBuilder::QuadTree::collectVertices
Defined in Rendering/MeshUtils/QuadtreeMeshBuilder.h:124