Uses of Interface
org.joml.sampling.Callback2d

Packages that use Callback2d
Package
Description
Contains classes for generating sampling patterns.
  • Uses of Callback2d in org.joml.sampling

    Methods in org.joml.sampling with parameters of type Callback2d
    Modifier and Type
    Method
    Description
    void
    SpiralSampling.createEquiAngle(float radius, int numRotations, int numSamples, float jitter, Callback2d callback)
    Create numSamples number of samples on a spiral with maximum radius radius around the center using numRotations number of rotations along the spiral, and call the given callback for each sample generated.
    void
    SpiralSampling.createEquiAngle(float radius, int numRotations, int numSamples, Callback2d callback)
    Create numSamples number of samples on a spiral with maximum radius radius around the center using numRotations number of rotations along the spiral, and call the given callback for each sample generated.
    BestCandidateSampling.Disk.generate(Callback2d callback)
    Generate 'best candidate' sample positions and call the given callback for each generated sample.
    BestCandidateSampling.Quad.generate(Callback2d callback)
    Generate 'best candidate' sample positions and call the given callback for each generated sample.
    void
    StratifiedSampling.generateCentered(int n, float centering, Callback2d callback)
    Generate n * n random sample positions in the unit square of x, y = [-1..+1].
    void
    StratifiedSampling.generateRandom(int n, Callback2d callback)
    Generate n * n random sample positions in the unit square of x, y = [-1..+1].
    Constructors in org.joml.sampling with parameters of type Callback2d
    Modifier
    Constructor
    Description
     
    Disk(long seed, float diskRadius, float minDist, int k, Callback2d callback)
    Create a new instance of PoissonSampling.Disk which computes poisson-distributed samples on a disk with the given radius diskRadius and notifies the given callback for each found sample point.
     
    Disk(long seed, int numSamples, Callback2d callback)
    Create a new instance of UniformSampling.Disk, initialize the random number generator with the given seed and generate numSamples number of sample positions on the unit disk, and call the given callback for each sample generate.