Class VOIManager.TreeNode
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager.TreeNode
- Enclosing class:
VOIManager
Tree node. Contains data (the integer position and float cost) and pointers to the left and right children.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatCost of position.Node to the left in the tree.intPosition in array seededCosts.Node to the right in the tree. -
Constructor Summary
ConstructorsConstructorDescriptionTreeNode(int position, float cost) Creates a new tree node with the given data. -
Method Summary
-
Field Details
-
cost
public float costCost of position. -
left
Node to the left in the tree. -
position
public int positionPosition in array seededCosts. -
right
Node to the right in the tree.
-
-
Constructor Details
-
TreeNode
public TreeNode(int position, float cost) Creates a new tree node with the given data.- Parameters:
position- Position in array seededCosts.cost- Cost of node.
-
-
Method Details