![]() |
Blue Brain BioExplorer
|
The PointOctree class implements the PointOctree acceleration structure used by the FieldsRenderer class to render magnetic fields. More...
#include <PointOctree.h>
Public Member Functions | |
PointOctree (const OctreePoints &points, double voxelSize, const Vector3f &minAABB, const Vector3f &maxAABB) | |
Construct a new PointOctree object. More... | |
~PointOctree () | |
Destroy the PointOctree object. More... | |
const Vector3ui & | getVolumeDimensions () const |
Get the volume dimentions defined by the scene and the voxel sizes. More... | |
uint32_t | getVolumeSize () const |
Get the size of the volume. More... | |
uint32_t | getOctreeSize () const |
Get the size of the PointOctree. More... | |
uint32_t | getOctreeDepth () const |
Get the depth of the PointOctree. More... | |
const uint32_ts & | getFlatIndices () const |
Get a flattened representation of the PointOctree indices. More... | |
const floats & | getFlatData () const |
Get a flattened representation of the PointOctree data (node values) More... | |
The PointOctree class implements the PointOctree acceleration structure used by the FieldsRenderer class to render magnetic fields.
Definition at line 37 of file PointOctree.h.
core::PointOctree::PointOctree | ( | const OctreePoints & | points, |
double | voxelSize, | ||
const Vector3f & | minAABB, | ||
const Vector3f & | maxAABB | ||
) |
Construct a new PointOctree object.
points | Points used to build the tree. Points contain x, y, z coordinates, as well as a radius, and a value |
voxelSize | Voxel size |
minAABB | Lower bound of the scene bounding box |
maxAABB | Upper bound of the scene bounding box |
Definition at line 33 of file PointOctree.cpp.
core::PointOctree::~PointOctree | ( | ) |
Destroy the PointOctree object.
Definition at line 145 of file PointOctree.cpp.
|
inline |
Get a flattened representation of the PointOctree data (node values)
Definition at line 97 of file PointOctree.h.
|
inline |
Get a flattened representation of the PointOctree indices.
Definition at line 90 of file PointOctree.h.
|
inline |
Get the depth of the PointOctree.
Definition at line 83 of file PointOctree.h.
|
inline |
Get the size of the PointOctree.
Definition at line 76 of file PointOctree.h.
|
inline |
Get the volume dimentions defined by the scene and the voxel sizes.
Definition at line 62 of file PointOctree.h.
|
inline |
Get the size of the volume.
Definition at line 69 of file PointOctree.h.