Class MonoWave

java.lang.Object
  |
  +--MonoWave

public class MonoWave
extends java.lang.Object

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

Info: holds data for a monochromatic wave


Constructor Summary
MonoWave(float A, float f, float lambda)
          Constructor
 
Method Summary
 float getAmplitude()
          gets amplitude
 float getCircleFrequency()
          gets circlefrequency (omega)
 float getFrequency()
          gets frequency
 java.awt.geom.GeneralPath getHorizontalPath()
          returns GeneralPath for horizontal projection
 MonoWaveSlider getMonoWaveSlider()
          Return MonoWaveSliderobject
 float getPhase()
          gets phaseshift
 float getPsi(float x, float t)
          gets Psi
 float getRatio()
          gets ratio between SliderMaximum and Amplitude
 float getRotationDeg()
          gets rotation in degrees
 float getRotationRad()
          gets rotation in radians
 float getScale()
          gets scale
 java.awt.geom.GeneralPath getVerticalPath()
          returns GeneralPath for vertical projection
 float getWaveKey()
          gets Wavekey (k)
 float getWaveLength()
          gets wavelength
 void setAmplitude(float A)
          sets amplitude
 void setFrequency(float f)
          sets frequency
 void setHorizontalPath(java.awt.geom.GeneralPath gp)
          sets the GeneralPath for horizontal projection
 void setPhase(float phi)
          sets phaseshift
 void setRotationDeg(float rotation)
          sets rotation in Degrees
 void setRotationRad(float rotation)
          sets rotation in Radians
 void setScale(float scale)
          sets scale
 void setVerticalPath(java.awt.geom.GeneralPath gp)
          sets the GeneralPath for vertical projection
 void setWaveLength(float 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(float A,
                float f,
                float 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(float A)
sets amplitude


setWaveLength

public void setWaveLength(float lambda)
sets wavelength


setPhase

public void setPhase(float phi)
sets phaseshift


setFrequency

public void setFrequency(float f)
sets frequency


setScale

public void setScale(float scale)
sets scale


setRotationDeg

public void setRotationDeg(float rotation)
sets rotation in Degrees


setRotationRad

public void setRotationRad(float rotation)
sets rotation in Radians


getAmplitude

public float getAmplitude()
gets amplitude


getWaveLength

public float getWaveLength()
gets wavelength


getPhase

public float getPhase()
gets phaseshift


getFrequency

public float getFrequency()
gets frequency


getCircleFrequency

public float getCircleFrequency()
gets circlefrequency (omega)


getWaveKey

public float getWaveKey()
gets Wavekey (k)


getPsi

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


getScale

public float getScale()
gets scale


getRotationDeg

public float getRotationDeg()
gets rotation in degrees


getRotationRad

public float getRotationRad()
gets rotation in radians


getRatio

public float getRatio()
gets ratio between SliderMaximum and Amplitude