org.rubato.rubettes.morphing
Class MorphingRubette

java.lang.Object
  extended by org.rubato.base.AbstractRubette
      extended by org.rubato.base.SimpleAbstractRubette
          extended by org.rubato.rubettes.morphing.MorphingRubette
All Implemented Interfaces:
Rubette

public class MorphingRubette
extends SimpleAbstractRubette

A rubette for generating morphs between two denotators.

Author:
Florian Thalmann

Constructor Summary
MorphingRubette()
          Creates a basic MorphingRubette.
 
Method Summary
 java.lang.String getGroup()
          Returns the group this Rubette belongs to.
 java.lang.String getName()
          Returns the name of the rubette.
 void run(RunInfo runInfo)
          Runs the Rubette.
 
Methods inherited from class org.rubato.base.SimpleAbstractRubette
applyProperties, duplicate, fromXML, getProperties, getProperty, getRubetteProperties, hasProperties, putProperty, revertProperties, toXML
 
Methods inherited from class org.rubato.base.AbstractRubette
addError, addError, clearErrors, getErrors, getIcon, getInCount, getInfo, getInput, getInTip, getLongDescription, getModel, getOutCount, getOutput, getOutTip, getShortDescription, getView, hasErrors, hasInfo, hasView, init, newInstance, setInCount, setModel, setOutCount, setOutput, updateView
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MorphingRubette

public MorphingRubette()
Creates a basic MorphingRubette.

Method Detail

getName

public java.lang.String getName()
Description copied from class: AbstractRubette
Returns the name of the rubette.

Specified by:
getName in interface Rubette
Specified by:
getName in class AbstractRubette

getGroup

public java.lang.String getGroup()
Description copied from class: AbstractRubette
Returns the group this Rubette belongs to. The default group is "Other".

Specified by:
getGroup in interface Rubette
Overrides:
getGroup in class AbstractRubette

run

public void run(RunInfo runInfo)
Description copied from class: AbstractRubette
Runs the Rubette. This is the heart of the Rubette and implements the actual computation. Input values are retrieved with the getInput method and output values are stored using the setOutput method. The runInfo parameter object has a method stopped() which should be called regularly, and, in the case it returns false, the run() method should exit gracefully.

Specified by:
run in interface Rubette
Specified by:
run in class AbstractRubette
Parameters:
runInfo - contains information about the Runner that executes the network