Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | Friends | List of all members
GasBvh< N > Class Template Reference

Classes

struct  AABBs
 
struct  Node
 
struct  OBBs
 
struct  QAABBs
 
struct  QNode
 
struct  UNode
 

Public Member Functions

CORE_FORCE_INLINE const
unsigned int & 
get_depth () const
 
CORE_FORCE_INLINE const
BvhNodeKey
get_root_key () const
 
CORE_FORCE_INLINE const
GMathBbox3f & 
get_bbox () const
 
CORE_FORCE_INLINE const
unsigned int & 
get_item_count () const
 
CORE_FORCE_INLINE bool is_empty () const
 
GasBvh get_ref () const
 
void clear ()
 
size_t get_memory_size () const
 
size_t get_useless_memory_size () const
 
template<class SplitAlgo >
void create (const GasBvhItemSet &item_set, const unsigned int *item_indices, unsigned int item_count, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
template<class SplitAlgo >
CORE_FORCE_INLINE void create (const GasBvhItemSet &item_set, const CoreBasicArray< unsigned int > &item_indices, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
template<class SplitAlgo >
CORE_FORCE_INLINE void create (const GasBvhItemSet &item_set, const CoreBasicArray< unsigned int > &item_indices, AppProgressBar *progress_bar=0)
 
template<class SplitAlgo >
CORE_FORCE_INLINE void create (const GasBvhItemSet &item_set, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
template<class SplitAlgo >
CORE_FORCE_INLINE void create (const GasBvhItemSet &item_set, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, const CoreBasicArray< unsigned int > &item_indices, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, const CoreBasicArray< unsigned int > &item_indices, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, const float *item_weights, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, const GasBvhSettings &settings, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, const float *item_weights, AppProgressBar *progress_bar=0)
 
CORE_FORCE_INLINE void create (const CoreBasicArray< GMathBbox3f > &item_bboxes, AppProgressBar *progress_bar=0)
 
void get_clusters (CoreVector< void * > &keys, const unsigned int &max_cluster_count, const float &min_cluster_coverage) const
 
void get_clusters_bboxes (const CoreBasicArray< void * > &keys, GMathBbox3f *bboxes) const
 
void get_clusters_weights (const CoreBasicArray< void * > &keys, float *weights) const
 
void set_leaf_ray_hit_callbacks (GasBvhLeafRayHitCallback ray_hit_cb, void *data)
 
void set_leaf_ray_hit_callbacks (GasBvhLeafRayHitCallback ray_hit_cb, GasBvhLeafRayHitCallback ray_hit_nearest_cb, void *data)
 
void set_leaf_frustum_hit_callback (GasBvhLeafFrustumHitCallback cb, void *data=0)
 

Friends

class GasBvhTraversalHelpers
 
class GasBvhIntersector
 
class GasBvhMotion< N >