- java.lang.Object
-
- bdv.viewer.render.ProjectorUtils
-
public class ProjectorUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectorUtils.ArrayData
-
Constructor Summary
Constructors Constructor Description ProjectorUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectorUtils.ArrayDatagetARGBArrayData(net.imglib2.RandomAccessible<?> img)static int[]getARGBArrayImgData(net.imglib2.RandomAccessible<?> img)Extracts the underlyingint[]array in caseimgis a standardArrayImg<ARGBType>.
-
-
-
Method Detail
-
getARGBArrayImgData
public static int[] getARGBArrayImgData(net.imglib2.RandomAccessible<?> img)
Extracts the underlyingint[]array in caseimgis a standardArrayImg<ARGBType>. This supports certain (optional) optimizations in projector implementations.- Returns:
- the underlying
int[]array ofimg, if it is a standardArrayImg<ARGBType>. Otherwisenull.
-
getARGBArrayData
public static ProjectorUtils.ArrayData getARGBArrayData(net.imglib2.RandomAccessible<?> img)
-
-