9 #include "imstkDebugGeometryModel.h" 25 m_looseOctree(
nullptr),
27 m_drawNonEmptyParents(
true) { }
35 void debugUpdate(
int maxDisplayDepth,
bool drawNonEmptyParents =
true);
37 void setInputOctree(std::shared_ptr<LooseOctree> octree) { m_looseOctree = octree; }
47 std::shared_ptr<LooseOctree> m_looseOctree;
50 bool m_drawNonEmptyParents;
Class for quickly rendering and showing various primivites such as line segments, triangles...
int m_maxDisplayDepth
Maximum level of nodes that will be rendered during debug rendering.
void debugUpdate(int maxDisplayDepth, bool drawNonEmptyParents=true)
Update the geometry.
bool updateGeom(OctreeNode *node)
Recursively update debug geometry by adding lines drawing bounding boxes of the active nodes...
OctreeDebugModel for debug visualizing an octree.