Skip to content
Snippets Groups Projects
Commit a0e834cc authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Comment out unused method.

parent 97996004
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ public final class Voxel { ...@@ -128,7 +128,7 @@ public final class Voxel {
reconstructFromVoxels(voxelDims, voxelData, reconstructedData, 0); reconstructFromVoxels(voxelDims, voxelData, reconstructedData, 0);
return new ImageU16Dataset(dims.toV2i(), dims.getZ(), reconstructedData); return new ImageU16Dataset(dims.toV2i(), dims.getZ(), reconstructedData);
} }
/*
public short[] reconstructFromVoxelsToVoxelArray(final V3i voxelDims, final int[][] voxelData) { public short[] reconstructFromVoxelsToVoxelArray(final V3i voxelDims, final int[][] voxelData) {
final short[] reconstructedVoxel = new short[(int) dims.multiplyTogether()]; final short[] reconstructedVoxel = new short[(int) dims.multiplyTogether()];
...@@ -166,7 +166,7 @@ public final class Voxel { ...@@ -166,7 +166,7 @@ public final class Voxel {
final int indexInsideVoxel = dataIndex(voxelX, voxelY, voxelZ, voxelDims); final int indexInsideVoxel = dataIndex(voxelX, voxelY, voxelZ, voxelDims);
final int dstIndex = dataIndex(dstX, dstY, planeIndex); final int dstIndex = dataIndex(dstX, dstY, planeIndex);
if (dstIndex >= reconstructedVoxel.length) { if (dstIndex >= reconstructedVoxel.length) {
System.out.printf("Fail\n"); System.out.print("Fail\n");
} }
reconstructedVoxel[dstIndex] = reconstructedVoxel[dstIndex] =
(short) voxelData[(voxelOffset + voxelIndex)][indexInsideVoxel]; (short) voxelData[(voxelOffset + voxelIndex)][indexInsideVoxel];
...@@ -180,7 +180,7 @@ public final class Voxel { ...@@ -180,7 +180,7 @@ public final class Voxel {
} }
return reconstructedVoxel; return reconstructedVoxel;
} }
*/
public final V3i getDims() { public final V3i getDims() {
return dims; return dims;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment