Class RemoveOccludedTriangles
Remove "occluded" triangles, ie triangles on the "inside" of the mesh.
This is a fuzzy definition, current implementation is basically computing
something akin to ambient occlusion, and if face is fully occluded, then
we classify it as inside and remove it.
Inheritance
RemoveOccludedTriangles
Namespace: gs
Assembly: cs.temp.dll.dll
Syntax
public class RemoveOccludedTriangles
Constructors
RemoveOccludedTriangles(DMesh3)
Declaration
public RemoveOccludedTriangles(DMesh3 mesh)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
RemoveOccludedTriangles(DMesh3, DMeshAABBTree3)
Declaration
public RemoveOccludedTriangles(DMesh3 mesh, DMeshAABBTree3 spatial)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
DMeshAABBTree3 |
spatial |
|
Fields
InsideMode
Declaration
public RemoveOccludedTriangles.CalculationMode InsideMode
Field Value
Mesh
Declaration
Field Value
NormalOffset
Declaration
public double NormalOffset
Field Value
PerVertex
Declaration
Field Value
Progress
Set this to be able to cancel running remesher
Declaration
public ProgressCancel Progress
Field Value
Type |
Description |
ProgressCancel |
|
RemovedT
Declaration
public List<int> RemovedT
Field Value
RemoveFailed
Declaration
Field Value
Spatial
Declaration
public DMeshAABBTree3 Spatial
Field Value
Type |
Description |
DMeshAABBTree3 |
|
WindingIsoValue
Declaration
public double WindingIsoValue
Field Value
Methods
Apply()
Declaration
public virtual bool Apply()
Returns
Cancelled()
if this returns true, abort computation.
Declaration
protected virtual bool Cancelled()
Returns