Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::PrecompVoxelOctreeVolume

    └>Enlighten::PrecompVoxelOctree

A volume voxel in an octree.

Variables

NameDescription
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.

Functions

NameDescription
GetBoundingBox()

Gets the bounding box.

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.

GetVoxelOrigin()

Return the offset in voxels from the world origin to the octree origin.

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.

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.


Anchor
aee43cb5d72860de6b6c5c2434110f3f3
aee43cb5d72860de6b6c5c2434110f3f3

Geo::GeoNonAABoundingBox Enlighten::PrecompVoxelOctreeVolume::GetBoundingBox

...

public: Geo::GeoNonAABoundingBox GetBoundingBox() const

...

Gets the bounding box.


Anchor
ae6c94ade8951404bf53feabf98aa9b01
ae6c94ade8951404bf53feabf98aa9b01

PrecompVoxelId Enlighten::PrecompVoxelOctree::GetVoxel

...

public: PrecompVoxelId GetVoxel
(
    const PrecompVoxelOctreePath & path
) const

...

Gets the voxel at the given path.


Anchor
a8e0354c0e0cbc9338e8ed975609c2412
a8e0354c0e0cbc9338e8ed975609c2412

PrecompVoxelId Enlighten::PrecompVoxelOctree::GetVoxel

...

public: PrecompVoxelId GetVoxel
(
    const PrecompVoxelOctreePath & path,
    const Geo::u32 octant
) const

...

Gets the voxel at the given path and octant.


Anchor
aeccaa1185dbda6cb8f9d811f49a25785
aeccaa1185dbda6cb8f9d811f49a25785

Geo::GeoPoint3D Enlighten::PrecompVoxelOctreeVolume::GetVoxelOrigin

...

public: Geo::GeoPoint3D GetVoxelOrigin() const

...

Return the offset in voxels from the world origin to the octree origin.


Anchor
aa48f52c631f9fc9113a9d194a1332587
aa48f52c631f9fc9113a9d194a1332587

Geo::v128 Enlighten::PrecompVoxelOctreeVolume::GetVoxelPosition

...

public: Geo::v128 GetVoxelPosition
(
    const PrecompVoxelId & voxel
) const

...

Gets the position of the given voxel.


Anchor
adde1753fc36f347026b9d30834d67032
adde1753fc36f347026b9d30834d67032

Geo::v128 Enlighten::PrecompVoxelOctreeVolume::GetVoxelPosition

...

public: Geo::v128 GetVoxelPosition
(
    const PrecompVoxelOctreePath & path,
    const Geo::u32 octant
) const

...

Gets the position of the given voxel.


Anchor
a769ac614f8b28909e8d78a87afae3f9f
a769ac614f8b28909e8d78a87afae3f9f

Geo::v128 Enlighten::PrecompVoxelOctreeVolume::GetVoxelSize

...

public: Geo::v128 GetVoxelSize
(
    const PrecompVoxelOctreePath & path,
    const Geo::u32 octant
) const

...

Gets the size of the given voxel.


Anchor
ab176253170e6b9f1da9f02cda764c16c
ab176253170e6b9f1da9f02cda764c16c

Enlighten::PrecompVoxelOctree::PrecompVoxelOctree

...

public: PrecompVoxelOctree
(
    const Geo::u32 voxelDepth
)

...

Constructor.


Anchor
aec05ff97c9dc99d2fa6206c9f769ff33
aec05ff97c9dc99d2fa6206c9f769ff33

Enlighten::PrecompVoxelOctreeVolume::PrecompVoxelOctreeVolume

...

public: PrecompVoxelOctreeVolume
(
    const Geo::u32 voxelDepth,
    const Geo::v128 origin,
    const float voxelSize
)

...

Constructor.


Anchor
a53b59b91bc5466b0dc3b2d83b70b515c
a53b59b91bc5466b0dc3b2d83b70b515c

Enlighten::PrecompVoxelOctreeVolume::PrecompVoxelOctreeVolume

...

public: PrecompVoxelOctreeVolume
(
    const Geo::u32 voxelDepth,
    const Geo::v128 origin,
    const Geo::v128 basis,
    const float voxelSize
)

...

Constructor.