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.Void* data, int dataSize, double xOffset, double xScale, double yOffset, double yScale, double zOffset, double zScale )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
width | int | Width in points of the depth map. | |||
height | int | Height in points of the depth map. | |||
type | int | Data type of a point value used by the depth map. | |||
pitch | int | Offset in bytes between the beginnings of the scan lines in the map data. | |||
data | System.Void* | Pointer to the beginning of the depth map data buffer (with single value of specified type per point), | |||
dataSize | int | Size of the data buffer in bytes. | |||
xOffset | double | X coordinate of the absolute offset of the first map point. | |||
xScale | double | Scaling factor along X axis of depth map coordinates. | |||
yOffset | double | Y coordinate of the absolute offset of the first map point. | |||
yScale | double | Scaling factor along Y axis of depth map coordinates. | |||
zOffset | double | Z coordinate of the absolute offset of the first map point. | |||
zScale | double | Scaling factor along Z axis of depth map coordinates. |
Function Overrides
- SetSurface(Surface)
- SetSurface(Int32, Int32, Int32, Int32, IntPtr, Int32, Double, Double, Double, Double, Double, Double)