Class FloatNtree
java.lang.Object
net.imglib2.img.sparse.FloatNtree
- All Implemented Interfaces:
DataAccess, FloatAccess, NtreeAccess<Float, FloatNtree>
FloatAccess based on a
Ntree<Float>.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionFloatNtree(long[] dimensions, long[] position, float value) privateFloatNtree(Ntree<Float> data, long[] position) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) floatgetValue(int index) voidsetValue(int index, float value) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NtreeAccess
createView
-
Field Details
-
position
private final long[] position -
data
-
-
Constructor Details
-
FloatNtree
public FloatNtree(long[] dimensions, long[] position, float value) -
FloatNtree
-
-
Method Details
-
getValue
public float getValue(int index) - Specified by:
getValuein interfaceFloatAccess
-
setValue
public void setValue(int index, float value) - Specified by:
setValuein interfaceFloatAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Float, FloatNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Float, FloatNtree>
-