| 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.GXNetAssembly: 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
)
Public Shared Sub PlotVoxelSurface (
oMVIEW1 As CMVIEW,
oVOX2 As CVOX,
d3 As Double,
i4 As Integer,
d5 As Double
)
public:
static void PlotVoxelSurface(
CMVIEW^ oMVIEW1,
CVOX^ oVOX2,
double d3,
int i4,
double d5
)
static member PlotVoxelSurface :
oMVIEW1 : CMVIEW *
oVOX2 : CVOX *
d3 : float *
i4 : int *
d5 : float -> unit
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