Go to the documentation of this file. 1 #ifndef CHUNKED_MESH_OCTREE
2 #define CHUNKED_MESH_OCTREE
33 template <
typename BaseVecT>
40 void intersect(
double planes[24], std::vector<BaseVecT>& indices, std::vector<size_t>& hashes);
84 void getHashes(
BOct* oct, std::vector<BaseVecT>& indices, std::vector<size_t>& hashes);
99 #include "lvr2/display/MeshOctree.tcc"
std::vector< BaseVector< float > > m_centroids
void getHashes(BOct *oct, std::vector< BaseVecT > &indices, std::vector< size_t > &hashes)
void link(BOct *parent, T *child)
void intersect(double planes[24], std::vector< BaseVecT > &indices, std::vector< size_t > &hashes)
void getBBoxes(const BoundingBox< BaseVecT > &bbox, BoundingBox< BaseVecT > *boxes)
A dynamic bounding box class.
std::vector< size_t > m_hashes
T * getChildPtr(BOct *parent)
unsigned char getIndex(const BaseVecT &point, const BoundingBox< BaseVecT > &bbox)
MeshOctree(float voxelSize, std::vector< size_t > &hashes, std::vector< BaseVecT > ¢roids, BoundingBox< BaseVecT > &bb)
void setLOD(unsigned char lod)
BoundingBox< BaseVecT > m_bbox
long buildTree(BOct *oct, std::vector< size_t > &hashes, std::vector< BaseVecT > ¢roids, const BoundingBox< BaseVecT > &bbox)
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:24