Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Types | Protected Member Functions | List of all members
Sampler2d Class Reference
Inheritance diagram for Sampler2d:
HaltonSampler2d HammersleySampler2d HierarchicalSampler2d StratifiedSampler2d

Public Member Functions

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
 

Protected Types

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

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)