Versions Compared

Key

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

class Enlighten::GeoClusterNodeForest

Debugging output representation of a set of clustering metric hierarchies.

Functions

NameDescription
AddTree(GeoClusterNodeTree *)

Add a tree to the forest.

BuildRangeArray(ClusterRangeArray &)

Builds an array of nodes where each nodes stores the starting index and number of leaf cluster nodes that it covers.

BuildRangeArray(ClusterRangeArray &, const Geo::s32 &)

Builds an array of nodes similar to BuildRangeArray just for a single level in the tree.

FindNode(const Geo::s32 &)

Locate a node with the given linear index in the forest.

GetAncestor(Geo::s32, Geo::s32)

Find the ancestor(s) of a given node.

GetAncestors(Geo::GeoArray< Geo::s32 > &, const Geo::s32 &)

Find the ancestor(s) of a given node.

GetNumLevels()

Get the number of levels in each hierarchy in the forest.

GetNumNodes()

Get the total number of nodes in the forest.

GetNumNodes(Geo::s32)

Get the number of nodes at a given level in the forest.

GetNumTrees()

Get the number of trees in the forest.

GetTree(Geo::s32)

Get the tree with the given idx.

Load(Geo::IGeoInputStream &)

Loads object from the provided stream.

Save(Geo::IGeoStream &)

Saves object to the provided stream.


Anchor
ae917ca045cccd900aa5b27486cc757a0
ae917ca045cccd900aa5b27486cc757a0

void Enlighten::GeoClusterNodeForest::AddTree

...

public: void AddTree
(
    GeoClusterNodeTree * tree
)

...

Add a tree to the forest.


Anchor
ae225c5f41a12fd8b625251be3fe4e434
ae225c5f41a12fd8b625251be3fe4e434

bool Enlighten::GeoClusterNodeForest::BuildRangeArray

...

public: bool BuildRangeArray
(
    ClusterRangeArray & rangeArray
) const

...

Builds an array of nodes where each nodes stores the starting index and number of leaf cluster nodes that it covers.

This assumes that a given cluster is made up of a contiguous range of leaf level cluster indices. NOTE: The leaves of the tree are triangles which are ignored since the purpose is to retrieve the (sub)clusters making up a given cluster node.


Anchor
a9aa6fc2925f06acbf9a90169c4164048
a9aa6fc2925f06acbf9a90169c4164048

bool Enlighten::GeoClusterNodeForest::BuildRangeArray

...

public: bool BuildRangeArray
(
    ClusterRangeArray & rangeArray,
    const Geo::s32 & level
) const

...

Builds an array of nodes similar to BuildRangeArray just for a single level in the tree.


Anchor
a8588973e820e06f5ddaed5dfcd4bfe51
a8588973e820e06f5ddaed5dfcd4bfe51

const GeoClusterNodeTree* Enlighten::GeoClusterNodeForest::FindNode

...

public: const GeoClusterNodeTree * FindNode
(
    const Geo::s32 & linearIdx
) const

...

Locate a node with the given linear index in the forest.


Anchor
a2fe41f7698fd134da2b3f59f8370bf92
a2fe41f7698fd134da2b3f59f8370bf92

const GeoClusterNodeTree* Enlighten::GeoClusterNodeForest::GetAncestor

...

public: const GeoClusterNodeTree * GetAncestor
(
    Geo::s32 linearLeafId,
    Geo::s32 level
) const

...

Find the ancestor(s) of a given node.


Anchor
a007e645a89913f35b6bb08b3f68a9a75
a007e645a89913f35b6bb08b3f68a9a75

bool Enlighten::GeoClusterNodeForest::GetAncestors

...

public: bool GetAncestors
(
    Geo::GeoArray< Geo::s32 > & ancestors,
    const Geo::s32 & linearLeafId
) const

...

Find the ancestor(s) of a given node.


Anchor
a78f65fd6060470dd77a74832d6a111e7
a78f65fd6060470dd77a74832d6a111e7

Geo::s32 Enlighten::GeoClusterNodeForest::GetNumLevels

...

public: Geo::s32 GetNumLevels() const

...

Get the number of levels in each hierarchy in the forest.


Anchor
adc115a6ec28602e66d0d502dbccbf959
adc115a6ec28602e66d0d502dbccbf959

Geo::s32 Enlighten::GeoClusterNodeForest::GetNumNodes

...

public: Geo::s32 GetNumNodes() const

...

Get the total number of nodes in the forest.


Anchor
a17a77ee77f95d143e5ff664ad56bae00
a17a77ee77f95d143e5ff664ad56bae00

Geo::s32 Enlighten::GeoClusterNodeForest::GetNumNodes

...

public: Geo::s32 GetNumNodes
(
    Geo::s32 level
) const

...

Get the number of nodes at a given level in the forest.


Anchor
ac4d508a566d2821422453f41227f59eb
ac4d508a566d2821422453f41227f59eb

Geo::s32 Enlighten::GeoClusterNodeForest::GetNumTrees

...

public: Geo::s32 GetNumTrees() const

...

Get the number of trees in the forest.


Anchor
a70e3be47ed7a810c9566cfc1b07cf840
a70e3be47ed7a810c9566cfc1b07cf840

const GeoClusterNodeTree* Enlighten::GeoClusterNodeForest::GetTree

...

public: const GeoClusterNodeTree * GetTree
(
    Geo::s32 idx
) const

...

Get the tree with the given idx.


Anchor
a112cd82985744d01b96feaebc3c5ec28
a112cd82985744d01b96feaebc3c5ec28

static GeoClusterNodeForest* Enlighten::GeoClusterNodeForest::Load

...

public: GeoClusterNodeForest * Load
(
    Geo::IGeoInputStream & reader
)

...

Loads object from the provided stream.


Anchor
ac99c52c09f2f003b4b419f5471d82fcf
ac99c52c09f2f003b4b419f5471d82fcf

bool Enlighten::GeoClusterNodeForest::Save

...

public: bool Save
(
    Geo::IGeoStream & writer
) const

...

Saves object to the provided stream.