Versions Compared

Key

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

class Enlighten::OctreeSearchResult

Result of an octree search.

Functions

NameDescription
GetIndex()

Returns the zero-based index of the node in the linear array, for visibility look-up.

GetOctant()

Returns the octant index, for visibility look-up.

GetPosition()

Returns the position within the node, specified in node-space [0, 1].

GetProbe(Geo::u32)

Returns the probe at the specified corner of the node.

GetResolution()

Returns the resolution assigned to the node.

OctreeSearchResult(const Geo::u32 *, Geo::v128, Geo::s32, Geo::s32, Geo::s32, bool)

Constructor.


Anchor
aca64d664ca30883ec0c12ba7fad8dca3
aca64d664ca30883ec0c12ba7fad8dca3

Geo::s32 Enlighten::OctreeSearchResult::GetIndex

...

public: Geo::s32 GetIndex() const

...

Returns the zero-based index of the node in the linear array, for visibility look-up.


Anchor
ac5c4d56af6901073772da63530f724f9
ac5c4d56af6901073772da63530f724f9

Geo::s32 Enlighten::OctreeSearchResult::GetOctant

...

public: Geo::s32 GetOctant() const

...

Returns the octant index, for visibility look-up.


Anchor
a0a08b2ab2bdb8bb9e135b50613b083dc
a0a08b2ab2bdb8bb9e135b50613b083dc

Geo::v128 Enlighten::OctreeSearchResult::GetPosition

...

public: Geo::v128 GetPosition() const

...

Returns the position within the node, specified in node-space [0, 1].


Anchor
ac63c92c31d8f989f42de1b925debc956
ac63c92c31d8f989f42de1b925debc956

Geo::u32 Enlighten::OctreeSearchResult::GetProbe

...

public: Geo::u32 GetProbe
(
    Geo::u32 i
) const

...

Returns the probe at the specified corner of the node.


Anchor
ab56605f1fbc8009166e264477fb07a69
ab56605f1fbc8009166e264477fb07a69

Geo::s32 Enlighten::OctreeSearchResult::GetResolution

...

public: Geo::s32 GetResolution() const

...

Returns the resolution assigned to the node.


Anchor
abbccb0bb47cf6ffaad024196dea8df95
abbccb0bb47cf6ffaad024196dea8df95

Enlighten::OctreeSearchResult::OctreeSearchResult

...

public: OctreeSearchResult
(
    const Geo::u32 * probes,
    Geo::v128 position,
    Geo::s32 index,
    Geo::s32 octant,
    Geo::s32 resolution,
    bool isRoot
)

...

Constructor.