class Enlighten OutputOctreeBuilder

This is the documentation for Enlighten.

class Enlighten OutputOctreeBuilder

class Enlighten::OutputOctreeBuilder

    └>Enlighten::PrecompVoxelOctreeVolume
        └>Enlighten::PrecompVoxelOctree

Output octree builder.

Functions

Name

Description

BuildOctree(const Geo::GeoFileString &, Geo::GeoArray< PrecompOctreeNode > &, const SerialisedOctreeVolume &)

Builds the output octree.

GetBoundingBox()

Gets the bounding box.

GetSubtreeOffset(const PrecompVoxelOctreePath &, Geo::u32, float)

Gets the offset of the origin of a subtree relative to the entire octree.

GetVoxel(const PrecompVoxelOctreePath &)

Gets the voxel at the given path.

GetVoxel(const PrecompVoxelOctreePath &, const Geo::u32)

Gets the voxel at the given path and octant.

GetVoxelPosition(const PrecompVoxelId &)

Gets the position of the given voxel.

GetVoxelPosition(const PrecompVoxelOctreePath &, const Geo::u32)

Gets the position of the given voxel.

GetVoxelSize(const PrecompVoxelOctreePath &, const Geo::u32)

Gets the size of the given voxel.

operator=(const OutputOctreeBuilder &)

not assignable

OutputOctreeBuilder(const PrecompVoxelOctreeVolume &, Geo::u32, float, const PrecompSystemGeometry *const *, Geo::s32, RayTraceContextWithMaterials *)

Constructor.

PrecompVoxelOctree(const Geo::u32)

Constructor.

PrecompVoxelOctreeVolume(const Geo::u32, const Geo::v128, const float)

Constructor.

PrecompVoxelOctreeVolume(const Geo::u32, const Geo::v128, const Geo::v128, const float)

Constructor.

Variables

Name

Description

Geo::v128 m_Basis[3]

Basis vectors of this volume.

Geo::v128 m_Origin

Origin of this volume.

Geo::u32 m_VoxelDepth

Depth of the voxel.

float m_VoxelSize

Size of this voxel.

Geo::Matrix m_VoxelToWorld

Matrix transform from voxel space to world space.

Geo::Matrix m_WorldToVoxel

Matrix transform from world space to voxel space.

 

void Enlighten::OutputOctreeBuilder::BuildOctree


public: void BuildOctree
(
    const Geo::GeoFileString & name,
    Geo::GeoArray< PrecompOctreeNode > & serialised,
    const SerialisedOctreeVolume & octree
)


Builds the output octree.

 

Geo::GeoNonAABoundingBox Enlighten::PrecompVoxelOctreeVolume::GetBoundingBox


public: Geo::GeoNonAABoundingBox GetBoundingBox() const


Gets the bounding box.