Enum Class PointSamplingConfig.Method
java.lang.Object
java.lang.Enum<PointSamplingConfig.Method>
cz.fidentis.analyst.engines.sampling.PointSamplingConfig.Method
- All Implemented Interfaces:
Serializable
,Comparable<PointSamplingConfig.Method>
,Constable
- Enclosing class:
PointSamplingConfig
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 ConstantDescriptionA relevance-based point sampling using the highest Gaussian curvature.A relevance-based point sampling using the highest max curvature.A relevance-based point sampling using the highest mean curvature.A relevance-based point sampling using the highest min curvature.Fake sampling where all original mesh vertices are used.The Poisson disk sampling that produces uniform distribution of samples lying on the surface.The Poisson disk sampling that produces uniform distribution of samples lying on the surface.Randomly selected mesh vertices.The mesh is uniformly divided into a 3D grid, then the average position (centroid) in each non-empty cell is used as the sample.The mesh is uniformly divided into a 3D grid, then a random mesh vertex in each non-empty cell is used as the sample. -
Method Summary
Modifier and TypeMethodDescriptionstatic PointSamplingConfig.Method
Returns the enum constant of this class with the specified name.static PointSamplingConfig.Method[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_SAMPLING
Fake sampling where all original mesh vertices are used. -
RANDOM
Randomly selected mesh vertices. -
UNIFORM_SPACE
The mesh is uniformly divided into a 3D grid, then the average position (centroid) in each non-empty cell is used as the sample. It means that samples may not lie on the mesh surface. -
UNIFORM_SURFACE
The mesh is uniformly divided into a 3D grid, then a random mesh vertex in each non-empty cell is used as the sample. It means that samples lie on the mesh surface. -
POISSON
The Poisson disk sampling that produces uniform distribution of samples lying on the surface. But the samples differ from mesh vertices. -
POISSON_OPENCL
The Poisson disk sampling that produces uniform distribution of samples lying on the surface. But the samples differ from mesh vertices - Uses OpenCL to perform RayIntersection -
CURVATURE_MEAN
A relevance-based point sampling using the highest mean curvature. -
CURVATURE_GAUSSIAN
A relevance-based point sampling using the highest Gaussian curvature. -
CURVATURE_MAX
A relevance-based point sampling using the highest max curvature. -
CURVATURE_MIN
A relevance-based point sampling using the highest min curvature.
-
-
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
-