ch.laoe.clip
Class AChannelPlotterSampleCurve

java.lang.Object
ch.laoe.clip.AObject
ch.laoe.clip.APlotter
ch.laoe.clip.AChannelPlotter
ch.laoe.clip.AChannelPlotterSampleCurve
- public class AChannelPlotterSampleCurve
- extends AChannelPlotter
This file is part of LAoE.
LAoE is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.
LAoE is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with LAoE; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Class: AChannelPlotterSampleCurve
Autor: olivier gäumann, neuchâtel (switzerland)
JDK: 1.3
Desctription: channel view.
History:
Date: Description: Autor:
28.12.00 first draft oli4
24.01.01 array-based oli4
28.03.01 bugfix in selection-painting oli4
24.06.01 new x/y-skala painting oli4
04.07.01 add white range on skalas oli4
08.07.01 don't paint skala if range=0, because
of hard VM crash !!! oli4
18.07.01 add different sample drawings, with
and without points oli4
26.07.01 3rd order interpolation on big zoom oli4
30.07.01 draw selection-dimension oli4
11.01.02 introduce intensity-points oli4
27.04.2003 "plots nothing on certain ranges" bug
fixed oli4
| Methods inherited from class ch.laoe.clip.AChannelPlotter |
getChannelModel, getRectangle, getXLength, getXOffset, getYLength, getYOffset, graphToPercentY, graphToSampleX, graphToSampleY, isInsideChannel, paintFrame, paintMarker, paintMask, paintSelection, paintXSkala, paintYSkala, percentToGraphY, sampleToGraphX, sampleToGraphY, setDefaultName, setRectangle, setXRange, setYRange, translateXOffset, translateYOffset, zoomX, zoomY |
style
private int style
FILLED
public static final int FILLED
- See Also:
- Constant Field Values
DRAWED
public static final int DRAWED
- See Also:
- Constant Field Values
spline
private ch.laoe.operation.AOSpline spline
x
float[] x
y
float[] y
AChannelPlotterSampleCurve
public AChannelPlotterSampleCurve(AModel m,
AChannelPlotter p)
- constructor
getAutoscaleXOffset
public float getAutoscaleXOffset()
- Specified by:
getAutoscaleXOffset in class AChannelPlotter
getAutoscaleXLength
public float getAutoscaleXLength()
- Specified by:
getAutoscaleXLength in class AChannelPlotter
getAutoscaleYOffset
public float getAutoscaleYOffset(int xOffset,
int xLength)
- Specified by:
getAutoscaleYOffset in class AChannelPlotter
getAutoscaleYLength
public float getAutoscaleYLength(int xOffset,
int xLength)
- Specified by:
getAutoscaleYLength in class AChannelPlotter
getValidYOffset
protected float getValidYOffset()
- Specified by:
getValidYOffset in class AChannelPlotter
getValidYLength
protected float getValidYLength()
- Specified by:
getValidYLength in class AChannelPlotter
setStyle
public void setStyle(int style)
- set the style of the sample curve
paintSamples
public void paintSamples(java.awt.Graphics2D g2d,
java.awt.Color color)
- Description copied from class:
AChannelPlotter
- paint the sample-curve
- Specified by:
paintSamples in class AChannelPlotter