Class AlgorithmFlip.ShapeHolder
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.utilities.AlgorithmFlip.ShapeHolder
-
- Enclosing class:
- AlgorithmFlip
private class AlgorithmFlip.ShapeHolder extends java.lang.Object
DOCUMENT ME!
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isConstructed
DOCUMENT ME!private java.util.ArrayList<java.lang.Object>
shapeList
DOCUMENT ME!private java.util.ArrayList<java.lang.Integer>
sliceList
DOCUMENT ME!
-
Constructor Summary
Constructors Modifier Constructor Description private
ShapeHolder()
Creates a new ShapeHolder object.private
ShapeHolder(java.lang.Object[] shapeArr, int[] sliceLocArr)
Creates a new ShapeHolder object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
addShape(java.lang.Object shape, int slice)
DOCUMENT ME!private java.lang.Object
getShape(int index)
DOCUMENT ME!private java.lang.Object[]
getShapesAtSlice(int slice)
DOCUMENT ME!private int
getSlice(int index)
DOCUMENT ME!private boolean
isConstructed()
DOCUMENT ME!
-
-
-
Method Detail
-
addShape
private boolean addShape(java.lang.Object shape, int slice)
DOCUMENT ME!- Parameters:
shape
- DOCUMENT ME!slice
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getShape
private java.lang.Object getShape(int index)
DOCUMENT ME!- Parameters:
index
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getShapesAtSlice
private java.lang.Object[] getShapesAtSlice(int slice)
DOCUMENT ME!- Parameters:
slice
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
getSlice
private int getSlice(int index)
DOCUMENT ME!- Parameters:
index
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
isConstructed
private boolean isConstructed()
DOCUMENT ME!- Returns:
- DOCUMENT ME!
-
-