The Node type exposes the following members.

Constructors

  Name Description
Node Overloaded.

Methods

  Name Description
AddChildEdge
Add child edge
AddChildNode
Add child node (called if this node is the root, child node is start of binary subtree)
Dispose
Release all resources
Draw
Draw node elements (NodePointer + NodeLabel)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetPositionNorm
Get normal position
GetPositionTrans
Get current translated position
GetPostSlope
Get post slope
GetPreSlope
Get pre slope
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetWeight
Get current weight
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnCreateDevice
Needs to be called when device is created
OnDestroyDevice
Needs to be called when device is destroyed
OnLostDevice
Needs to be called when device is lost
OnResetDevice
Needs to be called when device is reset
PrepareDrawing
Prepare node for drawing
RefreshEnvironment
Refresh all attached edges an nodes (needs to be called each time a translation happened)
SetParentEdge
Set parent edge
SetParentNode
Set parent node
SetPosition
Set new position by vector
SetPostSlope
Set post slope
SetPreSlope
Set pre slope
SetSelected
Set this node to selected state (got hit by mouse)
SetWeight
Set new weight
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Translate
Set new position by translation matrix

Fields

  Name Description
childNodes
In case node is root, childNodes contains all trees attached to the root
Count
Static count of created nodes
desc
Node's description / name
Info
Contains all infos about node
isLeaf
Node is leaf
isRoot
Node is root
SelectedColorRaise
Static color a node turns into when selected
Translation
Current translation matrix
weight
Node's weight
X
X coordinate
Y
Y coordinate
Z
Z coordinate

See Also