|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectartofillusion.procedural.Module
artofillusion.procedural.TransformModule
public class TransformModule
This is a Module which performs a linear 3D coordinate transform.
| Field Summary |
|---|
| Fields inherited from class artofillusion.procedural.Module |
|---|
linkFrom, linkFromIndex |
| Constructor Summary | |
|---|---|
TransformModule(java.awt.Point position)
|
|
| Method Summary | |
|---|---|
Module |
duplicate()
Create a duplicate of this module. |
boolean |
edit(buoy.widget.BFrame fr,
Scene theScene)
This should display a user interface for editing the module, and return true if the module is changed. |
double |
getAverageValue(int which,
double blur)
Get the average value of the specified output port. |
CoordinateSystem |
getCoordinates()
Get the coordinate system which defines the rotations and translations. |
double |
getValueError(int which,
double blur)
Get the uncertainty in the value of the specified output port. |
void |
getValueGradient(int which,
Vec3 grad,
double blur)
Get the gradient of the value of the specified output port. |
double |
getXScale()
Get the X scale. |
double |
getYScale()
Get the Y scale. |
double |
getZScale()
Get the Z scale. |
void |
init(PointInfo p)
This method initializes the module in preparation for evaluating the procedure at a new point. |
void |
readFromStream(java.io.DataInputStream in,
Scene theScene)
Read in the module's parameters from an input stream. |
void |
setCoordinates(CoordinateSystem coords)
Set the coordinate system which defines the rotations and translations. |
void |
setXScale(double scale)
Set the X scale. |
void |
setYScale(double scale)
Set the Y scale. |
void |
setZScale(double scale)
Set the Z scale. |
void |
writeToStream(java.io.DataOutputStream out,
Scene theScene)
Write out the module's parameters to an output stream. |
| Methods inherited from class artofillusion.procedural.Module |
|---|
calcSize, checkFeedback, draw, getBounds, getClickedPort, getColor, getInputIndex, getInputPorts, getName, getOutputIndex, getOutputPorts, inputConnected, layout, setInput, setPosition |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransformModule(java.awt.Point position)
| Method Detail |
|---|
public CoordinateSystem getCoordinates()
public void setCoordinates(CoordinateSystem coords)
public double getXScale()
public void setXScale(double scale)
public double getYScale()
public void setYScale(double scale)
public double getZScale()
public void setZScale(double scale)
public void init(PointInfo p)
Module
init in class Module
public double getAverageValue(int which,
double blur)
Module
getAverageValue in class Module
public double getValueError(int which,
double blur)
Module
getValueError in class Module
public void getValueGradient(int which,
Vec3 grad,
double blur)
Module
getValueGradient in class Module
public boolean edit(buoy.widget.BFrame fr,
Scene theScene)
Module
edit in class Modulepublic Module duplicate()
Module
duplicate in class Module
public void writeToStream(java.io.DataOutputStream out,
Scene theScene)
throws java.io.IOException
Module
writeToStream in class Modulejava.io.IOException
public void readFromStream(java.io.DataInputStream in,
Scene theScene)
throws java.io.IOException
Module
readFromStream in class Modulejava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||