102 inline uint32_t _pow2roundup(uint32_t x)
114 uint32_t _volumeSize;
115 uint32_t _octreeSize;
The PointOctreeNode class implement a spherical node of the Octree acceleration structure used by the...
The PointOctree class implements the PointOctree acceleration structure used by the FieldsRenderer cl...
const floats & getFlatData() const
Get a flattened representation of the PointOctree data (node values)
uint32_t getOctreeDepth() const
Get the depth of the PointOctree.
uint32_t getVolumeSize() const
Get the size of the volume.
const Vector3ui & getVolumeDimensions() const
Get the volume dimentions defined by the scene and the voxel sizes.
const uint32_ts & getFlatIndices() const
Get a flattened representation of the PointOctree indices.
uint32_t getOctreeSize() const
Get the size of the PointOctree.
~PointOctree()
Destroy the PointOctree object.
PointOctree(const OctreePoints &points, double voxelSize, const Vector3f &minAABB, const Vector3f &maxAABB)
Construct a new PointOctree object.
glm::vec< 3, uint32_t > Vector3ui
std::vector< OctreePoint > OctreePoints