(int slice)
| 1931 | } |
| 1932 | |
| 1933 | final void setCurrentSlice(int slice) { |
| 1934 | currentSlice = slice; |
| 1935 | int stackSize = getStackSize(); |
| 1936 | if (nChannels==stackSize) updatePosition(currentSlice, 1, 1); |
| 1937 | if (nSlices==stackSize) updatePosition(1, currentSlice, 1); |
| 1938 | if (nFrames==stackSize) updatePosition(1, 1, currentSlice); |
| 1939 | } |
| 1940 | |
| 1941 | public int getChannel() { |
| 1942 | return position[0]; |
no test coverage detected