OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    OpenGl_HaltonSampler Class Reference

    Compute points of the Halton sequence with digit-permutations for different bases. More...

    #include <OpenGl_HaltonSampler.hxx>

    Public Member Functions

     OpenGl_HaltonSampler ()
     Init the permutation arrays using Faure-permutations.
    float sample (unsigned theDimension, unsigned theIndex) const
     Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions().

    Static Public Member Functions

    static unsigned get_num_dimensions ()
     Return the number of supported dimensions.

    Detailed Description

    Compute points of the Halton sequence with digit-permutations for different bases.

    Constructor & Destructor Documentation

    ◆ OpenGl_HaltonSampler()

    OpenGl_HaltonSampler::OpenGl_HaltonSampler ( )
    inline

    Init the permutation arrays using Faure-permutations.

    Member Function Documentation

    ◆ get_num_dimensions()

    unsigned OpenGl_HaltonSampler::get_num_dimensions ( )
    inlinestatic

    Return the number of supported dimensions.

    ◆ sample()

    float OpenGl_HaltonSampler::sample ( unsigned theDimension,
    unsigned theIndex ) const
    inline

    Return the Halton sample for the given dimension (component) and index. The client must have called initFaure() at least once before. dimension must be smaller than the value returned by get_num_dimensions().


    The documentation for this class was generated from the following file: