Skip to content
Snippets Groups Projects
Commit 92fa16d9 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

getStackedData renamed to getData

parent e08ff00a
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ public class ImageStack extends StackedData {
}
position[position.length - 1] = x;
position[position.length - 2] = y;
image = getStackedData(position, new int[] { height, width });
image = getData(position, new int[] { height, width });
}
return image;
}
......
......@@ -97,17 +97,17 @@ public abstract class StackedData extends ReferencedData {
* @return A {@link FlatData}.
*/
protected FlatData getDataAt(int... position) {
return getStackedData(position, dataShape);
return getData(position, dataShape);
}
/**
* Returns a block of data, accumulated as a stack and represented as a {@link FlatData}, at given position.
* Returns some data of given shape and at given position, as a {@link FlatData}.
*
* @param position The position.
* @param shape The stacked data shape.
* @param shape The shape of the data to extract.
* @return A {@link FlatData}.
*/
public FlatData getStackedData(int[] position, int[] shape) {
public FlatData getData(int[] position, int[] shape) {
FlatData data = null;
ICDMAReader cdmaReader = getReader();
if ((cdmaReader != null) && (stackFullShape != null) && (stackFullShape.length > 0) && (shape != null)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment