|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Formation | |
---|---|
net.cscott.sdr | This package contains the main class (App ) as well as interface
definitions needed to tie the various pieces together. |
net.cscott.sdr.calls | This package contains the square dance choreography engine, and the basic types and interfaces required to communicate with it. |
net.cscott.sdr.calls.transform | This package contains code to parse call lists and transform call abstract syntax in various ways. |
Uses of Formation in net.cscott.sdr |
---|
Constructors in net.cscott.sdr with parameters of type Formation | |
---|---|
ChoreoEngine(DanceProgram dp,
Formation f)
|
Uses of Formation in net.cscott.sdr.calls |
---|
Subclasses of Formation in net.cscott.sdr.calls | |
---|---|
class |
NamedTaggedFormation
Helper class to associate a standard name with a canonical formation. |
class |
TaggedFormation
A Formation is a set of dancers and positions for them. |
Fields in net.cscott.sdr.calls declared as Formation | |
---|---|
Formation |
TimedFormation.formation
The dancer formation called for at the given time. |
static Formation |
Formation.FOUR_SQUARE
Starting formation for 2-couple dancing. |
Formation |
Breather.FormationPiece.input
Input formation piece. |
Formation |
FormationMatch.meta
The meta formation contains one dancer for each matched sub-formation in the setup. |
Formation |
Breather.FormationPiece.output
The formation which will correspond to Breather.FormationPiece.input in the output
(meta) formation. |
static Formation |
Formation.SQUARED_SET
Starting formation for 8-couple dancing. |
Fields in net.cscott.sdr.calls with type parameters of type Formation | |
---|---|
static List<Formation> |
FormationList.all
List of all formations defined in this class. |
Methods in net.cscott.sdr.calls that return Formation | |
---|---|
static Formation |
Breather.breathe(Formation f)
Create a canonical formation by compressing the given one. |
static Formation |
Breather.breathe(List<Breather.FormationPiece> pieces)
Take a set of input formation pieces and substitute the given output formation pieces for them, breathing the result together so that the formation is compact. |
Formation |
DanceState.currentFormation()
Return the last in the list of timed formations. |
Formation |
DanceState.formationAt(Fraction time)
Return the latest formation at or preceding the given time. |
static Formation |
Breather.insert(Formation meta,
Map<Dancer,Formation> components)
Insert formations into a meta-formation. |
Formation |
Formation.mirror(boolean mirrorShoulderPass)
Return a formation like this one, except with all positions mirrored. |
Formation |
Formation.move(Dancer d,
Position p)
Return a formation like this one, except that the given dancer is moved to the specified position. |
Formation |
Formation.onlySelected()
Create a new formation containing only the selected dancers from this formation. |
Formation |
Formation.recenter()
Build a new formation, centered on 0,0. |
Formation |
Formation.rotate(ExactRotation rotation)
Build a new formation, like this one except rotated around 0,0. |
Formation |
Formation.select(Collection<Dancer> d)
Build a new formation with only the given dancers selected. |
Formation |
Formation.select(Dancer... d)
Convenience method for select(Collection) . |
Methods in net.cscott.sdr.calls with parameters of type Formation | |
---|---|
static void |
Tagger.addAutomatic(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
static void |
Tagger.addFrom(TaggedFormation template,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
Find all instance of the tagged template formation in the given
given formation f , and add the tags from the template to the
set of tags on f given in tags . |
static Formation |
Breather.breathe(Formation f)
Create a canonical formation by compressing the given one. |
DanceState |
DanceState.cloneAndClear(Formation formation)
Similar to DanceState.cloneAndClear() , but allows you to specify the new
'current formation' of the result. |
static TaggedFormation |
TaggedFormation.coerce(Formation f)
|
static FormationMatch |
GeneralFormationMatcher.doMatch(Formation input,
TaggedFormation goal,
boolean allowUnmatchedDancers,
boolean usePhantoms)
Attempt to match the input formation against the goal formation; you can have multiple rotated copies of the goal formation in the input. |
abstract boolean |
Predicate.evaluate(DanceProgram ds,
Formation f,
Condition c)
Evaluates this predicate with the arguments given in the Condition node, returning a boolean. |
static Formation |
Breather.insert(Formation meta,
Map<Dancer,Formation> components)
Insert formations into a meta-formation. |
abstract FormationMatch |
Selector.match(Formation f)
Select sub-formations from a formation using this selector. |
static void |
Tagger.tag2(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
Method parameters in net.cscott.sdr.calls with type arguments of type Formation | |
---|---|
static Formation |
Breather.insert(Formation meta,
Map<Dancer,Formation> components)
Insert formations into a meta-formation. |
Constructors in net.cscott.sdr.calls with parameters of type Formation | |
---|---|
Breather.FormationPiece(Formation input,
Formation output)
|
|
Breather.FormationPiece(Formation input,
Formation output,
ExactRotation r)
Prepare an argument to the Breather.breathe(net.cscott.sdr.calls.Formation) method. |
|
DanceState(DanceProgram dance,
Formation f)
|
|
Formation(Formation f,
Map<Dancer,Dancer> map)
|
|
FormationMatch(Formation meta,
Map<Dancer,TaggedFormation> matches,
Set<Dancer> unmatched)
|
|
NamedTaggedFormation(String name,
Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
|
TaggedFormation(Formation f,
MultiMap<Dancer,TaggedFormation.Tag> tags)
|
|
TimedFormation(Formation formation,
Fraction time,
boolean isAbsolute)
|
Uses of Formation in net.cscott.sdr.calls.transform |
---|
Methods in net.cscott.sdr.calls.transform with parameters of type Formation | |
---|---|
static DancerPath |
EvalPrim.apply(Dancer d,
Formation f,
Prim p)
"Dance" the given primitive for the given dancer in the given formation to yield a DancerPath for that dancer. |
|
sdr 0.5 | |||||||||
PREV NEXT | FRAMES NO FRAMES |