Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
VoxelClusterBounds Class Reference
Collaboration diagram for VoxelClusterBounds:
[legend]

Public Member Functions

 VoxelClusterBounds (VoxelCluster *voxelCluster)
 
void addVoxel (Voxel *voxel)
 
void removeVoxel (Voxel *voxel)
 
const GridAABBminimalGridAABB ()
 
const SphereminimalGridSphere ()
 
const IAABBaabb ()
 
IAABB aabb (const Transform &transform)
 
const Spheresphere ()
 
Sphere sphere (const Transform &transform)
 

Protected Member Functions

void calculateMinimalGridAABB ()
 
void calculateMinimalGridSphere ()
 
const IAABB calculateAABB (const Transform &transform)
 

Protected Attributes

VoxelClusterm_voxelCluster
 
std::set< Voxel
*, VoxelGridCmp< XAxis, YAxis,
ZAxis > > 
m_voxelsXSorted
 
std::set< Voxel
*, VoxelGridCmp< YAxis, XAxis,
ZAxis > > 
m_voxelsYSorted
 
std::set< Voxel
*, VoxelGridCmp< ZAxis, XAxis,
YAxis > > 
m_voxelsZSorted
 

The documentation for this class was generated from the following files: