|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.controls.AbstractCalculation
org.opensourcephysics.sip.ch17.QuaternionApp
public class QuaternionApp
QuaternionApp demonstrates how to use quaternions to rotate objects.
Field Summary |
---|
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation |
---|
control, decimalFormat, mainFrame |
Constructor Summary | |
---|---|
QuaternionApp()
Constructs the QuaternionApp. |
Method Summary | |
---|---|
void |
calculate()
Does a calcuation by setting the transformation and applying the transformation to the box. |
static void |
main(java.lang.String[] args)
Starts the Java application. |
void |
reset()
Resets the default values. |
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation |
---|
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuaternionApp()
Method Detail |
---|
public void calculate()
calculate
in interface Calculation
calculate
in class AbstractCalculation
public void reset()
reset
in class AbstractCalculation
public static void main(java.lang.String[] args)
args
- command line parameters
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |