Class MonoWave

java.lang.Object
  |
  +--MonoWave

public class MonoWave
extends java.lang.Object

Programm: WaveGradient
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: holds data for a monochromatic wave


Constructor Summary
MonoWave(double A, double f, double lambda)
          Constructor
 
Method Summary
 double getAmplitude()
          gets amplitude
 double getCircleFrequency()
          gets circlefrequency (omega)
 double getFrequency()
          gets frequency
 java.awt.geom.GeneralPath getHorizontalPath()
          returns GeneralPath for horizontal projection
 MonoWaveSlider getMonoWaveSlider()
          Return MonoWaveSliderobject
 double getPhase()
          gets phaseshift
 double getPsi(double x, double t)
          gets Psi
 double getRatio()
          gets ratio between SliderMaximum and Amplitude
 double getRotationDeg()
          gets rotation in degrees
 double getRotationRad()
          gets rotation in radians
 double getScale()
          gets scale
 java.awt.geom.GeneralPath getVerticalPath()
          returns GeneralPath for vertical projection
 double getWaveKey()
          gets Wavekey (k)
 double getWaveLength()
          gets wavelength
 void setAmplitude(double A)
          sets amplitude
 void setFrequency(double f)
          sets frequency
 void setHorizontalPath(java.awt.geom.GeneralPath gp)
          sets the GeneralPath for horizontal projection
 void setPhase(double phi)
          sets phaseshift
 void setRotationDeg(double rotation)
          sets rotation in Degrees
 void setRotationRad(double rotation)
          sets rotation in Radians
 void setScale(double scale)
          sets scale
 void setVerticalPath(java.awt.geom.GeneralPath gp)
          sets the GeneralPath for vertical projection
 void setWaveLength(double lambda)
          sets wavelength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonoWave

public MonoWave(double A,
                double f,
                double lambda)
Constructor

Method Detail

setVerticalPath

public void setVerticalPath(java.awt.geom.GeneralPath gp)
sets the GeneralPath for vertical projection


setHorizontalPath

public void setHorizontalPath(java.awt.geom.GeneralPath gp)
sets the GeneralPath for horizontal projection


getVerticalPath

public java.awt.geom.GeneralPath getVerticalPath()
returns GeneralPath for vertical projection


getHorizontalPath

public java.awt.geom.GeneralPath getHorizontalPath()
returns GeneralPath for horizontal projection


getMonoWaveSlider

public MonoWaveSlider getMonoWaveSlider()
Return MonoWaveSliderobject


setAmplitude

public void setAmplitude(double A)
sets amplitude


setWaveLength

public void setWaveLength(double lambda)
sets wavelength


setPhase

public void setPhase(double phi)
sets phaseshift


setFrequency

public void setFrequency(double f)
sets frequency


setScale

public void setScale(double scale)
sets scale


setRotationDeg

public void setRotationDeg(double rotation)
sets rotation in Degrees


setRotationRad

public void setRotationRad(double rotation)
sets rotation in Radians


getAmplitude

public double getAmplitude()
gets amplitude


getWaveLength

public double getWaveLength()
gets wavelength


getPhase

public double getPhase()
gets phaseshift


getFrequency

public double getFrequency()
gets frequency


getCircleFrequency

public double getCircleFrequency()
gets circlefrequency (omega)


getWaveKey

public double getWaveKey()
gets Wavekey (k)


getPsi

public double getPsi(double x,
                     double t)
gets Psi


getScale

public double getScale()
gets scale


getRotationDeg

public double getRotationDeg()
gets rotation in degrees


getRotationRad

public double getRotationRad()
gets rotation in radians


getRatio

public double getRatio()
gets ratio between SliderMaximum and Amplitude