Blender V2.61 - r43446
|
#include <bvh_node.h>
Public Member Functions | |
LeafNode (const BoundBox &bounds, uint visibility, int lo, int hi) | |
LeafNode (const LeafNode &s) | |
bool | is_leaf () const |
int | num_children () const |
BVHNode * | get_child (int) const |
int | num_triangles () const |
void | print (int depth) const |
Public Attributes | |
int | m_lo |
int | m_hi |
Definition at line 82 of file bvh_node.h.
Definition at line 85 of file bvh_node.h.
References bounds(), BVHNode::m_bounds, m_hi, m_lo, and BVHNode::m_visibility.
LeafNode::LeafNode | ( | const LeafNode & | s | ) | [inline] |
Definition at line 93 of file bvh_node.h.
BVHNode* LeafNode::get_child | ( | int | ) | const [inline, virtual] |
bool LeafNode::is_leaf | ( | ) | const [inline, virtual] |
Implements BVHNode.
Definition at line 99 of file bvh_node.h.
int LeafNode::num_children | ( | ) | const [inline, virtual] |
Implements BVHNode.
Definition at line 100 of file bvh_node.h.
int LeafNode::num_triangles | ( | ) | const [inline, virtual] |
Reimplemented from BVHNode.
Definition at line 102 of file bvh_node.h.
Referenced by RegularBVH::pack_leaf(), and QBVH::pack_leaf().
void LeafNode::print | ( | int | depth | ) | const [virtual] |
int LeafNode::m_hi |
Definition at line 106 of file bvh_node.h.
Referenced by LeafNode(), num_triangles(), RegularBVH::pack_leaf(), QBVH::pack_leaf(), and print().
int LeafNode::m_lo |
Definition at line 105 of file bvh_node.h.
Referenced by LeafNode(), num_triangles(), RegularBVH::pack_leaf(), QBVH::pack_leaf(), and print().