Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::GeoBlueNoise

class GeoBlueNoise Adapted from: Bridson, Robert, "Fast Poisson Sampling in Arbitrary Dimensions", ACM SIGGRAPH 2007 sketches

Functions

NameDescription
DoSampling2D()

Create a set of samples from the current config.

GeoBlueNoise(float, v128, u32, u32)

Constructor.

GeoBlueNoise(float, float, u32, u32)

Constructor.

GetMaxRadius()

Actual largest distance between any sample and it's nearest neighbour.

GetMaxSamples()

Maximum possible number of samples given curren config.

GetMinRadius()

Actual smallest distance between any two samples in current set.

GetNumSamples()

Actual number of samples in current set.

GetRadius()

Current poisson noise distribution radius.

GetSamples()

Get access to the current set of samples generated.

Setup(bool, float, v128, u32, u32)

Set the current noise parameters.

Setup(float, v128, u32, u32)

Set the current noise parameters.

Setup(float, float, u32, u32)

Set the current noise parameters.


Anchor
ae737a257d5d8fded4a4691be2ca85928
ae737a257d5d8fded4a4691be2ca85928

void Geo::GeoBlueNoise::DoSampling2D

...

public: void DoSampling2D()

...

Create a set of samples from the current config.


Anchor
a9e8bab277ff7130c8c8565d566859b9a
a9e8bab277ff7130c8c8565d566859b9a

Geo::GeoBlueNoise::GeoBlueNoise

...

public: GeoBlueNoise
(
    float radius,
    v128 extent,
    u32 maxSampleAttempts,
    u32 seed
)

...

Constructor.


Anchor
a137e29a867d98273d330da1c2ccc8e01
a137e29a867d98273d330da1c2ccc8e01

Geo::GeoBlueNoise::GeoBlueNoise

...

public: GeoBlueNoise
(
    float radius,
    float discRadius,
    u32 maxSampleAttempts,
    u32 seed
)

...

Constructor.


Anchor
a4d6503966947c5f1109eefd77df7a555
a4d6503966947c5f1109eefd77df7a555

float Geo::GeoBlueNoise::GetMaxRadius

...

public: float GetMaxRadius() const

...

Actual largest distance between any sample and it's nearest neighbour.


Anchor
aba522533c1d609cd2cc2144770dec1fb
aba522533c1d609cd2cc2144770dec1fb

s32 Geo::GeoBlueNoise::GetMaxSamples

...

public: s32 GetMaxSamples() const

...

Maximum possible number of samples given curren config.


Anchor
a6906418150d5ab1869ecb1c5f87a080c
a6906418150d5ab1869ecb1c5f87a080c

float Geo::GeoBlueNoise::GetMinRadius

...

public: float GetMinRadius() const

...

Actual smallest distance between any two samples in current set.


Anchor
a0b51d0568a8efd50ef717082df194359
a0b51d0568a8efd50ef717082df194359

s32 Geo::GeoBlueNoise::GetNumSamples

...

public: s32 GetNumSamples() const

...

Actual number of samples in current set.


Anchor
a993c8f53070145dfdee44b7d52220e08
a993c8f53070145dfdee44b7d52220e08

float Geo::GeoBlueNoise::GetRadius

...

public: float GetRadius() const

...

Current poisson noise distribution radius.


Anchor
a286e363acce92a87dea7d0f07c7dc64d
a286e363acce92a87dea7d0f07c7dc64d

const GeoArray<v128>& Geo::GeoBlueNoise::GetSamples

...

public: const GeoArray< v128 > & GetSamples() const

...

Get access to the current set of samples generated.


Anchor
a69b0d6e6ed97d3217658882c09320a6f
a69b0d6e6ed97d3217658882c09320a6f

void Geo::GeoBlueNoise::Setup

...

public: void Setup
(
    bool disc,
    float radius,
    v128 extent,
    u32 maxSampleAttempts,
    u32 seed
)

...

Set the current noise parameters.


Anchor
aa53c849ed0b96122d314b2d92645e4f7
aa53c849ed0b96122d314b2d92645e4f7

void Geo::GeoBlueNoise::Setup

...

public: void Setup
(
    float radius,
    v128 extent,
    u32 maxSampleAttempts,
    u32 seed
)

...

Set the current noise parameters.


Anchor
ace1bed57dac20c114f1d207884299e69
ace1bed57dac20c114f1d207884299e69

void Geo::GeoBlueNoise::Setup

...

public: void Setup
(
    float radius,
    float discRadius,
    u32 maxSampleAttempts,
    u32 seed
)

...

Set the current noise parameters.