public abstract class BodyTransformer extends Transformer
Constructor and Description |
---|
BodyTransformer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
This method is called to perform the transformation itself.
|
void |
transform(Body b) |
void |
transform(Body b,
java.lang.String phaseName) |
void |
transform(Body b,
java.lang.String phaseName,
java.util.Map<java.lang.String,java.lang.String> options)
Called by clients of the transformation.
|
public final void transform(Body b, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.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, java.lang.String phaseName)
public final void transform(Body b)
protected abstract void internalTransform(Body b, java.lang.String phaseName, java.util.Map<java.lang.String,java.lang.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.