Blender V2.61 - r43446
Public Member Functions | Public Attributes

InnerNode Class Reference

#include <bvh_node.h>

Inheritance diagram for InnerNode:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 InnerNode (const BoundBox &bounds, BVHNode *child0, BVHNode *child1)
bool is_leaf () const
int num_children () const
BVHNodeget_child (int i) const
void print (int depth) const

Public Attributes

BVHNodechildren [2]

Detailed Description

Definition at line 63 of file bvh_node.h.


Constructor & Destructor Documentation

InnerNode::InnerNode ( const BoundBox bounds,
BVHNode child0,
BVHNode child1 
) [inline]

Definition at line 66 of file bvh_node.h.

References bounds(), children, BVHNode::m_bounds, and BVHNode::m_visibility.


Member Function Documentation

BVHNode* InnerNode::get_child ( int  i) const [inline, virtual]

Implements BVHNode.

Definition at line 76 of file bvh_node.h.

References assert, children, and i.

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().


Member Data Documentation

Reimplemented from BVHNode.

Definition at line 79 of file bvh_node.h.

Referenced by get_child(), InnerNode(), and print().


The documentation for this class was generated from the following files: