Blender V2.61 - r43446
|
#include <bvh_node.h>
Public Member Functions | |
InnerNode (const BoundBox &bounds, BVHNode *child0, BVHNode *child1) | |
bool | is_leaf () const |
int | num_children () const |
BVHNode * | get_child (int i) const |
void | print (int depth) const |
Public Attributes | |
BVHNode * | children [2] |
Definition at line 63 of file bvh_node.h.
Definition at line 66 of file bvh_node.h.
References bounds(), children, BVHNode::m_bounds, and BVHNode::m_visibility.
BVHNode* InnerNode::get_child | ( | int | i | ) | const [inline, virtual] |
bool InnerNode::is_leaf | ( | ) | const [inline, virtual] |
Implements BVHNode.
Definition at line 74 of file bvh_node.h.
int InnerNode::num_children | ( | ) | const [inline, virtual] |
Implements BVHNode.
Definition at line 75 of file bvh_node.h.
void InnerNode::print | ( | int | depth | ) | const [virtual] |
Implements BVHNode.
Definition at line 79 of file bvh_node.cpp.
References children, i, and BVHNode::print().
Reimplemented from BVHNode.
Definition at line 79 of file bvh_node.h.
Referenced by get_child(), InnerNode(), and print().