Clarisse 4.0 SP5b SDK  4.0.0.0.5.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
HierarchicalSampler2d Class Reference
Inheritance diagram for HierarchicalSampler2d:
Sampler2d

Public Types

enum  Mode {
  RANDOM,
  HAMMERSLEY,
  HALTON,
  SOBOL
}
 

Public Member Functions

 HierarchicalSampler2d (const Mode &mode=HAMMERSLEY, const unsigned int &u_dim=0, const unsigned int &v_dim=1)
 
void set_mode (const Mode &mode)
 
const Mode & get_mode () const
 
void set_dimensions (const unsigned int &u_dim, const unsigned int &v_dim)
 
void init (const unsigned int &seed, const unsigned int &count, const unsigned int &parent_count=1, const unsigned int &parent_index=0)
 
- Public Member Functions inherited from Sampler2d
void get_sample (const unsigned int &i, GMathVec2d &sample)
 
void get_all_samples (GMathVec2d *samples)
 
unsigned int get_packet_samples (const unsigned int &pi, GMathVec2d *samples, GMathVec2d &min, GMathVec2d &max)
 
const unsigned int & get_sample_count () const
 
const unsigned int & get_packet_count () const
 

Static Public Member Functions

static void init ()
 
static void destroy ()
 

Additional Inherited Members

- Protected Types inherited from Sampler2d
typedef void(* GetSampleCallback )(Sampler2d &, const unsigned int &, GMathVec2d &)
 
typedef void(* GetAllSamplesCallback )(Sampler2d &, GMathVec2d *)
 
typedef unsigned int(* GetPacketSamplesCallback )(Sampler2d &, const unsigned int &, GMathVec2d *, GMathVec2d &, GMathVec2d &)
 
- Protected Member Functions inherited from Sampler2d
void init (const unsigned int &sample_count, const unsigned int &packet_count)
 
void set_callbacks (GetSampleCallback get_sample_callback, GetAllSamplesCallback get_all_samples_callback, GetPacketSamplesCallback get_packet_samples_callback)