Click or drag to resize
CMVUPlotVoxelSurface Method
Extract an iso-surface from a voxel and plot it to a 2D or 3D view.

Available since Oasis montaj version: 6.4.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
The Marching Cubes method of Lorensen and Cline, Computer Graphics, V21, Number 4, July 1987, is used to calculate a given iso-surface in a voxel model. The resulting surface is plotted to a 2D or 3D view. If the view is 2-D, then only the intersection of the surface with the 2D surface is plotted, using lines.
Syntax
public static void PlotVoxelSurface(
	CMVIEW oMVIEW1,
	CVOX oVOX2,
	double d3,
	int i4,
	double d5
)

Parameters

oMVIEW1
Type: GeoEngine.Core.GXNetCMVIEW
View
oVOX2
Type: GeoEngine.Core.GXNetCVOX
Voxel model
d3
Type: SystemDouble
Iso-surface value
i4
Type: SystemInt32
Drawing colour
d5
Type: SystemDouble
Line thickness for line drawing, and 2D views.
See Also