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 | Friends | List of all members
GasTreeMotion Class Reference

Public Types

typedef void(* LeafRayHitCallback )(void *data, const unsigned int &index, const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx)
 

Public Member Functions

const GasTreeget_static_tree () const
 
bool is_empty () const
 
const unsigned int & get_leaf_count () const
 
const unsigned int & get_node_count () const
 
const unsigned int & get_depth () const
 
const unsigned int & get_sample_count () const
 
bool is_node_a_leaf (const unsigned int &index) const
 
unsigned int get_leaf_value (const unsigned int &index) const
 
void get_node_children (const unsigned int &index, unsigned int &left_index, unsigned int &right_index) const
 
void get_blurred_node_bbox (const unsigned int &node_index, const unsigned int &sample_index, GMathBbox3f &bbox) const
 
void configure (const GasTree *static_tree, const unsigned int &sample_count)
 
bool set_sample (const unsigned int &sample_index, const CoreBasicArray< GMathBbox3f > &bboxes, const CoreBasicArray< unsigned int > &bbox_indices=CoreBasicArray< unsigned int >(0, 0))
 
GMathBbox3f get_bbox (const unsigned int &sample_index) const
 
void get_leaf_bboxes (const unsigned int &sample_index, GMathBbox3f *bboxes) const
 
void get_leaf_bboxes (const unsigned int &sample_index, CoreArray< GMathBbox3f > &bboxes) const
 
void get_leaf_bboxes (const unsigned int &span_i, const float &span_t, GMathBbox3f *bboxes) const
 
void get_leaf_bboxes (const unsigned int &span_i, const float &span_t, CoreArray< GMathBbox3f > &bboxes) const
 
void get_clusters_bboxes (const unsigned int &sample_index, const CoreBasicArray< void * > &clusters, GMathBbox3f *bboxes) const
 
void get_clusters_bboxes (const unsigned int &span_i, const float &span_t, const CoreBasicArray< void * > &clusters, GMathBbox3f *bboxes) const
 
void get_node_bboxes (const unsigned int &sample_index, const CoreBasicArray< unsigned int > &indices, GMathBbox3f *bboxes) const
 
void get_node_bboxes (const unsigned int &span_i, const float &span_t, const CoreBasicArray< unsigned int > &indices, GMathBbox3f *bboxes) const
 
void clear ()
 
virtual size_t get_memory_size () const
 
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 ray_hit (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx, const bool &use_shortcut=true) const
 
void ray_hit_nearest (const CtxEval &eval_ctx, CtxShader &shader_ctx, GeometryRaytraceCtx &raytrace_ctx, const bool &use_shortcut=true) const
 

Friends

class GasTreeRaytracer< GasTreeMotion >