You are here: Start » AVL.NET » View3DBox.DataItem.SetSurface Method

View3DBox.DataItem.SetSurface Method

Sets a Surface data (a depth/height map) as a point cloud data for this primitive.

Namespace:HMI.Controls
Assembly:HMI.Controls.dll

Syntax

public void SetSurface
(
	int width,
	int height,
	int type,
	int pitch,
	System.IntPtr data,
	int dataSize,
	double xOffset,
	double xScale,
	double yOffset,
	double yScale,
	double zOffset,
	double zScale
)

Parameters

Name Type Range Default Description
widthintWidth in points of the depth map.
heightintHeight in points of the depth map.
typeintData type of a point value used by the depth map.
pitchintOffset in bytes between the beginnings of the scan lines in the map data.
dataSystem.IntPtrPointer to the beginning of the depth map data buffer (with single value of specified type per point),
dataSizeintSize of the data buffer in bytes.
xOffsetdoubleX coordinate of the absolute offset of the first map point.
xScaledoubleScaling factor along X axis of depth map coordinates.
yOffsetdoubleY coordinate of the absolute offset of the first map point.
yScaledoubleScaling factor along Y axis of depth map coordinates.
zOffsetdoubleZ coordinate of the absolute offset of the first map point.
zScaledoubleScaling factor along Z axis of depth map coordinates.

Function Overrides

See also