public abstract class BodyTransformer extends Transformer
Constructor and Description |
---|
BodyTransformer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
internalTransform(Body b,
String phaseName,
Map<String,String> options)
This method is called to perform the transformation itself.
|
void |
transform(Body b) |
void |
transform(Body b,
String phaseName) |
void |
transform(Body b,
String phaseName,
Map<String,String> options)
Called by clients of the transformation.
|
public final void transform(Body b, String phaseName, Map<String,String> options)
b
- the body on which to apply the transformationphaseName
- phaseName for the transform. Used to retrieve options from the Scene.public final void transform(Body b)
protected abstract void internalTransform(Body b, String phaseName, Map<String,String> options)
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.