Package eu.webtoolkit.jwt.chart
Class WEquidistantGridData
java.lang.Object
eu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
eu.webtoolkit.jwt.chart.WAbstractGridData
eu.webtoolkit.jwt.chart.WEquidistantGridData
Class representing grid-based data for on a 3D chart.
General information can be found at WAbstractDataSeries3D
. The model for this
dataseries does not contain an x- and y-axis. Instead the class derives the x- and y-values from
the minimum and delta provided in the constructor. The size of the model determines the size of
the grid. The model itself is structured as a table, where every value represents the z-value of
a data-point. The corresponding x- and y-values are calculated by adding delta times the
row/column-index to the axis-minimum.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
Field Summary
Fields inherited from class eu.webtoolkit.jwt.chart.WAbstractGridData
BAR_BUFFER_LIMIT, SURFACE_SIDE_LIMIT, zeroBarCompensation
Fields inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
chart_, model_, pointSprite_
-
Constructor Summary
ConstructorDescriptionWEquidistantGridData
(WAbstractItemModel model, double XMin, double deltaX, double YMin, double deltaY) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
barDataFromModel
(List<ByteBuffer> simplePtsArrays) protected void
barDataFromModel
(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) double
Returns the delta value of the X-axis.double
Returns the delta value of the Y-axis.int
int
double
Returns the computed maximum value of this dataseries along the given axis.double
Returns the computed minimum value of this dataseries along the given axis.void
setXAbscis
(double XMinimum, double deltaX) Sets the minimum and delta for the X-axis.void
setYAbscis
(double YMinimum, double deltaY) Sets the minimum and delta for the Y-axis.double
XMinimum()
Returns the minimum value of the X-axis.double
YMinimum()
Returns the minimum value of the Y-axis.Methods inherited from class eu.webtoolkit.jwt.chart.WAbstractGridData
changeClippingMax, changeClippingMin, deleteAllGLResources, getBarWidthX, getBarWidthY, getClippingLinesColor, getClippingMax, getClippingMin, getGlObjects, getIsoColorMap, getIsoLevels, getPen, getType, initializeGL, isClippingLinesEnabled, isSurfaceMeshEnabled, paintGL, pickBar, pickSurface, resizeGL, setBarWidth, setChart, setClippingLinesColor, setClippingLinesEnabled, setClippingMax, setClippingMin, setIsoColorMap, setIsoLevels, setPen, setSurfaceMeshEnabled, setSurfaceMeshEnabled, setType, updateGL
Methods inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
getChart, getChartpaletteColor, getColorMap, getColorMapSide, getModel, getPointSize, getPointSprite, getPointSpriteTexture, getTitle, isColorMapVisible, isHidden, isLegendEnabled, loadPointSpriteTexture, setColorMap, setColorMapSide, setColorMapVisible, setColorMapVisible, setDefaultTitle, setHidden, setHidden, setLegendEnabled, setLegendEnabled, setModel, setPointSize, setPointSprite, setTitle
Methods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, setFormData, setObjectName, tr
-
Constructor Details
-
WEquidistantGridData
public WEquidistantGridData(WAbstractItemModel model, double XMin, double deltaX, double YMin, double deltaY) Constructor.
-
-
Method Details
-
minimum
Description copied from class:WAbstractDataSeries3D
Returns the computed minimum value of this dataseries along the given axis.- Specified by:
minimum
in classWAbstractGridData
- See Also:
-
maximum
Description copied from class:WAbstractDataSeries3D
Returns the computed maximum value of this dataseries along the given axis.- Specified by:
maximum
in classWAbstractGridData
- See Also:
-
setXAbscis
public void setXAbscis(double XMinimum, double deltaX) Sets the minimum and delta for the X-axis. -
XMinimum
public double XMinimum()Returns the minimum value of the X-axis. -
getDeltaX
public double getDeltaX()Returns the delta value of the X-axis.The delta is the interval between subsequent values on the axis.
-
setYAbscis
public void setYAbscis(double YMinimum, double deltaY) Sets the minimum and delta for the Y-axis. -
YMinimum
public double YMinimum()Returns the minimum value of the Y-axis. -
getDeltaY
public double getDeltaY()Returns the delta value of the Y-axis.The delta is the interval between subsequent values on the axis.
-
getNbXPoints
public int getNbXPoints()- Specified by:
getNbXPoints
in classWAbstractGridData
-
getNbYPoints
public int getNbYPoints()- Specified by:
getNbYPoints
in classWAbstractGridData
-
axisLabel
- Specified by:
axisLabel
in classWAbstractGridData
-
barDataFromModel
- Specified by:
barDataFromModel
in classWAbstractGridData
-
barDataFromModel
protected void barDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) - Specified by:
barDataFromModel
in classWAbstractGridData
-