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
GasBvhItemSet Class Reference

Public Types

typedef GMathBbox3f(* ComputeBboxCallback )(const CoreBasicArray< unsigned int > &item_ids, const GMathLinearSpace3f &space, void *data, SysThreadManager *thread_manager)
 
typedef void(* ComputeBboxesCallback )(const CoreBasicArray< unsigned int > &item_ids, const GMathLinearSpace3f &space, GMathBbox3f *bboxes, void *data, SysThreadManager *thread_manager)
 

Public Member Functions

 GasBvhItemSet (const CoreBasicArray< GMathBbox3f > &bboxes, const GMathLinearSpace3f *spaces=nullptr, const float *intersection_costs=nullptr, ComputeBboxCallback compute_bbox_callback=nullptr, void *compute_bbox_data=nullptr, ComputeBboxesCallback compute_bboxes_callback=nullptr, void *compute_bboxes_data=nullptr)
 
const unsigned int & get_count () const
 
const GMathBbox3f & get_bbox (const unsigned int &item_id) const
 
const CoreBasicArray
< GMathBbox3f > & 
get_bboxes () const
 
const GMathLinearSpace3f & get_space (const unsigned int &item_id) const
 
const GMathLinearSpace3f * get_spaces () const
 
const float & get_intersection_cost (const unsigned int &item_id) const
 
const float * get_intersections_costs () const
 
GMathBbox3f compute_bbox (const CoreBasicArray< unsigned int > &item_ids, const GMathLinearSpace3f &space, SysThreadManager *thread_manager=nullptr) const
 
GMathBbox3f compute_bbox (const CoreBasicArray< unsigned int > &item_ids, const GMathAffineSpace3f &xform, SysThreadManager *thread_manager=nullptr) const
 
void compute_bboxes (const CoreBasicArray< unsigned int > &item_ids, const GMathLinearSpace3f &space, GMathBbox3f *bboxes, SysThreadManager *thread_manager=nullptr) const