Package inra.ijpb.label
Class LabelValues.Position3DValuePair
java.lang.Object
inra.ijpb.label.LabelValues.Position3DValuePair
- Enclosing class:
- LabelValues
public static class LabelValues.Position3DValuePair
extends java.lang.Object
Inner class for storing a value associated to a 3D position.
-
Constructor Summary
Constructors Constructor Description Position3DValuePair(Cursor3D position, double value)
Creates a new Position3DValuePair instance based on a position and a value. -
Method Summary
Modifier and Type Method Description Cursor3D
getPosition()
Returns the position of the voxel.double
getValue()
Returns the value of the voxel.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Position3DValuePair
Creates a new Position3DValuePair instance based on a position and a value.- Parameters:
position
- the 3D position of the voxelvalue
- the value of the voxel
-
-
Method Details
-
getPosition
Returns the position of the voxel.- Returns:
- the position of the voxel.
-
getValue
public double getValue()Returns the value of the voxel.- Returns:
- the value of the voxel.
-