This is the documentation for Enlighten.
class Enlighten OctreeBuilder
class Enlighten::OctreeBuilder
Builds an octree.
Functions
Name | Description |
|---|---|
bounding box of the voxel | |
bounding box of the voxel | |
builds the octree and subdivides it, testing against geometry | |
all octree nodes at all depths | |
octree bounding box | |
octree depth | |
octree leaf nodes | |
Gets the name. | |
octree root node | |
check if voxel is a leaf node in the octree | |
voxel size of the octree | |
initialise the octree builder | |
Sets the name. |
Geo::GeoNonAABoundingBox Enlighten::OctreeBuilder::CalculateVoxelBox
public: Geo::GeoNonAABoundingBox CalculateVoxelBox
(
const PrecompVoxelOctreePath path
) const
bounding box of the voxel
Geo::GeoNonAABoundingBox Enlighten::OctreeBuilder::CalculateVoxelBox
public: Geo::GeoNonAABoundingBox CalculateVoxelBox
(
const PrecompVoxelId voxelId
) const
bounding box of the voxel
bool Enlighten::OctreeBuilder::Compute
public: bool Compute
(
const PrecompOutputSystem *const * systems,
const Geo::s32 numSystems
)
builds the octree and subdivides it, testing against geometry