org.rubato.rubettes.bigbang.controller
Class BigBangController
java.lang.Object
org.rubato.rubettes.bigbang.controller.Controller
org.rubato.rubettes.bigbang.controller.BigBangController
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public class BigBangController
- extends Controller
Method Summary |
void |
addAlteration(DenotatorPath degreesDimensionPath)
|
void |
addObjects(java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> denotatorValues,
java.util.List<DenotatorPath> powersetPaths,
boolean inPreviewMode)
|
void |
addObjectsToLayer(int layerIndex,
java.util.Set<BigBangObject> objects)
|
void |
addObjectsToNewLayer(java.util.Set<BigBangObject> objects)
|
void |
addWallpaperDimension(java.util.Set<BigBangObject> objects,
int rangeFrom,
int rangeTo)
|
void |
affineTransformObjects(TransformationProperties properties,
double[] shift,
RMatrix transform)
|
void |
buildSatellites(java.util.Set<BigBangObject> objects,
BigBangObject anchor,
int powersetIndex)
|
void |
changeAlterationEndDegree(double value)
|
void |
changeAlterationStartDegree(double value)
|
void |
changeInputActive(boolean inputActive)
|
void |
deleteObjects(java.util.Set<BigBangObject> objects)
|
void |
deselectCompositionStates()
|
void |
deselectOperations()
|
void |
endWallpaper()
|
void |
fireAlterationComposition(int index)
|
void |
flattenObjects(java.util.Set<BigBangObject> satellites)
|
void |
insertOperation(java.lang.Integer stateIndex)
|
void |
modifyOperation(int operationIndex,
double ratio)
|
void |
moveObjectsToLayer(int layerIndex,
java.util.Set<BigBangObject> objects)
|
void |
moveObjectsToNewLayer(java.util.Set<BigBangObject> objects)
|
void |
newWindowAdded()
|
void |
operationModified()
|
void |
redo()
|
void |
reflectObjects(TransformationProperties properties,
double[] reflectionVector)
|
void |
removeOperationFromGraph(AbstractOperation operation)
|
void |
rotateObjects(TransformationProperties properties,
double[] startingPoint,
double angle)
|
void |
scaleObjects(TransformationProperties properties,
double[] scaleFactors)
|
void |
selectCompositionState(CompositionState state)
|
void |
selectCompositionState(java.lang.Integer stateIndex)
|
void |
selectNextCompositionState()
|
void |
selectOperation(AbstractOperation edge)
|
void |
selectPreviousCompositionState()
|
void |
setAlterationComposition(int index,
java.util.Set<DenotatorPath> nodePaths)
|
void |
setAlterationCoordinates(java.util.List<java.lang.Integer> coordinates)
|
void |
setAlterationDegreesDimension(DenotatorPath path)
|
void |
setAnimationPosition(java.lang.Double position)
|
void |
setForm(Form form)
|
void |
setLayerActive(int index,
boolean active)
|
void |
setLayerAudible(int index,
boolean audible)
|
void |
setLayerName(int index,
java.lang.String name)
|
void |
setLayerVisible(int index,
boolean visible)
|
void |
setMultiTouch(boolean multiTouch)
|
void |
setOperationDuration(AbstractOperation operation,
java.lang.Double duration)
|
void |
shapeObjects(TransformationProperties properties,
java.util.TreeMap<java.lang.Double,java.lang.Double> shapingLocations)
|
void |
shearObjects(TransformationProperties properties,
double[] shearingFactors)
|
void |
splitOperation()
|
void |
toggleGraphAnimation()
|
void |
translateObjects(TransformationProperties properties)
|
void |
unAddObjects(java.util.Set<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues)
|
void |
undo()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEW_WINDOW
public static final java.lang.String NEW_WINDOW
- See Also:
- Constant Field Values
UNDO
public static final java.lang.String UNDO
- See Also:
- Constant Field Values
REDO
public static final java.lang.String REDO
- See Also:
- Constant Field Values
GRAPH
public static final java.lang.String GRAPH
- See Also:
- Constant Field Values
OPERATION_MODIFIED
public static final java.lang.String OPERATION_MODIFIED
- See Also:
- Constant Field Values
MODIFY_OPERATION
public static final java.lang.String MODIFY_OPERATION
- See Also:
- Constant Field Values
SELECT_COMPOSITION_STATE
public static final java.lang.String SELECT_COMPOSITION_STATE
- See Also:
- Constant Field Values
SELECT_COMPOSITION_STATE_AT
public static final java.lang.String SELECT_COMPOSITION_STATE_AT
- See Also:
- Constant Field Values
SELECT_PREVIOUS_COMPOSITION_STATE
public static final java.lang.String SELECT_PREVIOUS_COMPOSITION_STATE
- See Also:
- Constant Field Values
SELECT_NEXT_COMPOSITION_STATE
public static final java.lang.String SELECT_NEXT_COMPOSITION_STATE
- See Also:
- Constant Field Values
DESELECT_COMPOSITION_STATES
public static final java.lang.String DESELECT_COMPOSITION_STATES
- See Also:
- Constant Field Values
SELECT_OPERATION
public static final java.lang.String SELECT_OPERATION
- See Also:
- Constant Field Values
DESELECT_OPERATIONS
public static final java.lang.String DESELECT_OPERATIONS
- See Also:
- Constant Field Values
INSERTION_STATE
public static final java.lang.String INSERTION_STATE
- See Also:
- Constant Field Values
REMOVE_OPERATION
public static final java.lang.String REMOVE_OPERATION
- See Also:
- Constant Field Values
OPERATION_DURATION
public static final java.lang.String OPERATION_DURATION
- See Also:
- Constant Field Values
TOGGLE_GRAPH_ANIMATION
public static final java.lang.String TOGGLE_GRAPH_ANIMATION
- See Also:
- Constant Field Values
GRAPH_ANIMATION_POSITION
public static final java.lang.String GRAPH_ANIMATION_POSITION
- See Also:
- Constant Field Values
SPLIT_OPERATION
public static final java.lang.String SPLIT_OPERATION
- See Also:
- Constant Field Values
LAYERS
public static final java.lang.String LAYERS
- See Also:
- Constant Field Values
LAYER_NAME
public static final java.lang.String LAYER_NAME
- See Also:
- Constant Field Values
LAYER_ACTIVE
public static final java.lang.String LAYER_ACTIVE
- See Also:
- Constant Field Values
LAYER_AUDIBLE
public static final java.lang.String LAYER_AUDIBLE
- See Also:
- Constant Field Values
LAYER_VISIBLE
public static final java.lang.String LAYER_VISIBLE
- See Also:
- Constant Field Values
ADD_TO_LAYER
public static final java.lang.String ADD_TO_LAYER
- See Also:
- Constant Field Values
ADD_TO_NEW_LAYER
public static final java.lang.String ADD_TO_NEW_LAYER
- See Also:
- Constant Field Values
MOVE_TO_LAYER
public static final java.lang.String MOVE_TO_LAYER
- See Also:
- Constant Field Values
MOVE_TO_NEW_LAYER
public static final java.lang.String MOVE_TO_NEW_LAYER
- See Also:
- Constant Field Values
MULTITOUCH
public static final java.lang.String MULTITOUCH
- See Also:
- Constant Field Values
INPUT_ACTIVE
public static final java.lang.String INPUT_ACTIVE
- See Also:
- Constant Field Values
FORM
public static final java.lang.String FORM
- See Also:
- Constant Field Values
COMPOSITION
public static final java.lang.String COMPOSITION
- See Also:
- Constant Field Values
OBJECT_SELECTION
public static final java.lang.String OBJECT_SELECTION
- See Also:
- Constant Field Values
ADD_OBJECTS
public static final java.lang.String ADD_OBJECTS
- See Also:
- Constant Field Values
UNADD_OBJECTS
public static final java.lang.String UNADD_OBJECTS
- See Also:
- Constant Field Values
DELETE_OBJECTS
public static final java.lang.String DELETE_OBJECTS
- See Also:
- Constant Field Values
TRANSLATE_OBJECTS
public static final java.lang.String TRANSLATE_OBJECTS
- See Also:
- Constant Field Values
ROTATE_OBJECTS
public static final java.lang.String ROTATE_OBJECTS
- See Also:
- Constant Field Values
SCALE_OBJECTS
public static final java.lang.String SCALE_OBJECTS
- See Also:
- Constant Field Values
REFLECT_OBJECTS
public static final java.lang.String REFLECT_OBJECTS
- See Also:
- Constant Field Values
SHEAR_OBJECTS
public static final java.lang.String SHEAR_OBJECTS
- See Also:
- Constant Field Values
AFFINE_TRANSFORM_OBJECTS
public static final java.lang.String AFFINE_TRANSFORM_OBJECTS
- See Also:
- Constant Field Values
SHAPE_OBJECTS
public static final java.lang.String SHAPE_OBJECTS
- See Also:
- Constant Field Values
BUILD_SATELLITES
public static final java.lang.String BUILD_SATELLITES
- See Also:
- Constant Field Values
FLATTEN_OBJECTS
public static final java.lang.String FLATTEN_OBJECTS
- See Also:
- Constant Field Values
ADD_DIMENSION
public static final java.lang.String ADD_DIMENSION
- See Also:
- Constant Field Values
END_WALLPAPER
public static final java.lang.String END_WALLPAPER
- See Also:
- Constant Field Values
ADD_ALTERATION
public static final java.lang.String ADD_ALTERATION
- See Also:
- Constant Field Values
SET_ALTERATION_COMPOSITION
public static final java.lang.String SET_ALTERATION_COMPOSITION
- See Also:
- Constant Field Values
FIRE_ALTERATION_COMPOSITION
public static final java.lang.String FIRE_ALTERATION_COMPOSITION
- See Also:
- Constant Field Values
ALTERATION_COORDINATES
public static final java.lang.String ALTERATION_COORDINATES
- See Also:
- Constant Field Values
ALTERATION_START_DEGREE
public static final java.lang.String ALTERATION_START_DEGREE
- See Also:
- Constant Field Values
ALTERATION_END_DEGREE
public static final java.lang.String ALTERATION_END_DEGREE
- See Also:
- Constant Field Values
ALTERATION_DEGREES_DIMENSION
public static final java.lang.String ALTERATION_DEGREES_DIMENSION
- See Also:
- Constant Field Values
BigBangController
public BigBangController()
newWindowAdded
public void newWindowAdded()
undo
public void undo()
redo
public void redo()
operationModified
public void operationModified()
modifyOperation
public void modifyOperation(int operationIndex,
double ratio)
selectPreviousCompositionState
public void selectPreviousCompositionState()
selectNextCompositionState
public void selectNextCompositionState()
selectCompositionState
public void selectCompositionState(CompositionState state)
selectCompositionState
public void selectCompositionState(java.lang.Integer stateIndex)
deselectCompositionStates
public void deselectCompositionStates()
selectOperation
public void selectOperation(AbstractOperation edge)
deselectOperations
public void deselectOperations()
removeOperationFromGraph
public void removeOperationFromGraph(AbstractOperation operation)
insertOperation
public void insertOperation(java.lang.Integer stateIndex)
setOperationDuration
public void setOperationDuration(AbstractOperation operation,
java.lang.Double duration)
toggleGraphAnimation
public void toggleGraphAnimation()
setAnimationPosition
public void setAnimationPosition(java.lang.Double position)
splitOperation
public void splitOperation()
setLayerName
public void setLayerName(int index,
java.lang.String name)
setLayerActive
public void setLayerActive(int index,
boolean active)
setLayerAudible
public void setLayerAudible(int index,
boolean audible)
setLayerVisible
public void setLayerVisible(int index,
boolean visible)
addObjectsToLayer
public void addObjectsToLayer(int layerIndex,
java.util.Set<BigBangObject> objects)
addObjectsToNewLayer
public void addObjectsToNewLayer(java.util.Set<BigBangObject> objects)
moveObjectsToLayer
public void moveObjectsToLayer(int layerIndex,
java.util.Set<BigBangObject> objects)
moveObjectsToNewLayer
public void moveObjectsToNewLayer(java.util.Set<BigBangObject> objects)
changeInputActive
public void changeInputActive(boolean inputActive)
setForm
public void setForm(Form form)
setMultiTouch
public void setMultiTouch(boolean multiTouch)
addObjects
public void addObjects(java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> denotatorValues,
java.util.List<DenotatorPath> powersetPaths,
boolean inPreviewMode)
unAddObjects
public void unAddObjects(java.util.Set<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues)
deleteObjects
public void deleteObjects(java.util.Set<BigBangObject> objects)
translateObjects
public void translateObjects(TransformationProperties properties)
rotateObjects
public void rotateObjects(TransformationProperties properties,
double[] startingPoint,
double angle)
scaleObjects
public void scaleObjects(TransformationProperties properties,
double[] scaleFactors)
reflectObjects
public void reflectObjects(TransformationProperties properties,
double[] reflectionVector)
shearObjects
public void shearObjects(TransformationProperties properties,
double[] shearingFactors)
shapeObjects
public void shapeObjects(TransformationProperties properties,
java.util.TreeMap<java.lang.Double,java.lang.Double> shapingLocations)
affineTransformObjects
public void affineTransformObjects(TransformationProperties properties,
double[] shift,
RMatrix transform)
buildSatellites
public void buildSatellites(java.util.Set<BigBangObject> objects,
BigBangObject anchor,
int powersetIndex)
flattenObjects
public void flattenObjects(java.util.Set<BigBangObject> satellites)
addWallpaperDimension
public void addWallpaperDimension(java.util.Set<BigBangObject> objects,
int rangeFrom,
int rangeTo)
endWallpaper
public void endWallpaper()
addAlteration
public void addAlteration(DenotatorPath degreesDimensionPath)
setAlterationComposition
public void setAlterationComposition(int index,
java.util.Set<DenotatorPath> nodePaths)
fireAlterationComposition
public void fireAlterationComposition(int index)
setAlterationCoordinates
public void setAlterationCoordinates(java.util.List<java.lang.Integer> coordinates)
changeAlterationStartDegree
public void changeAlterationStartDegree(double value)
changeAlterationEndDegree
public void changeAlterationEndDegree(double value)
setAlterationDegreesDimension
public void setAlterationDegreesDimension(DenotatorPath path)