Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

toxic::Octree::octree_test_visitor Struct Reference

List of all members.

Public Member Functions

 octree_test_visitor (const Context &context, const Ray &ray)
bool Trace (const octree_node *node, sheep::Real t0, sheep::Real t1)

Public Attributes

const Contextm_context
const Raym_ray
bool m_found

Detailed Description

This visitor is invoked by the Octree::Intersect() method when the hit parameter is 0 (null). It is aimed at testing whether the ray touches an object in the octree or not. It does not search for the nearest object and it does not compute the intersection distance.

Definition at line 121 of file toxic/src/renderer/octree.h.


Constructor & Destructor Documentation

toxic::Octree::octree_test_visitor::octree_test_visitor const Context context,
const Ray ray
[inline]
 

Definition at line 198 of file toxic/src/renderer/octree.cpp.


Member Function Documentation

bool toxic::Octree::octree_test_visitor::Trace const octree_node node,
sheep::Real  t0,
sheep::Real  t1
 

Definition at line 206 of file toxic/src/renderer/octree.cpp.


Member Data Documentation

const Context& toxic::Octree::octree_test_visitor::m_context
 

Definition at line 122 of file toxic/src/renderer/octree.h.

bool toxic::Octree::octree_test_visitor::m_found
 

Definition at line 124 of file toxic/src/renderer/octree.h.

Referenced by toxic::Octree::Intersect().

const Ray& toxic::Octree::octree_test_visitor::m_ray
 

Definition at line 123 of file toxic/src/renderer/octree.h.


The documentation for this struct was generated from the following files:
Generated on Tue May 11 01:31:57 2004 for toxic by doxygen 1.3.6