Class VOIManager.TreeNode
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager.TreeNode
-
- Enclosing class:
- VOIManager
public class VOIManager.TreeNode extends java.lang.Object
Tree node. Contains data (the integer position and float cost) and pointers to the left and right children.
-
-
Field Summary
Fields Modifier and Type Field Description float
cost
Cost of position.VOIManager.TreeNode
left
Node to the left in the tree.int
position
Position in array seededCosts.VOIManager.TreeNode
right
Node to the right in the tree.
-
Constructor Summary
Constructors Constructor Description TreeNode(int position, float cost)
Creates a new tree node with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Returns readable representation of this node.
-
-
-
Field Detail
-
cost
public float cost
Cost of position.
-
left
public VOIManager.TreeNode left
Node to the left in the tree.
-
position
public int position
Position in array seededCosts.
-
right
public VOIManager.TreeNode right
Node to the right in the tree.
-
-