public class DoubleDataSet3D extends AbstractDataSet3D<DoubleDataSet3D>
TAG_GAIN_RANGE, TAG_OVERSHOOT, TAG_UNDERSHOOT| Constructor and Description |
|---|
DoubleDataSet3D(String name) |
DoubleDataSet3D(String name,
double[][] zValues) |
DoubleDataSet3D(String name,
double[] xValues,
double[] yValues,
double[][] zValues) |
DoubleDataSet3D(String name,
int dimX,
int dimY) |
| Modifier and Type | Method and Description |
|---|---|
DoubleDataSet3D |
clearData()
clears all data points
|
protected static void |
fillArray(double[] array,
int indexStart,
int indexStop,
double value)
fast filling of an array with a default value
initialize a smaller piece of the array and use the System.arraycopy call to fill in the rest of the array in an expanding binary fashion |
double |
get(int dimIndex,
int index)
Gets the x value of the data point with the index i
|
int |
getDataCount(int dimIndex)
Get the number of data points in the data set for a specific dimension.
|
String |
getStyle(int index)
A string representation of the CSS style associated with this specific
DataSet data point. |
double[] |
getValues(int dimIndex) |
double |
getX(int i)
Gets the x value of the data point with the index i
|
double |
getZ(int xIndex,
int yIndex)
Returns Z coordinate for the specified data point.
|
double[][] |
getZValues() |
void |
set(double[] xValues,
double[] yValues,
double[][] zValues)
overwrites/replaces data points with new coordinates
|
void |
set(int xIndex,
int yIndex,
double z) |
void |
set(int xIndex,
int yIndex,
double x,
double y,
double z) |
void |
setX(int xIndex,
double x) |
void |
setY(int yIndex,
double y) |
getDataCount, recomputeLimitsaddDataLabel, addDataStyle, autoNotification, binarySearch, clearMetaInfo, equalDataLabels, equalEditConstraints, equalErrorValues, equalMetaData, equals, equals, equalValues, fireInvalidated, getAxisDescriptions, getDataLabel, getDataLabelMap, getDataStyleMap, getDimension, getEditConstraints, getErrorList, getIndex, getInfoList, getMetaInfo, getName, getThis, getWarningList, hashCode, lock, minNeigbourSearchX, removeDataLabel, removeStyle, setEditConstraints, setName, toString, updateEventListenergetStyle, setStyleclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDimensiongetValue, getValue, getXIndex, getXValues, getY, getYIndex, getYValuesgetAxisDescription, getAxisDescriptions, getDataLabel, getIndex, getName, getStyle, lock, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerpublic DoubleDataSet3D(String name)
name - of data setpublic DoubleDataSet3D(String name, double[] xValues, double[] yValues, double[][] zValues)
name - of data setxValues - array containing new X coordinatesyValues - array containing new X coordinateszValues - array containing new X coordinatespublic DoubleDataSet3D(String name, double[][] zValues)
name - of data setzValues - array containing new X coordinatespublic DoubleDataSet3D(String name, int dimX, int dimY)
name - of data setdimX - horizontal binning dimension (equidistant model)dimY - vertical binning dimension (equidistant model)public DoubleDataSet3D clearData()
public int getDataCount(int dimIndex)
DataSetdimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')public String getStyle(int index)
AbstractDataSetDataSet data point. @see
#getStyle()getStyle in interface DataSetgetStyle in class AbstractDataSet<DoubleDataSet3D>index - the index of the specific data pointpublic final double get(int dimIndex,
int index)
DataSetdimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')index - data point indexpublic double getX(int i)
DataSet2Di - the data point indexpublic double[] getValues(int dimIndex)
dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')public double getZ(int xIndex,
int yIndex)
DataSet3DxIndex - index of X coordinateyIndex - index of Y coordinatepublic double[][] getZValues()
public void set(double[] xValues,
double[] yValues,
double[][] zValues)
xValues - array containing new X coordinatesyValues - array containing new X coordinateszValues - array containing new X coordinatespublic void set(int xIndex,
int yIndex,
double z)
xIndex - index of the to be modified pointyIndex - index of the to be modified pointz - new Z coordinatepublic void set(int xIndex,
int yIndex,
double x,
double y,
double z)
public void setX(int xIndex,
double x)
xIndex - index of the to be modified pointx - new X coordinatepublic void setY(int yIndex,
double y)
yIndex - index of the to be modified pointy - new Y coordinateprotected static void fillArray(double[] array,
int indexStart,
int indexStop,
double value)
array - to be initializedindexStart - the first index to be set (inclusive)indexStop - the last index to be set (exclusive)value - the value for each to be set elementCopyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.