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
public class WEquidistantGridData extends WAbstractGridData
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
Constructors Constructor Description WEquidistantGridData(WAbstractItemModel model, double XMin, double deltaX, double YMin, double deltaY)Constructor. - 
Method Summary
Modifier and Type Method Description WStringaxisLabel(int u, Axis axis)protected voidbarDataFromModel(java.util.List<java.nio.ByteBuffer> simplePtsArrays)protected voidbarDataFromModel(java.util.List<java.nio.ByteBuffer> simplePtsArrays, java.util.List<java.nio.ByteBuffer> coloredPtsArrays, java.util.List<java.nio.ByteBuffer> coloredPtsColors)doublegetDeltaX()Returns the delta value of the X-axis.doublegetDeltaY()Returns the delta value of the Y-axis.intgetNbXPoints()intgetNbYPoints()doublemaximum(Axis axis)Returns the computed maximum value of this dataseries along the given axis.doubleminimum(Axis axis)Returns 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
addChild, getId, getObjectName, remove, setFormData, setObjectName, trMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
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:
 WAbstractDataSeries3D.maximum(Axis axis)
 - 
maximum
Description copied from class:WAbstractDataSeries3DReturns the computed maximum value of this dataseries along the given axis.- Specified by:
 maximumin classWAbstractGridData- See Also:
 WAbstractDataSeries3D.minimum(Axis axis)
 - 
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:
 getNbXPointsin classWAbstractGridData
 - 
getNbYPoints
public int getNbYPoints()- Specified by:
 getNbYPointsin classWAbstractGridData
 - 
axisLabel
- Specified by:
 axisLabelin classWAbstractGridData
 - 
barDataFromModel
protected void barDataFromModel(java.util.List<java.nio.ByteBuffer> simplePtsArrays)- Specified by:
 barDataFromModelin classWAbstractGridData
 - 
barDataFromModel
protected void barDataFromModel(java.util.List<java.nio.ByteBuffer> simplePtsArrays, java.util.List<java.nio.ByteBuffer> coloredPtsArrays, java.util.List<java.nio.ByteBuffer> coloredPtsColors)- Specified by:
 barDataFromModelin classWAbstractGridData
 
 -