Blender V2.61 - r43446
|
#include <reorganize.h>
Public Member Functions | |
float | get_cost (int cutsize) |
int | get_cut_size (int parent_cut_size) |
void | set_cut (int cutsize, OVBVHNode ***cut) |
void | optimize () |
Public Attributes | |
float | bb [6] |
OVBVHNode * | child |
OVBVHNode * | sibling |
float | cut_cost [MAX_CUT_SIZE] |
int | cut_size [MAX_CUT_SIZE] |
int | best_cutsize |
Definition at line 314 of file reorganize.h.
float OVBVHNode::get_cost | ( | int | cutsize | ) | [inline] |
Definition at line 326 of file reorganize.h.
References cut_cost.
int OVBVHNode::get_cut_size | ( | int | parent_cut_size | ) | [inline] |
void OVBVHNode::optimize | ( | ) | [inline] |
Definition at line 369 of file reorganize.h.
References best_cutsize, child, NULL, optimize(), RE_rayobject_isAligned, set_cut(), and sibling.
Referenced by optimize().
void OVBVHNode::set_cut | ( | int | cutsize, |
OVBVHNode *** | cut | ||
) | [inline] |
Definition at line 345 of file reorganize.h.
References assert, child, get_cut_size(), MAX_CUT_SIZE, RE_rayobject_isAligned, set_cut(), and sibling.
Referenced by optimize(), and set_cut().
float OVBVHNode::bb[6] |
Definition at line 316 of file reorganize.h.
Definition at line 344 of file reorganize.h.
Referenced by optimize().
Definition at line 318 of file reorganize.h.
Referenced by optimize(), and set_cut().
float OVBVHNode::cut_cost[MAX_CUT_SIZE] |
Definition at line 325 of file reorganize.h.
Referenced by get_cost().
int OVBVHNode::cut_size[MAX_CUT_SIZE] |
Definition at line 335 of file reorganize.h.
Referenced by get_cut_size().
Definition at line 319 of file reorganize.h.
Referenced by optimize(), and set_cut().