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, zeroBarCompensationFields inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
chart_, model_, pointSprite_ -
Constructor Summary
ConstructorsConstructorDescriptionWEquidistantGridData(WAbstractItemModel model, double XMin, double deltaX, double YMin, double deltaY) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbarDataFromModel(List<ByteBuffer> simplePtsArrays) protected voidbarDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) doubleReturns the delta value of the X-axis.doubleReturns the delta value of the Y-axis.intintdoubleReturns the computed maximum value of this dataseries along the given axis.doubleReturns the computed minimum value of this dataseries along the given axis.voidsetXAbscis(double XMinimum, double deltaX) Sets the minimum and delta for the X-axis.voidsetYAbscis(double YMinimum, double deltaY) Sets the minimum and delta for the Y-axis.doubleXMinimum()Returns the minimum value of the X-axis.doubleYMinimum()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, updateGLMethods 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, setTitleMethods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, resendFormData, 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:WAbstractDataSeries3DReturns the computed minimum value of this dataseries along the given axis.- Specified by:
minimumin classWAbstractGridData- See Also:
-
maximum
Description copied from class:WAbstractDataSeries3DReturns the computed maximum value of this dataseries along the given axis.- Specified by:
maximumin 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.- See Also:
-
getDeltaX
public double getDeltaX()Returns the delta value of the X-axis.The delta is the interval between subsequent values on the axis.
- See Also:
-
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.- See Also:
-
getDeltaY
public double getDeltaY()Returns the delta value of the Y-axis.The delta is the interval between subsequent values on the axis.
- See Also:
-
getNbXPoints
public int getNbXPoints()- Specified by:
getNbXPointsin classWAbstractGridData
-
getNbYPoints
public int getNbYPoints()- Specified by:
getNbYPointsin classWAbstractGridData
-
axisLabel
- Specified by:
axisLabelin classWAbstractGridData
-
barDataFromModel
- Specified by:
barDataFromModelin classWAbstractGridData
-
barDataFromModel
protected void barDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) - Specified by:
barDataFromModelin classWAbstractGridData
-