Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
GasGridTreeMotion Class Reference

Public Types

typedef void(* GetLeafBboxesAtCallback )(void *data, const CtxEval &eval_ctx, const double &time, const unsigned int &index_count, const unsigned int *indices, GMathBbox3f *bboxes)
 
typedef void(* LeafRayHitCallback )(void *data, const unsigned int &index, const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx)
 
typedef void(* MemoryUpdateCallback )(const size_t &old_memory_usage, const size_t &new_memory_usage, void *data)
 

Public Member Functions

void configure (const GasGridTree *static_tree)
 
void update_samples (const CtxEval &eval_ctx, const CtxMotionBlur &ctx)
 
const GasGridTreeget_static_tree () const
 
const unsigned int & get_sample_count () const
 
const GasTreeMotionget_cell_tree () const
 
GMathBbox3f get_bbox (const unsigned int &sample_index) const
 
void clear ()
 
virtual size_t get_memory_size () const
 
void set_leaf_bbox_callbacks (GetLeafBboxesAtCallback get_leaf_bboxes_at_callback, void *data, const bool &allow_multithreading)
 
void set_leaf_raytrace_callbacks (LeafRayHitCallback ray_hit_callback, LeafRayHitCallback ray_hit_nearest_callback, void *data)
 
void set_leaf_raytrace_callbacks (LeafRayHitCallback ray_hit_callback, LeafRayHitCallback ray_hit_nearest_callback, LeafRayHitCallback ray_hit_nearest_vectors_callback, void *data)
 
void set_memory_update_callback (MemoryUpdateCallback memory_update_callback, void *data)
 
void ray_hit (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx) const
 
void ray_hit_nearest (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx) const
 
void cell_ray_hit (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx, const unsigned int &cell_index) const
 
void cell_ray_hit_nearest (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx, const unsigned int &cell_index) const