Code Documentation
CalculateVertexSmoothingWeights Method (busyWindow, mesh, distanceThreshold, minimumWeight, maximumOccuringTopologyDepth, distanceToArtifacts)
Visualisierung2Visualisierung2.MeshProcessingMeshSmootherCalculateVertexSmoothingWeights(BusyWindow, Mesh, Single, Single, Int32, array<Single>[]()[][])
Staircase-Aware Smoothing of Medical Surface Meshes
Calculates the staircase-aware smoothing weights based on the distance of each vertex to an artifact vertex.
Declaration Syntax
C#Visual BasicVisual C++
public static float[] CalculateVertexSmoothingWeights(
	BusyWindow busyWindow,
	Mesh mesh,
	float distanceThreshold,
	float minimumWeight,
	int maximumOccuringTopologyDepth,
	float[] distanceToArtifacts
Public Shared Function CalculateVertexSmoothingWeights ( _
	busyWindow As BusyWindow, _
	mesh As Mesh, _
	distanceThreshold As Single, _
	minimumWeight As Single, _
	maximumOccuringTopologyDepth As Integer, _
	distanceToArtifacts As Single() _
) As Single()
static array<float>^ CalculateVertexSmoothingWeights(
	BusyWindow^ busyWindow, 
	Mesh^ mesh, 
	float distanceThreshold, 
	float minimumWeight, 
	int maximumOccuringTopologyDepth, 
	array<float>^ distanceToArtifacts
busyWindow (BusyWindow)
If a BusyWindow instance is provided, the progress of the method is shown there. May be null.
mesh (Mesh)
The mesh to be processed.
distanceThreshold (Single)
Limits the maximum distance of a vertex to an artifact vertex that is considered.
minimumWeight (Single)
The output is guaranteed to be at least this value, i.e. additionally to the staircase-aware smoothing, uniform smoothing can be controlled with this parameter.
maximumOccuringTopologyDepth (Int32)
The highest topological distance of any vertex to an artifact vertex. The upper limit is MaximumTopologyDepth.
distanceToArtifacts (array<Single>[]()[][])
Per-vertex topological distance to the closest artifact vertex.
Return Value
The per-vertex staircase-aware smoothing weight.

Assembly: Visualisierung2 (Module: Visualisierung2) Version: (