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.ObjectTree node. Contains data (the integer position and float cost) and pointers to the left and right children.
- 
- 
Field SummaryFields Modifier and Type Field Description floatcostCost of position.VOIManager.TreeNodeleftNode to the left in the tree.intpositionPosition in array seededCosts.VOIManager.TreeNoderightNode to the right in the tree.
 - 
Constructor SummaryConstructors Constructor Description TreeNode(int position, float cost)Creates a new tree node with the given data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()Returns readable representation of this node.
 
- 
- 
- 
Field Detail- 
costpublic float cost Cost of position.
 - 
leftpublic VOIManager.TreeNode left Node to the left in the tree.
 - 
positionpublic int position Position in array seededCosts.
 - 
rightpublic VOIManager.TreeNode right Node to the right in the tree.
 
- 
 
-