Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
bitunion< T > Union Template Reference

#include <Boctree.h>

Public Member Functions

 bitunion ()
 
 bitunion (bitoct b)
 
 bitunion (pointrep *p)
 
bool childIsLeaf (unsigned char index)
 
bitunion< T > * getChild (unsigned char index) const
 
unsigned int getLength () const
 Leaf node: length in the array. More...
 
pointrepgetPointreps () const
 Leaf node: all points. More...
 
T * getPoints () const
 Leaf node: points in the array. More...
 
bool isValid (unsigned char index)
 

Static Public Member Functions

static void link (bitunion< T > *leaf, pointrep *points)
 Leaf node: links a pointrep array [length+values] to this union, saved as an offset pointer. More...
 

Public Attributes

bitoct node
 
pointreppoints
 

Detailed Description

template<class T>
union bitunion< T >

This union combines an octree node with a pointer to a set of points. This allows us to use both nodes and leaves interchangeably.

points is a pointer to the point representation in use

node is simply the octree node

Definition at line 46 of file Boctree.h.

Constructor & Destructor Documentation

◆ bitunion() [1/3]

template<class T >
bitunion< T >::bitunion ( pointrep p)
inline

Definition at line 137 of file Boctree.h.

◆ bitunion() [2/3]

template<class T >
bitunion< T >::bitunion ( bitoct  b)
inline

Definition at line 138 of file Boctree.h.

◆ bitunion() [3/3]

template<class T >
bitunion< T >::bitunion ( )
inline

Definition at line 139 of file Boctree.h.

Member Function Documentation

◆ childIsLeaf()

template<class T >
bool bitunion< T >::childIsLeaf ( unsigned char  index)
inline

Definition at line 193 of file Boctree.h.

◆ getChild()

template<class T >
bitunion<T>* bitunion< T >::getChild ( unsigned char  index) const
inline

Definition at line 174 of file Boctree.h.

◆ getLength()

template<class T >
unsigned int bitunion< T >::getLength ( ) const
inline

Leaf node: length in the array.

Definition at line 162 of file Boctree.h.

◆ getPointreps()

template<class T >
pointrep* bitunion< T >::getPointreps ( ) const
inline

Leaf node: all points.

Definition at line 170 of file Boctree.h.

◆ getPoints()

template<class T >
T* bitunion< T >::getPoints ( ) const
inline

Leaf node: points in the array.

Definition at line 152 of file Boctree.h.

◆ isValid()

template<class T >
bool bitunion< T >::isValid ( unsigned char  index)
inline

Definition at line 184 of file Boctree.h.

◆ link()

template<class T >
static void bitunion< T >::link ( bitunion< T > *  leaf,
pointrep points 
)
inlinestatic

Leaf node: links a pointrep array [length+values] to this union, saved as an offset pointer.

Definition at line 146 of file Boctree.h.

Member Data Documentation

◆ node

template<class T >
bitoct bitunion< T >::node

Definition at line 135 of file Boctree.h.

◆ points

template<class T >
pointrep* bitunion< T >::points

Definition at line 133 of file Boctree.h.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26