- java.lang.Object
-
- bdv.img.imaris.HDF5AccessHack
-
- All Implemented Interfaces:
IHDF5Access
public class HDF5AccessHack extends Object implements IHDF5Access
-
-
Constructor Summary
Constructors Constructor Description HDF5AccessHack(ch.systemsx.cisd.hdf5.IHDF5Reader hdf5Reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()DimsAndExistencegetDimsAndExistence(ViewLevelId id)byte[]readByteMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min)byte[]readByteMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, byte[] dataBlock)float[]readFloatMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min)float[]readFloatMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, float[] dataBlock)StringreadImarisAttributeString(String objectPath, String attributeName)StringreadImarisAttributeString(String objectPath, String attributeName, String defaultValue)short[]readShortMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min)short[]readShortMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, short[] dataBlock)
-
-
-
Constructor Detail
-
HDF5AccessHack
public HDF5AccessHack(ch.systemsx.cisd.hdf5.IHDF5Reader hdf5Reader) throws ClassNotFoundException, SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
-
-
Method Detail
-
getDimsAndExistence
public DimsAndExistence getDimsAndExistence(ViewLevelId id)
- Specified by:
getDimsAndExistencein interfaceIHDF5Access
-
readByteMDArrayBlockWithOffset
public byte[] readByteMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min) throws InterruptedException- Specified by:
readByteMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readByteMDArrayBlockWithOffset
public byte[] readByteMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, byte[] dataBlock) throws InterruptedException- Specified by:
readByteMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readShortMDArrayBlockWithOffset
public short[] readShortMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min) throws InterruptedException- Specified by:
readShortMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readShortMDArrayBlockWithOffset
public short[] readShortMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, short[] dataBlock) throws InterruptedException- Specified by:
readShortMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readFloatMDArrayBlockWithOffset
public float[] readFloatMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min) throws InterruptedException- Specified by:
readFloatMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readFloatMDArrayBlockWithOffset
public float[] readFloatMDArrayBlockWithOffset(int timepoint, int setup, int level, int[] dimensions, long[] min, float[] dataBlock) throws InterruptedException- Specified by:
readFloatMDArrayBlockWithOffsetin interfaceIHDF5Access- Throws:
InterruptedException
-
readImarisAttributeString
public String readImarisAttributeString(String objectPath, String attributeName)
- Specified by:
readImarisAttributeStringin interfaceIHDF5Access
-
readImarisAttributeString
public String readImarisAttributeString(String objectPath, String attributeName, String defaultValue)
- Specified by:
readImarisAttributeStringin interfaceIHDF5Access
-
-