Package de.gsi.dataset
Interface DataSet3D
-
- All Superinterfaces:
DataSet,EventSource
- All Known Subinterfaces:
Histogram,Histogram1D
- All Known Implementing Classes:
AbstractDataSet3D,AbstractHistogram,DoubleDataSet3D,Histogram,Histogram2
public interface DataSet3D extends DataSet
ADataSetextension used to represent 3-dimensional data points.- Author:
- gkruk, rstein
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetXDataCount()Returns number of X coordinates.intgetYDataCount()Returns number of Y coordinates.doublegetZ(int xIndex, int yIndex)Returns Z coordinate for the specified data point.DataRangegetZRange()Returns data range of Z values.voidset(int xIndex, int yIndex, double x, double y, double z)Changes a data point at specified index to new values.-
Methods inherited from interface de.gsi.dataset.DataSet
getDataCount, getDataCount, getDataLabel, getName, getStyle, getStyle, getUndefValue, getValue, getX, getXIndex, getXMax, getXMin, getXValues, getY, getYIndex, getYMax, getYMin, getYValues, isAutoNotification, lock, setAutoNotifaction, setStyle, unlock
-
Methods inherited from interface de.gsi.dataset.event.EventSource
addListener, invokeListener, invokeListener, removeListener, updateEventListener
-
-
-
-
Method Detail
-
getZ
double getZ(int xIndex, int yIndex)Returns Z coordinate for the specified data point.- Parameters:
xIndex- index of X coordinateyIndex- index of Y coordinate- Returns:
- Z coordinate
-
getZRange
DataRange getZRange()
Returns data range of Z values.- Returns:
- data range of Z values.
-
set
void set(int xIndex, int yIndex, double x, double y, double z)Changes a data point at specified index to new values.- Parameters:
xIndex- the x-axis coordinate index of the data point to be changedyIndex- the y-axis coordinate index of the data point to be changedx- X coordinatey- Y coordinatez- value on the z-axis
-
getXDataCount
int getXDataCount()
Returns number of X coordinates.- Returns:
- the number of y axis bins
-
getYDataCount
int getYDataCount()
Returns number of Y coordinates.- Returns:
- the number of y axis bins
-
-