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 | Public Attributes | List of all members
CtxMotionBlur Class Reference

Public Types

enum  SamplingMode {
  SAMPLING_STRATIFIED,
  SAMPLING_RANDOM,
  SAMPLING_STRATIFIED_JITTER,
  SAMPLING_BLUE_NOISE
}
 
enum  DirectionMode {
  DIRECTION_BACKWARD = -1,
  DIRECTION_CENTERED = 0,
  DIRECTION_FORWARD = 1
}
 
typedef unsigned int Key
 

Public Member Functions

void disable ()
 
void init (const unsigned int &sample_count, const DirectionMode &direction, const double &length, const double &time, const double &fps)
 
void init (const AppBase &app, const double &fps)
 
const GMathTimeSamplingget_time_sampling () const
 
const unsigned int & get_sample_count () const
 
bool is_enabled () const
 
bool is_disabled () const
 
const Key & get_key () const
 
const unsigned int & get_slot_index () const
 
double get_frame_time () const
 
double get_frame_begin () const
 
double get_frame_end () const
 
double get_frame_duration () const
 
double get_span_duration () const
 
double time_to_weight (const double &time) const
 deprecated
 
double delta_time_to_weight (const double &delta_time) const
 deprecated
 
double weight_to_time (const double &weight) const
 deprecated
 
double weight_to_delta_time (const double &weight) const
 deprecated
 
double abs_to_local_time (const double &abs_time) const
 
double abs_to_delta_time (const double &abs_time) const
 
double delta_to_local_time (const double &delta_time) const
 
double delta_to_abs_time (const double &delta_time) const
 
double local_to_delta_time (const double &local_time) const
 
double local_to_abs_time (const double &local_time) const
 
void get_time_span (const double &time, unsigned int &span_index, double &span_t) const
 
void get_delta_time_span (const double &delta_time, unsigned int &span_index, double &span_t) const
 
void get_local_time_span (const double &local_time, unsigned int &span_index, double &span_t) const
 
void init_raytrace_ctx (GeometryRaytraceCtx &ctx) const
 

Static Public Member Functions

static Key make_key (const unsigned int &sample_count, const DirectionMode &direction, const double &length)
 
static unsigned int get_slot_count ()
 
static unsigned int get_slot_index (const Key &key)
 
static unsigned int insert_key (AppBase &app, const Key &key)
 
static unsigned int remove_key (const Key &key)
 
static Key remove_slot_key (const unsigned int &slot_index)
 

Public Attributes

bool compute_vectors