Click or drag to resize
SoVolumeDataEditSurfaceShape Method

Replace all voxels intersecting the polygons or lines defined by the surfaceShape and given thickness with the specified value.

Namespace: OIV.VolumeViz.Nodes
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public override int EditSurfaceShape(
	SoNode surfaceShape,
	float thickness,
	double newValue
)

Parameters

surfaceShape
Type: OIV.Inventor.NodesSoNode
thickness
Type: SystemSingle
newValue
Type: SystemDouble

Return Value

Type: Int32
Remarks

surfaceShape is defined in the same 3D space as the dataSet. thickness is defined in voxels. The surfaceShape can be deleted after calling this function.

Call startEditing() before calling this method. Returns 0 if successful.

The modification may be postponed until the tiles are really needed. Therefore the surfaceShape node (and children if any) must not be modified until after saveEditing() is called.

See Also