public class HolonTransformer extends AbstractCpsObject
Constructor and Description |
---|
HolonTransformer(AbstractCpsObject obj)
Copy of the Object.
|
HolonTransformer(java.lang.String objName)
Constructor Set type of object (Transformer), its transform ratio and the
default name ("Transformer").
|
Modifier and Type | Method and Description |
---|---|
float |
getOutput()
Get the Output of the Transformer.
|
float |
getTransformFixed()
Output the actual fixed Transform Value.
|
float |
getTransformRatio()
Output the actual ratio of the transformer.
|
void |
setTransformFixed(float fixed)
Set fixed Transform Value.
|
void |
setTransformRatio(float ratio)
Set transform ratio.
|
addConnection, addPseudoTag, addTag, getBorderColor, getConnectedTo, getConnections, getID, getImage, getName, getObjName, getPosition, getPseudoTags, getSav, getTag, resetTags, setBorderColor, setConnections, setID, setImage, setName, setObjName, setPosition, setPosition, setPseudoTags, setSav, setTags
public HolonTransformer(java.lang.String objName)
objName
- name for the Objectpublic HolonTransformer(AbstractCpsObject obj)
obj
- the Object to Copypublic void setTransformRatio(float ratio)
ratio
- desired ratiopublic float getTransformRatio()
public void setTransformFixed(float fixed)
fixed
- desired fixed Transform Valuepublic float getTransformFixed()
public float getOutput()