Enum Class MeshDistanceConfig.Method
java.lang.Object
java.lang.Enum<MeshDistanceConfig.Method>
cz.fidentis.analyst.engines.distance.MeshDistanceConfig.Method
- All Implemented Interfaces:
Serializable
,Comparable<MeshDistanceConfig.Method>
,Constable
- Enclosing class:
MeshDistanceConfig
Sampling method.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFast point-to-triangle distance strategy.A point-to-point algorithm.Casting rays from visited meshes in the direction of their normal vectors.Casting rays from visited meshes in the direction of their normal vectors. -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDistanceConfig.Method
Returns the enum constant of this class with the specified name.static MeshDistanceConfig.Method[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POINT_TO_TRIANGLE_NEAREST_NEIGHBORS
A point-to-point algorithm. It can produce "noise". If there are multiple closest points at the primary mesh, then it is not possible to choose which of them is correct (better). Therefore, theDouble.POSITIVE_INFINITY
value is set as the distance for this vertices. If this situation happens with human faces, we would consider this part of the face as noisy anyway, trying to avoid these parts from further processing. -
POINT_TO_POINT_NEAREST_NEIGHBORS
Fast point-to-triangle distance strategy. Produces more precise results than the point-to-point strategy, but is not geometrically correct. Can produce "noise" in the sense that it may not find the really closest triangle on "wrinkly" surfaces. If this situation happens with human faces, we would consider this part of the face as noisy anyway, trying to avoid these parts from further processing. The algorithm supports both relative and absolute distances. -
RAY_CASTING
Casting rays from visited meshes in the direction of their normal vectors. -
RAY_CASTING_GPU
Casting rays from visited meshes in the direction of their normal vectors. Runs on GPU. Available only for systems with OpenGL >= 4.3
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-