|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransformationStack
Nested Class Summary | |
---|---|
static class |
TransformationStack.TransformationStackEvent
Enum of possible transformation stack event. |
Method Summary | |
---|---|
void |
addListener(TransformationStackListener listener)
Add a listener. |
void |
clear()
Pop all matrix on the stack except identity. |
Transformation |
peek()
Return the top transformation. |
Transformation |
pop()
Pop one matrix on the stack. |
void |
push(Transformation transformation)
Push the given transformation on the stack. |
void |
pushLeftMultiply(Transformation transformation)
Push the given transformation left time the peek on the stack. |
void |
pushRightMultiply(Transformation transformation)
Push the given transformation right time the peek on the stack. |
void |
removeListener(TransformationStackListener listener)
Remove a listener. |
Method Detail |
---|
void addListener(TransformationStackListener listener)
listener
- added listener.void removeListener(TransformationStackListener listener)
listener
- removed listener.Transformation peek()
void push(Transformation transformation)
transformation
- the given transformation.void pushRightMultiply(Transformation transformation)
transformation
- the given transformation.void pushLeftMultiply(Transformation transformation)
transformation
- the given transformation.Transformation pop()
void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |