TX
- The type of the X-DataTY
- The type of the Y-DataTZ
- The type of the Z-Datapublic abstract class FreeSurfaceDataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>> extends DataSeries3D<TX,TY,TZ> implements IFreeSurfaceDataSeries3DValues<TX,TY,TZ>
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.model.DoubleValues |
cachedXValues |
protected com.scichart.core.model.DoubleValues |
cachedYValues |
protected com.scichart.core.model.DoubleValues |
cachedZValues |
protected MeshIndexCalculator |
indexCalculator |
protected boolean |
isCachedValuesDirty |
lock, OPERATION_NOT_SUPPORTED_MESSAGE, xMath, xType, yMath, yType, zMath, zType
Modifier | Constructor and Description |
---|---|
protected |
FreeSurfaceDataSeries3D(java.lang.Class<TX> xType,
java.lang.Class<TY> yType,
java.lang.Class<TZ> zType,
int uSize,
int vSize,
double uMin,
double uMax,
double vMin,
double vMax)
Creates a new
FreeSurfaceDataSeries3D instance |
Modifier and Type | Method and Description |
---|---|
void |
clear(boolean retainCapacity) |
void |
clearCachedValues(boolean retainCapacity)
|
int |
getCount() |
TX |
getOffsetX()
Gets a data offset by X axis of the Surface.
|
TY |
getOffsetY()
Gets a data offset by Y axis of the Surface.
|
TZ |
getOffsetZ()
Gets a data offset by Z axis of the Surface.
|
int |
getUSize()
Gets number of U segments of the 2D grid
|
int |
getVSize()
Gets number of V segments of the 2D grid
|
protected abstract void |
internalUpdateXyzCachedValues(com.scichart.core.model.DoubleValues cachedXValues,
com.scichart.core.model.DoubleValues cachedYValues,
com.scichart.core.model.DoubleValues cachedZValues)
Updates specified
DoubleValues instances with latest data |
void |
setOffsetX(TX offsetX)
Sets a data offset by X axis of the Surface.
|
void |
setOffsetY(TY offsetY)
Sets a data offset by Y axis of the Surface.
|
void |
setOffsetZ(TZ offsetZ)
Sets a data offset by Z axis of the Surface.
|
void |
toXyzDoubleValues(com.scichart.core.model.DoubleValues xValues,
com.scichart.core.model.DoubleValues yValues,
com.scichart.core.model.DoubleValues zValues)
Updates specified values with values provided by this
IXyzDataSeries3DValues instance |
protected void |
tryUpdateCachedValues()
|
protected void |
updateXRange(com.scichart.data.model.IRange<TX> xRange)
Sets the total extents of the
IDataSeries3D in the X direction. |
protected void |
updateYRange(com.scichart.data.model.IRange<TY> yRange)
Sets the total extents of the
IDataSeries3D in the Y direction. |
protected void |
updateZRange(com.scichart.data.model.IRange<TZ> zRange)
Sets the total extents of the
IDataSeries3D in the Z direction. |
getLock, getXMath, getXRange, getYMath, getYRange, getZMath, getZRange
addObserver, clear, getHasValues, getSeriesName, onDataSeriesChanged, removeObserver, setSeriesName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final MeshIndexCalculator indexCalculator
protected final com.scichart.core.model.DoubleValues cachedXValues
protected final com.scichart.core.model.DoubleValues cachedYValues
protected final com.scichart.core.model.DoubleValues cachedZValues
protected volatile boolean isCachedValuesDirty
protected FreeSurfaceDataSeries3D(java.lang.Class<TX> xType, java.lang.Class<TY> yType, java.lang.Class<TZ> zType, int uSize, int vSize, double uMin, double uMax, double vMin, double vMax)
FreeSurfaceDataSeries3D
instancexType
- The type of X-DatayType
- The type of Y-DatazType
- The type of Z-DatauSize
- The uSize of the 2D gridvSize
- The vSize of the 2D griduMin
- The minimum value of U component of the 2D griduMax
- The maximum value of U component of the 2D gridvMin
- The minimum value of V component of the 2D gridvMax
- The maximum value of V component of the 2D gridpublic final int getUSize()
public final int getVSize()
public final int getCount()
getCount
in interface com.scichart.charting.model.dataSeries.IDataSeriesCore
public final TX getOffsetX()
getOffsetX
in interface IFreeSurfaceDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
public final void setOffsetX(TX offsetX)
offsetX
- The new offsetXpublic final TY getOffsetY()
getOffsetY
in interface IFreeSurfaceDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
public final void setOffsetY(TY offsetY)
offsetY
- The new offsetYpublic final TZ getOffsetZ()
getOffsetZ
in interface IFreeSurfaceDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
public final void setOffsetZ(TZ offsetZ)
offsetZ
- The new offsetZpublic void clearCachedValues(boolean retainCapacity)
retainCapacity
- If true series resets internal lists to zero size, otherwise internal arrays are recreatedpublic void clear(boolean retainCapacity)
clear
in interface com.scichart.charting.model.dataSeries.IDataSeriesCore
public final void toXyzDoubleValues(com.scichart.core.model.DoubleValues xValues, com.scichart.core.model.DoubleValues yValues, com.scichart.core.model.DoubleValues zValues)
IXyzDataSeries3DValues
instancetoXyzDoubleValues
in interface IXyzDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
xValues
- The xValues to setyValues
- The yValues to setzValues
- The zValues to setprotected final void tryUpdateCachedValues()
cachedXValues
, cachedYValues
and cachedZValues
.
If isCachedValuesDirty
flag is true updates cached value, otherwise does nothingprotected abstract void internalUpdateXyzCachedValues(com.scichart.core.model.DoubleValues cachedXValues, com.scichart.core.model.DoubleValues cachedYValues, com.scichart.core.model.DoubleValues cachedZValues)
DoubleValues
instances with latest datacachedXValues
- The DoubleValues
for storing cached xValuescachedYValues
- The DoubleValues
for storing cached yValuescachedZValues
- The DoubleValues
for storing cached zValuesprotected void updateXRange(com.scichart.data.model.IRange<TX> xRange)
IDataSeries3D
in the X direction.updateXRange
in class DataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
xRange
- The range to setprotected void updateYRange(com.scichart.data.model.IRange<TY> yRange)
IDataSeries3D
in the Y direction.updateYRange
in class DataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
yRange
- The range to setprotected void updateZRange(com.scichart.data.model.IRange<TZ> zRange)
IDataSeries3D
in the Z direction.updateZRange
in class DataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
zRange
- The range to set