Public Member Functions | |
| SignDetectionMode (int value) | |
| boolean | equals (java.lang.Object other) |
| int | hashCode () |
| java.lang.String | toString () |
Static Public Member Functions | |
| static SignDetectionMode | of (int value) |
Public Attributes | |
| final int | value |
Static Public Attributes | |
| static final SignDetectionMode | Unsigned = new SignDetectionMode(0) |
| static final SignDetectionMode | OpenVDB = new SignDetectionMode(1) |
| static final SignDetectionMode | ProjectionNormal = new SignDetectionMode(2) |
| static final SignDetectionMode | OddCrossings = new SignDetectionMode(3) |
| static final SignDetectionMode | WindingRule = new SignDetectionMode(3) |
| static final SignDetectionMode | HoleWindingRule = new SignDetectionMode(4) |
how to determine the sign of distances from a mesh
The constants are static fields of this class. value holds the underlying value, so this can also hold values that aren't named constants.
| meshlib.SignDetectionMode.SignDetectionMode | ( | int | value | ) |
| boolean meshlib.SignDetectionMode.equals | ( | java.lang.Object | other | ) |
| int meshlib.SignDetectionMode.hashCode | ( | ) |
|
static |
Returns the named constant with this value, or a new instance if there's none.
| java.lang.String meshlib.SignDetectionMode.toString | ( | ) |
|
static |
computes robust winding number generalization with support of holes and self-intersections in mesh, it is the slowest sign detection mode, but it CAN be accelerated with CUDA if this mode activated e.g. in OffsetParameters.fwn
|
static |
a point is inside if the surface is crossed an odd number of times on the way from the point to infinity, triangle orientation is ignored (as InsideMeshRule.OddCrossings in makeInsideMeshVolume); for meshes with holes, the result depends on the ray direction (+X); signedDistanceToMesh casts a ray from every point, while the volume functions (e.g. meshToDistanceVolume) cast one ray per row of voxels, which is much faster; this mode does NOT have CUDA acceleration at this moment
|
static |
sign detection from OpenVDB library, which is good and fast if input geometry is closed
|
static |
the sign is determined based on pseudonormal in closest mesh point (unsafe in case of self-intersections)
|
static |
unsigned distance, useful for bidirectional Shell offset
| final int meshlib.SignDetectionMode.value |
|
static |
< old name of OddCrossings