Click or drag to resize

CMVUPlotVoxelSurface2 Method

Extract an iso-surface from a voxel and plot it to a 2D or 3D view.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void PlotVoxelSurface2(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CVOX vox,
	double value,
	int col,
	double line_thick,
	double transparency,
	string surface_name
)

public static void PlotVoxelSurface2(
	CGXNETCore gxNetShared,
	CMVIEW mview,
	CVOX vox,
	double value,
	int col,
	double line_thick,
	double transparency,
	string surface_name
)

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