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
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CVOX vox,
	double value,
	int col,
	double line_thick
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
mview
Type: GeoEngine.Core.GXNetXCMVIEW
View
vox
Type: GeoEngine.Core.GXNetXCVOX
Voxel model
value
Type: SystemDouble
Iso-surface value
col
Type: SystemInt32
Drawing color
line_thick
Type: SystemDouble
Line thickness for line drawing, and 2D views.
See Also