5 #include "geometry/aabb.h"
6 #include "geometry/gridaabb.h"
7 #include "geometry/sphere.h"
9 #include "voxelgridcmp.h"
29 void addVoxel(
Voxel* voxel);
30 void removeVoxel(
Voxel* voxel);
33 const Sphere& minimalGridSphere();
50 std::set<Voxel*, VoxelGridCmp<XAxis, YAxis, ZAxis>> m_voxelsXSorted;
51 std::set<Voxel*, VoxelGridCmp<YAxis, XAxis, ZAxis>> m_voxelsYSorted;
52 std::set<Voxel*, VoxelGridCmp<ZAxis, XAxis, YAxis>> m_voxelsZSorted;
54 void calculateMinimalGridAABB();
55 void calculateMinimalGridSphere();
61 bool m_minimalGridAABBValid;
63 Sphere m_minimalGridSphere;
64 bool m_minimalGridSphereValid;
Definition: voxelcluster.h:21
Definition: voxelclusterbounds.h:25
Definition: gridaabb.h:12