MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRMesh/MRAABBTreeSimd.h>

Inheritance diagram for MR::AABBTreeSimdNode:

Public Member Functions

 AABBTreeSimdNode ()=default
 AABBTreeSimdNode (NoInit) noexcept
Public Member Functions inherited from MR::AABBTreeSimdBoxes
 AABBTreeSimdBoxes ()=default
 AABBTreeSimdBoxes (NoInit) noexcept
Box3f get (int i) const
 returns i-th box
void set (int i, const Box3f &b)
 sets i-th box
void setEmpty (int i)
 makes i-th box empty
Box3f getUnion () const
 returns the union of all four boxes (as Box3f::include of them in their order)

Public Attributes

int child [4]
 i-th child: the index in simdNodes() if > 0, otherwise ~(the index of the leaf); 0 in unused slots (the root is never a child)
Public Attributes inherited from MR::AABBTreeSimdBoxes
float box [6][4]

Detailed Description

internal node of AABBTree or AABBTreePoints: the boxes of its (up to 4) children in SoA order and the references to them; lets a traversal test all children of a node at once

Constructor & Destructor Documentation

◆ AABBTreeSimdNode() [1/2]

MR::AABBTreeSimdNode::AABBTreeSimdNode ( )
default

◆ AABBTreeSimdNode() [2/2]

MR::AABBTreeSimdNode::AABBTreeSimdNode ( NoInit )
inlineexplicitnoexcept

Member Data Documentation

◆ child

int MR::AABBTreeSimdNode::child[4]

i-th child: the index in simdNodes() if > 0, otherwise ~(the index of the leaf); 0 in unused slots (the root is never a child)


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