|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.rubettes.bigbang.model.denotators.BigBangDenotatorManager
public class BigBangDenotatorManager
This class allows for the manipulation of a Denotator by adding and moving objects and making them absolute or relative as necessary. It keeps track of any changing or new paths. Whenever the paths are requested using the getPathResults method, tracking starts anew. This is useful for more complex operations that consist in several steps.
Constructor Summary | |
---|---|
BigBangDenotatorManager()
|
|
BigBangDenotatorManager(Form form)
|
Method Summary | |
---|---|
OperationPathResults |
addAlteration(java.util.Set<DenotatorPath> foregroundComposition,
java.util.Set<DenotatorPath> backgroundComposition,
java.util.List<DenotatorPath> alterationCoordinates,
double startDegree,
double endDegree,
DenotatorPath degreesDimensionPath)
|
OperationPathResults |
addObjects(DenotatorPath powersetPath,
java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues)
|
java.util.List<Denotator> |
addObjects(java.util.List<Denotator> objects,
java.util.List<DenotatorPath> parentPaths,
int[] powersetIndices)
Adds the given objects to the powersets at the given powersetIndices found in the given parentObjects. |
java.util.List<Denotator> |
addObjectsToParent(java.util.List<Denotator> newObjects,
DenotatorPath powersetPath)
Adds the given objects to the powerset at the given powersetPath while making them relative. |
OperationPathResults |
addTransformation(java.util.Set<DenotatorPath> objectPaths,
DenotatorPath anchorPath,
BigBangTransformation transformation)
|
void |
addWallpaperDimension(java.util.Set<DenotatorPath> objectPaths,
int rangeFrom,
int rangeTo)
|
OperationPathResults |
buildSatelliteObjects(java.util.Set<DenotatorPath> objectPaths,
DenotatorPath parentPath,
int powersetIndex)
Adds the notes at the given paths to a children set of the given parent, either the modulator set or the satellite set |
BigBangDenotatorManager |
clone()
does not clone current wallpaper or alteration |
void |
endWallpaper()
|
OperationPathResults |
flattenObjects(java.util.Set<DenotatorPath> objectPaths)
|
Denotator |
getAbsoluteObject(DenotatorPath objectPath)
|
java.util.List<Denotator> |
getAbsoluteObjects(java.util.List<DenotatorPath> objectPaths)
|
Denotator |
getComposition()
|
Form |
getForm()
|
ObjectGenerator |
getObjectGenerator()
|
OperationPathResults |
getPathResults()
|
boolean |
isFormCompatibleWithCurrentForm(Form form)
|
java.util.List<Denotator> |
removeObjects(java.util.List<DenotatorPath> removedObjectsPaths)
|
void |
replaceObjects(java.util.List<Denotator> newObjects,
java.util.List<DenotatorPath> replacedObjectsPaths)
|
void |
replaceSiblingObjects(java.util.List<Denotator> newObjects,
java.util.List<DenotatorPath> replacedObjectsPaths)
|
void |
reset()
|
void |
setComposition(Denotator composition)
|
void |
setForm(Form baseForm)
|
OperationPathResults |
setOrAddComposition(Denotator composition)
|
OperationPathResults |
shapeObjects(java.util.Set<DenotatorPath> objectPaths,
java.util.TreeMap<java.lang.Double,java.lang.Double> shapingLocations,
java.util.List<TransformationPaths> shapingPaths,
boolean copyAndShape)
|
java.util.List<DenotatorPath> |
sortAndReverse(java.util.List<DenotatorPath> paths)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BigBangDenotatorManager()
public BigBangDenotatorManager(Form form)
Method Detail |
---|
public void setForm(Form baseForm)
public Form getForm()
public boolean isFormCompatibleWithCurrentForm(Form form)
public ObjectGenerator getObjectGenerator()
public void reset()
public OperationPathResults getPathResults()
public OperationPathResults setOrAddComposition(Denotator composition)
public void setComposition(Denotator composition)
public Denotator getComposition()
public OperationPathResults addTransformation(java.util.Set<DenotatorPath> objectPaths, DenotatorPath anchorPath, BigBangTransformation transformation)
public void addWallpaperDimension(java.util.Set<DenotatorPath> objectPaths, int rangeFrom, int rangeTo)
public void endWallpaper()
public OperationPathResults addAlteration(java.util.Set<DenotatorPath> foregroundComposition, java.util.Set<DenotatorPath> backgroundComposition, java.util.List<DenotatorPath> alterationCoordinates, double startDegree, double endDegree, DenotatorPath degreesDimensionPath)
public OperationPathResults shapeObjects(java.util.Set<DenotatorPath> objectPaths, java.util.TreeMap<java.lang.Double,java.lang.Double> shapingLocations, java.util.List<TransformationPaths> shapingPaths, boolean copyAndShape)
public OperationPathResults addObjects(DenotatorPath powersetPath, java.util.List<java.util.Map<DenotatorPath,java.lang.Double>> pathsWithValues)
public OperationPathResults flattenObjects(java.util.Set<DenotatorPath> objectPaths)
public OperationPathResults buildSatelliteObjects(java.util.Set<DenotatorPath> objectPaths, DenotatorPath parentPath, int powersetIndex)
notePaths
- parentPath
- asModulators
- if true then the notes are added as modulators
public java.util.List<Denotator> addObjects(java.util.List<Denotator> objects, java.util.List<DenotatorPath> parentPaths, int[] powersetIndices)
public java.util.List<Denotator> addObjectsToParent(java.util.List<Denotator> newObjects, DenotatorPath powersetPath)
public void replaceObjects(java.util.List<Denotator> newObjects, java.util.List<DenotatorPath> replacedObjectsPaths)
public void replaceSiblingObjects(java.util.List<Denotator> newObjects, java.util.List<DenotatorPath> replacedObjectsPaths)
public java.util.List<Denotator> removeObjects(java.util.List<DenotatorPath> removedObjectsPaths)
public java.util.List<Denotator> getAbsoluteObjects(java.util.List<DenotatorPath> objectPaths)
public Denotator getAbsoluteObject(DenotatorPath objectPath)
public java.util.List<DenotatorPath> sortAndReverse(java.util.List<DenotatorPath> paths)
public BigBangDenotatorManager clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |