public class ReorderSortInfo extends SortInfo
Modifier and Type | Field and Description |
---|---|
static int |
AFTER
Move slice after
|
static int |
BEFORE
Move slice before
|
static int |
SWAP
Swap slices
|
ASCENDING, DESCENDING, FIRST, LAST, m_direction, m_layerName, m_parameterHelper
Constructor and Description |
---|
ReorderSortInfo(int edge,
int layer,
int sliceToMove,
int sliceToMoveTo,
int moveType)
Specifies a reordering of slices within a layer
|
Modifier and Type | Method and Description |
---|---|
int |
getEdge() |
int |
getLayer() |
int |
getMoveType() |
int |
getSliceToMove() |
int |
getSliceToMoveTo() |
associateParameter, equals, getAssociatedParameterName, getDirection, getLayerName, getParameterNames, parameterize, setDirection, setLayerName, usesParameter
public static final int BEFORE
public static final int AFTER
public static final int SWAP
public ReorderSortInfo(int edge, int layer, int sliceToMove, int sliceToMoveTo, int moveType)
edge
- edge on which to reorder sliceslayer
- layer in which to reorder slicessliceToMove
- slice to movesliceToMoveTo
- slice to move before, after, or with which to swapmoveType
- method of reordering the slice (before, after, swap)