class Enlighten OctreeBuilder

This is the documentation for Enlighten.

class Enlighten OctreeBuilder

class Enlighten::OctreeBuilder

Builds an octree.

Functions

Name

Description

Name

Description

CalculateVoxelBox(const PrecompVoxelOctreePath)

bounding box of the voxel

CalculateVoxelBox(const PrecompVoxelId)

bounding box of the voxel

Compute(const PrecompOutputSystem *const *, const Geo::s32)

builds the octree and subdivides it, testing against geometry

GetAllNodes()

all octree nodes at all depths

GetBoundingBox()

octree bounding box

GetDepth()

octree depth

GetLeafNodes()

octree leaf nodes

GetName()

Gets the name.

GetRootNode()

octree root node

GetVoxelNode(const PrecompVoxelId)

check if voxel is a leaf node in the octree

GetVoxelSize()

voxel size of the octree

Initialise(const Geo::GeoNonAABoundingBox &, const float)

initialise the octree builder

SetName(const char *)

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