Class DisplaceableFreeSurfaceDataSeries3D<TX,TY,TZ,TDisplacement>
2D grid based free shaped 3D surface with displacement.
Inheritance
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class DisplaceableFreeSurfaceDataSeries3D<TX,TY,TZ,TDisplacement> extends dataSeries.freeSurface.FreeSurfaceDataSeries3D<TX,TY,TZ> implements dataSeries.freeSurface.IDisplaceableFreeSurfaceDataSeries3DValues<TX,TY,TZ>
Type Parameters
| Name | Description |
|---|---|
| TX | |
| TY | |
| TZ | |
| TDisplacement |
Constructors
DisplaceableFreeSurfaceDataSeries3D(Class<TX> xType, Class<TY> yType, Class<TZ> zType, Class<TDisplacement> displacementType, int uSize, int vSize, double uMin, double uMax, double vMin, double vMax)
Creates a new DisplaceableFreeSurfaceDataSeries3D instance
Declaration
protected DisplaceableFreeSurfaceDataSeries3D(Class<TX> xType, Class<TY> yType, Class<TZ> zType, Class<TDisplacement> displacementType, int uSize, int vSize, double uMin, double uMax, double vMin, double vMax)
Parameters
| Type | Name | Description |
|---|---|---|
| Class<TX> | xType | The type of X-Data |
| Class<TY> | yType | The type of Y-Data |
| Class<TZ> | zType | The type of Z-Data |
| Class<TDisplacement> | displacementType | |
| int | uSize | The uSize of the 2D grid |
| int | vSize | The vSize of the 2D grid |
| double | uMin | The minimum value of U component of the 2D grid |
| double | uMax | The maximum value of U component of the 2D grid |
| double | vMin | The minimum value of V component of the 2D grid |
| double | vMax | The maximum value of V component of the 2D grid |
Fields
displacementMap
Declaration
protected final dataSeries.GridData<TDisplacement> displacementMap
Field Value
| Type | Description |
|---|---|
| GridData<TDisplacement> |
Methods
copyFrom(IValues<TDisplacement> values)
Copies values to this instance
Declaration
public final void copyFrom(IValues<TDisplacement> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IValues<TDisplacement> | values | Values to copy from |
getDisplacementValues()
Gets Displacement Map values
Declaration
public final IDoubleValuesProvider getDisplacementValues()
Returns
| Type | Description |
|---|---|
| IDoubleValuesProvider |
pushRow(TDisplacement[] row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the GridData in the Z-direction
Declaration
public final void pushRow(TDisplacement[] row)
Parameters
| Type | Name | Description |
|---|---|---|
| TDisplacement[] | row | The row with new values |
pushRow(IValues<TDisplacement> row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the GridData in the Z-direction
Declaration
public final void pushRow(IValues<TDisplacement> row)
Parameters
| Type | Name | Description |
|---|---|---|
| IValues<TDisplacement> | row | The row with new values |
setDisplacement(int uIndex, int vIndex, TDisplacement value)
Sets the displacement at specified position
Declaration
public final void setDisplacement(int uIndex, int vIndex, TDisplacement value)
Parameters
| Type | Name | Description |
|---|---|---|
| int | uIndex | The uIndex of point to update |
| int | vIndex | The vIndex of point to update |
| TDisplacement | value | The new yValue |
setRowAt(int index, TDisplacement[] row)
Sets the row at the specified Z index
Declaration
public final void setRowAt(int index, TDisplacement[] row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The z-index to use |
| TDisplacement[] | row | The row with new values |
setRowAt(int index, IValues<TDisplacement> row)
Sets the row at the specified Z index
Declaration
public final void setRowAt(int index, IValues<TDisplacement> row)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The z-index to use |
| IValues<TDisplacement> | row | The row with new values |