ImageCloud
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Member Functions | Protected Member Functions | Protected Attributes | Properties
VisWpf.Clustering.KdTree.Nodes.TreeNode Class Reference

Represents a standard Tree Node. More...

Inheritance diagram for VisWpf.Clustering.KdTree.Nodes.TreeNode:
VisWpf.Clustering.KdTree.Nodes.ITreeNode VisWpf.Clustering.KdTree.Nodes.PointNode VisWpf.Clustering.KdTree.Nodes.WeightedPointNode

List of all members.

Public Member Functions

 TreeNode ()
 Tree Node basic constructor.
abstract double[] CalculateMean ()
 Computes and returns the Mean Coordinate of this node.

Protected Member Functions

void InsertPoint (ILabPoint point)
 Inserts a Point into the cell. This method propagates the insertion process to the child node, if this is no leaf node.

Protected Attributes

List< ILabPointpoints = new List<ILabPoint>()

Properties

ITreeNode LeftChild [get, set]
 Gets or sets the LeftChild node of tis node.
ITreeNode RightChild [get, set]
 Gets or sets the RightChild node of this node.
SplittingPlaneType PlaneType [get, set]
 Gets or sets the SplittingPlane Type of this node.
double[] Center [get, set]
 Gets or sets the Center coordinate of the Cell.
double[] Left [get, set]
 Gets or sets the Left coordinate of the Cell.
double[] Right [get, set]
 Gets or sets the Right coordinate of the Cell.
abstract int Weight [get]
 Returns the Weight of this node.
- Properties inherited from VisWpf.Clustering.KdTree.Nodes.ITreeNode

Detailed Description

Represents a standard Tree Node.


Constructor & Destructor Documentation

VisWpf.Clustering.KdTree.Nodes.TreeNode.TreeNode ( )

Tree Node basic constructor.


Member Function Documentation

abstract double [] VisWpf.Clustering.KdTree.Nodes.TreeNode.CalculateMean ( )
pure virtual

Computes and returns the Mean Coordinate of this node.

Returns:
The Mean or Centroid

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

Implemented in VisWpf.Clustering.KdTree.Nodes.WeightedPointNode, and VisWpf.Clustering.KdTree.Nodes.PointNode.

void VisWpf.Clustering.KdTree.Nodes.TreeNode.InsertPoint ( ILabPoint  point)
protected

Inserts a Point into the cell. This method propagates the insertion process to the child node, if this is no leaf node.

Parameters:
pointThe ILabPoint to insert

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.


Property Documentation

double [] VisWpf.Clustering.KdTree.Nodes.TreeNode.Center
getset

Gets or sets the Center coordinate of the Cell.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

double [] VisWpf.Clustering.KdTree.Nodes.TreeNode.Left
getset

Gets or sets the Left coordinate of the Cell.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

ITreeNode VisWpf.Clustering.KdTree.Nodes.TreeNode.LeftChild
getset

Gets or sets the LeftChild node of tis node.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

SplittingPlaneType VisWpf.Clustering.KdTree.Nodes.TreeNode.PlaneType
getset

Gets or sets the SplittingPlane Type of this node.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

double [] VisWpf.Clustering.KdTree.Nodes.TreeNode.Right
getset

Gets or sets the Right coordinate of the Cell.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

ITreeNode VisWpf.Clustering.KdTree.Nodes.TreeNode.RightChild
getset

Gets or sets the RightChild node of this node.

Implements VisWpf.Clustering.KdTree.Nodes.ITreeNode.

abstract int VisWpf.Clustering.KdTree.Nodes.TreeNode.Weight
get

The documentation for this class was generated from the following file: