org.rubato.rubettes.bigbang.model.operations
Class AbstractLocalTransformation

java.lang.Object
  extended by org.rubato.rubettes.bigbang.model.operations.AbstractOperation
      extended by org.rubato.rubettes.bigbang.model.operations.AbstractTransformation
          extended by org.rubato.rubettes.bigbang.model.operations.AbstractLocalTransformation
Direct Known Subclasses:
AffineTransformation, ReflectionTransformation, RotationTransformation, ScalingTransformation, ShearingTransformation

public abstract class AbstractLocalTransformation
extends AbstractTransformation


Constructor Summary
AbstractLocalTransformation(BigBangModel model, TransformationProperties properties)
           
AbstractLocalTransformation(BigBangModel model, XMLReader reader, org.w3c.dom.Element element)
           
 
Method Summary
 double[] getCenter()
           
 double[] getEndingPoint()
           
 java.util.List<AbstractOperation> getSplitOperations(double ratio)
           
 void toXML(XMLWriter writer)
           
 void updateOperation()
           
 
Methods inherited from class org.rubato.rubettes.bigbang.model.operations.AbstractTransformation
execute, getXYViewParameters, modify, modifyCenter, updateProperties
 
Methods inherited from class org.rubato.rubettes.bigbang.model.operations.AbstractOperation
clone, clone, getDuration, getPresentationName, isAnimatable, isSplittable, modify, setDuration, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractLocalTransformation

public AbstractLocalTransformation(BigBangModel model,
                                   TransformationProperties properties)

AbstractLocalTransformation

public AbstractLocalTransformation(BigBangModel model,
                                   XMLReader reader,
                                   org.w3c.dom.Element element)
Method Detail

updateOperation

public void updateOperation()

getSplitOperations

public java.util.List<AbstractOperation> getSplitOperations(double ratio)
Overrides:
getSplitOperations in class AbstractOperation
Parameters:
ratio - a number between 0 and 1
Returns:
a list with two operations that represent this operation split at the given ratio. null if not splittable

getCenter

public double[] getCenter()
Overrides:
getCenter in class AbstractTransformation

getEndingPoint

public double[] getEndingPoint()
Specified by:
getEndingPoint in class AbstractTransformation

toXML

public void toXML(XMLWriter writer)
Overrides:
toXML in class AbstractTransformation