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

public static enum PointSamplingConfig.Method extends Enum<PointSamplingConfig.Method>
Sampling method.
  • Enum Constant Details

    • NO_SAMPLING

      public static final PointSamplingConfig.Method NO_SAMPLING
      Fake sampling where all original mesh vertices are used.
    • RANDOM

      public static final PointSamplingConfig.Method RANDOM
      Randomly selected mesh vertices.
    • UNIFORM_SPACE

      public static final PointSamplingConfig.Method 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

      public static final PointSamplingConfig.Method 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

      public static final PointSamplingConfig.Method POISSON
      The Poisson disk sampling that produces uniform distribution of samples lying on the surface. But the samples differ from mesh vertices.
    • POISSON_OPENCL

      public static final PointSamplingConfig.Method 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

      public static final PointSamplingConfig.Method CURVATURE_MEAN
      A relevance-based point sampling using the highest mean curvature.
    • CURVATURE_GAUSSIAN

      public static final PointSamplingConfig.Method CURVATURE_GAUSSIAN
      A relevance-based point sampling using the highest Gaussian curvature.
    • CURVATURE_MAX

      public static final PointSamplingConfig.Method CURVATURE_MAX
      A relevance-based point sampling using the highest max curvature.
    • CURVATURE_MIN

      public static final PointSamplingConfig.Method CURVATURE_MIN
      A relevance-based point sampling using the highest min curvature.
  • Method Details

    • values

      public static PointSamplingConfig.Method[] 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

      public static PointSamplingConfig.Method valueOf(String name)
      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 name
      NullPointerException - if the argument is null