class Geo::GeoBlueNoise
class GeoBlueNoise Adapted from: Bridson, Robert, "Fast Poisson Sampling in Arbitrary Dimensions", ACM SIGGRAPH 2007 sketches
Functions
Name | Description |
---|---|
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 | ||||
---|---|---|---|---|
|
void Geo::GeoBlueNoise::DoSampling2D
...
public: void DoSampling2D()
...
Create a set of samples from the current config.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoBlueNoise::GeoBlueNoise
...
public: GeoBlueNoise
(
float radius,
v128 extent,
u32 maxSampleAttempts,
u32 seed
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
Geo::GeoBlueNoise::GeoBlueNoise
...
public: GeoBlueNoise
(
float radius,
float discRadius,
u32 maxSampleAttempts,
u32 seed
)
...
Constructor.
Anchor | ||||
---|---|---|---|---|
|
float Geo::GeoBlueNoise::GetMaxRadius
...
public: float GetMaxRadius() const
...
Actual largest distance between any sample and it's nearest neighbour.
Anchor | ||||
---|---|---|---|---|
|
s32 Geo::GeoBlueNoise::GetMaxSamples
...
public: s32 GetMaxSamples() const
...
Maximum possible number of samples given curren config.
Anchor | ||||
---|---|---|---|---|
|
float Geo::GeoBlueNoise::GetMinRadius
...
public: float GetMinRadius() const
...
Actual smallest distance between any two samples in current set.
Anchor | ||||
---|---|---|---|---|
|
s32 Geo::GeoBlueNoise::GetNumSamples
...
public: s32 GetNumSamples() const
...
Actual number of samples in current set.
Anchor | ||||
---|---|---|---|---|
|
float Geo::GeoBlueNoise::GetRadius
...
public: float GetRadius() const
...
Current poisson noise distribution radius.
Anchor | ||||
---|---|---|---|---|
|
const GeoArray<v128>& Geo::GeoBlueNoise::GetSamples
...
public: const GeoArray< v128 > & GetSamples() const
...
Get access to the current set of samples generated.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoBlueNoise::Setup
...
public: void Setup
(
bool disc,
float radius,
v128 extent,
u32 maxSampleAttempts,
u32 seed
)
...
Set the current noise parameters.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoBlueNoise::Setup
...
public: void Setup
(
float radius,
v128 extent,
u32 maxSampleAttempts,
u32 seed
)
...
Set the current noise parameters.
Anchor | ||||
---|---|---|---|---|
|
void Geo::GeoBlueNoise::Setup
...
public: void Setup
(
float radius,
float discRadius,
u32 maxSampleAttempts,
u32 seed
)
...
Set the current noise parameters.