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

Available since Oasis montaj version: 7.3.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 PlotVoxelSurface2(
	CMVIEW oMVIEW1,
	CVOX oVOX2,
	double d3,
	int i4,
	double d5,
	double d6,
	string str7
)

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.
d6
Type: SystemDouble
Transparency (0 - transparent, 1 - opaque).
str7
Type: SystemString
Iso-surface name
See Also