#include <MeshOctree.hpp>
|
long | buildTree (BOct *oct, std::vector< size_t > &hashes, std::vector< BaseVecT > ¢roids, const BoundingBox< BaseVecT > &bbox) |
|
void | getBBoxes (const BoundingBox< BaseVecT > &bbox, BoundingBox< BaseVecT > *boxes) |
|
template<typename T > |
T * | getChildPtr (BOct *parent) |
|
void | getHashes (BOct *oct, std::vector< BaseVecT > &indices, std::vector< size_t > &hashes) |
|
unsigned char | getIndex (const BaseVecT &point, const BoundingBox< BaseVecT > &bbox) |
|
void | intersect (ChunkLeaf *leaf, const BoundingBox< BaseVecT > &bbox, double planes[24], std::vector< BaseVecT > &indices, std::vector< size_t > &hashes) |
|
void | intersect (BOct *oct, const BoundingBox< BaseVecT > &bbox, double planes[24], std::vector< BaseVecT > &indices, std::vector< size_t > &hashes) |
|
template<typename T > |
void | link (BOct *parent, T *child) |
|
template<typename BaseVecT>
class lvr2::MeshOctree< BaseVecT >
Definition at line 34 of file MeshOctree.hpp.
◆ MeshOctree()
template<typename BaseVecT >
◆ ~MeshOctree()
template<typename BaseVecT >
◆ buildTree()
template<typename BaseVecT >
long lvr2::MeshOctree< BaseVecT >::buildTree |
( |
BOct * |
oct, |
|
|
std::vector< size_t > & |
hashes, |
|
|
std::vector< BaseVecT > & |
centroids, |
|
|
const BoundingBox< BaseVecT > & |
bbox |
|
) |
| |
|
private |
◆ genDisplayLists()
template<typename BaseVecT >
◆ getBBoxes()
template<typename BaseVecT >
◆ getChildPtr()
template<typename BaseVecT >
template<typename T >
◆ getHashes()
template<typename BaseVecT >
void lvr2::MeshOctree< BaseVecT >::getHashes |
( |
BOct * |
oct, |
|
|
std::vector< BaseVecT > & |
indices, |
|
|
std::vector< size_t > & |
hashes |
|
) |
| |
|
private |
◆ getIndex()
template<typename BaseVecT >
◆ intersect() [1/3]
template<typename BaseVecT >
void lvr2::MeshOctree< BaseVecT >::intersect |
( |
double |
planes[24], |
|
|
std::vector< BaseVecT > & |
indices, |
|
|
std::vector< size_t > & |
hashes |
|
) |
| |
◆ intersect() [2/3]
template<typename BaseVecT >
void lvr2::MeshOctree< BaseVecT >::intersect |
( |
ChunkLeaf * |
leaf, |
|
|
const BoundingBox< BaseVecT > & |
bbox, |
|
|
double |
planes[24], |
|
|
std::vector< BaseVecT > & |
indices, |
|
|
std::vector< size_t > & |
hashes |
|
) |
| |
|
private |
◆ intersect() [3/3]
template<typename BaseVecT >
void lvr2::MeshOctree< BaseVecT >::intersect |
( |
BOct * |
oct, |
|
|
const BoundingBox< BaseVecT > & |
bbox, |
|
|
double |
planes[24], |
|
|
std::vector< BaseVecT > & |
indices, |
|
|
std::vector< size_t > & |
hashes |
|
) |
| |
|
private |
◆ link()
template<typename BaseVecT >
template<typename T >
◆ setLOD()
template<typename BaseVecT >
◆ m_bbox
template<typename BaseVecT >
◆ m_lod
template<typename BaseVecT >
◆ m_mem
template<typename BaseVecT >
◆ m_root
template<typename BaseVecT >
◆ m_voxelSize
template<typename BaseVecT >
◆ numLeafs
template<typename BaseVecT >
The documentation for this class was generated from the following file: