iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIDisplaceableFreeSurfaceDataSeries3D
@interface SCIDisplaceableFreeSurfaceDataSeries3D
: SCIFreeSurfaceDataSeries3D <ISCIDisplaceableFreeSurfaceDataSeries3DValues>
2D grid based free shaped 3D surface with displacement.
Warning
Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.-
Initializer for this instance of
SCIFreeSurfaceDataSeries3D.Declaration
Objective-C
- (nonnull instancetype)initWithXType:(SCIDataType)xType yType:(SCIDataType)yType zType:(SCIDataType)zType displacementType:(SCIDataType)displacementType uSize:(NSInteger)uSize vSize:(NSInteger)vSize uMin:(double)uMin uMax:(double)uMax vMin:(double)vMin vMax:(double)vMax;Swift
init(xType: SCIDataType, yType: SCIDataType, zType: SCIDataType, displacementType: SCIDataType, uSize: Int, vSize: Int, uMin: Double, uMax: Double, vMin: Double, vMax: Double)Parameters
xTypeThe type of X data.
yTypeThe type of Y data.
zTypeThe type of Z data.
displacementTypeThe type of displacement data.
uSizeThe uSize of the 2D grid.
vSizeThe vSize of the 2D grid.
uMinThe minimum value of U component of the 2D grid.
uMaxThe maximum value of U component of the 2D grid.
vMinThe minimum value of V component of the 2D grid.
vMaxThe maximum value of V component of the 2D grid.
-
Sets the displacement at specified position.
Declaration
Objective-C
- (void)setDisplacement:(nonnull id<ISCIComparable>)displacement uIndex:(NSInteger)uIndex vIndex:(NSInteger)vIndex;Parameters
uIndexThe uIndex of point to update.
vIndexThe vIndex of point to update.
displacementThe new yValue.
-
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 SCIGridData in the Z-direction.
Declaration
Objective-C
- (void)pushArrayRow:(nonnull NSArray *)array;Parameters
arrayThe row with new values.
-
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 SCIGridData in the Z-direction.
Declaration
Objective-C
- (void)pushValuesRow:(nonnull id<ISCIValues>)values;Swift
func push(_ values: any ISCIValues)Parameters
valuesThe row with new values.
-
Sets the row at the specified Z index.
Declaration
Objective-C
- (void)setArrayRow:(nonnull NSArray<id<ISCIComparable>> *)row at:(NSInteger)index;Parameters
indexThe z-index to use.
rowThe row with new values.
-
Sets the row at the specified Z index.
Declaration
Objective-C
- (void)setValuesRow:(nonnull id<ISCIValues>)row at:(NSInteger)index;Swift
func set(_ row: any ISCIValues, at index: Int)Parameters
indexThe z-index to use.
rowThe row with new values.
-
Copies array to this instance.
Declaration
Objective-C
- (void)copyFromArray:(nonnull NSArray<id<ISCIComparable>> *)array;Parameters
arrayThe array to copy from.
-
Copies values to this instance.
Declaration
Objective-C
- (void)copyFromValues:(nonnull id<ISCIValues>)values;Swift
func copy(from values: any ISCIValues)Parameters
valuesValues to copy from.
View on GitHub