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 | Public Attributes | List of all members
GasBvhSplitCtx Struct Reference

Classes

class  AxisCmpLT
 

Public Member Functions

 GasBvhSplitCtx (const GasBvhItemSet *is=nullptr)
 
const GMathBbox3f & get_bbox (const unsigned int &id) const
 
const GMathLinearSpace3f & get_space (const unsigned int &id) const
 
const float & get_intersection_cost (const unsigned int &id) const
 
GMathVec3f get_centroid (const unsigned int &id) const
 
void compute_bboxes (const GasBvhSplitSet &set, const GMathLinearSpace3f &space, GMathBbox3f *bboxes, SysThreadManager *thread_manager=nullptr)
 
void compute_bboxes (const CoreBasicArray< unsigned int > &item_ids, const GMathLinearSpace3f &space, GMathBbox3f *bboxes, SysThreadManager *thread_manager=nullptr)
 
CoreBasicArray< unsigned int > get_item_ids (const GasBvhSplitSet &set) const
 
GMathBbox3f compute_items_bbox (const GasBvhSplitSet &set, SysThreadManager *thread_manager=nullptr) const
 
GMathBbox3f compute_centroids_bbox (const GasBvhSplitSet &set, SysThreadManager *thread_manager=nullptr) const
 
float compute_items_intersection_cost (const GasBvhSplitSet &set, SysThreadManager *thread_manager=nullptr) const
 
void compute_item_set_bboxes (const GasBvhSplitSet &item_set, GMathBbox3f &items_bbox, GMathBbox3f &centroids_bbox, SysThreadManager *thread_manager=nullptr) const
 
unsigned int sort_items (const GasBvhSplitSet &set, const unsigned int &axis, const float &median) const
 

Public Attributes

const GasBvhItemSetitem_set
 
unsigned int * item_ids
 
unsigned int item_ids_offset
 
unsigned int min_node_size
 
unsigned int max_leaf_size
 
float large_leaf_weight
 
float intersection_cost
 
float aligned_traversal_cost
 
float unaligned_traversal_cost