| 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.GXNetXAssembly: 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
)
Public Shared Sub PlotVoxelSurface (
gxNetShared As CGXNETCore,
mview As CMVIEW,
vox As CVOX,
value As Double,
col As Integer,
line_thick As Double
)
public:
static void PlotVoxelSurface(
CGXNETCore^ gxNetShared,
CMVIEW^ mview,
CVOX^ vox,
double value,
int col,
double line_thick
)
static member PlotVoxelSurface :
gxNetShared : CGXNETCore *
mview : CMVIEW *
vox : CVOX *
value : float *
col : int *
line_thick : float -> unit
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