Code Documentation
CalculateFaceOrientations Method (busyWindow, mesh, stackOrientation)
Visualisierung2Visualisierung2.MeshProcessingMeshSmootherCalculateFaceOrientations(BusyWindow, Mesh, Vector3)
Staircase-Aware Smoothing of Medical Surface Meshes
Calculates the orientation of each face of a mesh relative to a provided stack orientation as 1 - |dot(face normal, stack orientation)|.
Declaration Syntax
C#Visual BasicVisual C++
public static float[] CalculateFaceOrientations(
	BusyWindow busyWindow,
	Mesh mesh,
	Vector3 stackOrientation
)
Public Shared Function CalculateFaceOrientations ( _
	busyWindow As BusyWindow, _
	mesh As Mesh, _
	stackOrientation As Vector3 _
) As Single()
public:
static array<float>^ CalculateFaceOrientations(
	BusyWindow^ busyWindow, 
	Mesh^ mesh, 
	Vector3 stackOrientation
)
Parameters
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.
stackOrientation (Vector3)
A vector specifying the stack orientation, i.e. the direction in which the slices of a volume data set are aligned.
Return Value
The per-face orientations relative to the stack orientation.

Assembly: Visualisierung2 (Module: Visualisierung2) Version: 1.0.0.0 (1.0.0.0)