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

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
              extended by org.rubato.rubettes.bigbang.model.operations.RotationTransformation

public class RotationTransformation
extends AbstractLocalTransformation


Constructor Summary
RotationTransformation(BigBangModel model, TransformationProperties properties, double[] startingPoint, double angle)
           
RotationTransformation(BigBangModel model, XMLReader reader, org.w3c.dom.Element element)
           
 
Method Summary
 double getAngle()
           
 double[] getStartingPoint()
           
 void modifyAngle(double angle)
           
 void setParameters(double[] startingPoint, double angle)
           
 void toXML(XMLWriter writer)
           
 
Methods inherited from class org.rubato.rubettes.bigbang.model.operations.AbstractLocalTransformation
getCenter, getEndingPoint, getSplitOperations, 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

RotationTransformation

public RotationTransformation(BigBangModel model,
                              TransformationProperties properties,
                              double[] startingPoint,
                              double angle)

RotationTransformation

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

setParameters

public void setParameters(double[] startingPoint,
                          double angle)

modifyAngle

public void modifyAngle(double angle)

getAngle

public double getAngle()

getStartingPoint

public double[] getStartingPoint()

toXML

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