 | 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
Syntaxpublic 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
)
Public Shared Sub PlotVoxelSurface2 (
gxNetShared As CGXNETCore,
mview As CMVIEW,
vox As CVOX,
value As Double,
col As Integer,
line_thick As Double,
transparency As Double,
surface_name As String
)
Public Shared Sub PlotVoxelSurface2 (
gxNetShared As CGXNETCore,
mview As CMVIEW,
vox As CVOX,
value As Double,
col As Integer,
line_thick As Double,
transparency As Double,
surface_name As String
)
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
)
static member PlotVoxelSurface2 :
gxNetShared : CGXNETCore *
mview : CMVIEW *
vox : CVOX *
value : float *
col : int *
line_thick : float *
transparency : float *
surface_name : string -> unit
static member PlotVoxelSurface2 :
gxNetShared : CGXNETCore *
mview : CMVIEW *
vox : CVOX *
value : float *
col : int *
line_thick : float *
transparency : float *
surface_name : string -> 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. - 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