Blender  V3.3
Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PMJ_Generator Class Reference
Inheritance diagram for PMJ_Generator:
PMJ02_Generator

Static Public Member Functions

static void generate_2D (float2 points[], int size, int rng_seed_in)
 

Protected Member Functions

 PMJ_Generator (int rnd_seed_in)
 
float rnd ()
 
virtual void mark_occupied_strata (float2 points[], int N)
 
virtual void generate_sample_point (float2 points[], float i, float j, float xhalf, float yhalf, int n, int N)
 
void extend_sequence_even (float2 points[], int N)
 
void extend_sequence_odd (float2 points[], int N)
 

Protected Attributes

std::vector< booloccupied1Dx
 
std::vector< booloccupied1Dy
 
int num_samples
 
int rnd_index
 
int rnd_seed
 

Detailed Description

Definition at line 41 of file jitter.cpp.

Constructor & Destructor Documentation

◆ PMJ_Generator()

PMJ_Generator::PMJ_Generator ( int  rnd_seed_in)
inlineprotected

Definition at line 57 of file jitter.cpp.

Member Function Documentation

◆ extend_sequence_even()

void PMJ_Generator::extend_sequence_even ( float2  points[],
int  N 
)
inlineprotected

◆ extend_sequence_odd()

void PMJ_Generator::extend_sequence_odd ( float2  points[],
int  N 
)
inlineprotected

◆ generate_2D()

static void PMJ_Generator::generate_2D ( float2  points[],
int  size,
int  rng_seed_in 
)
inlinestatic

◆ generate_sample_point()

virtual void PMJ_Generator::generate_sample_point ( float2  points[],
float  i,
float  j,
float  xhalf,
float  yhalf,
int  n,
int  N 
)
inlineprotectedvirtual

Reimplemented in PMJ02_Generator.

Definition at line 80 of file jitter.cpp.

References N, num_samples, occupied1Dx, occupied1Dy, rnd(), float2::x, and float2::y.

Referenced by extend_sequence_even(), and extend_sequence_odd().

◆ mark_occupied_strata()

virtual void PMJ_Generator::mark_occupied_strata ( float2  points[],
int  N 
)
inlineprotectedvirtual

Reimplemented in PMJ02_Generator.

Definition at line 66 of file jitter.cpp.

References N, occupied1Dx, occupied1Dy, x, and y.

Referenced by extend_sequence_even(), and extend_sequence_odd().

◆ rnd()

float PMJ_Generator::rnd ( )
inlineprotected

Member Data Documentation

◆ num_samples

int PMJ_Generator::num_samples
protected

Definition at line 153 of file jitter.cpp.

Referenced by generate_sample_point(), and PMJ02_Generator::generate_sample_point().

◆ occupied1Dx

std::vector<bool> PMJ_Generator::occupied1Dx
protected

◆ occupied1Dy

std::vector<bool> PMJ_Generator::occupied1Dy
protected

◆ rnd_index

int PMJ_Generator::rnd_index
protected

Definition at line 154 of file jitter.cpp.

Referenced by rnd().

◆ rnd_seed

int PMJ_Generator::rnd_seed
protected

Definition at line 154 of file jitter.cpp.

Referenced by rnd().


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