IteratorBVH.cc File Reference

#include <esg/iterator/IteratorBVH.h>
#include <esg/Statistics.h>

Go to the source code of this file.

Defines

#define BVH_INC_TEST   {}
#define BVH_INC_SUC_TEST   {}
#define BVH_UPDATE_STAT   {}
#define BVH_BACKTRACK


Define Documentation

#define BVH_BACKTRACK
 

Value:

{ \
    do { \
        pNode = _stack.back(); _stack.pop_back(); \
        BVH_INC_TEST; \
        pNode->bv->rayIntersection(&(_riAttr->iEnv), \
                                   ENV_WANT_INTERFERENCE|ENV_USE_CACHE, \
                                   _riAttr->origin, \
                                   _riAttr->direction, \
                                   _riAttr->distLimit); \
        if (!_riAttr->iEnv.mask & ENV_HAVE_INTERFERENCE) pNode = NULL; \
        else BVH_INC_SUC_TEST; \
    } while (!pNode && !_stack.empty()); \
}

Definition at line 20 of file IteratorBVH.cc.

Referenced by IteratorBVH::_first_ray_intersection(), and IteratorBVH::_next_ray_intersection().

#define BVH_INC_SUC_TEST   {}
 

Definition at line 16 of file IteratorBVH.cc.

Referenced by IteratorBVH::_first_ray_intersection(), and IteratorBVH::_next_ray_intersection().

#define BVH_INC_TEST   {}
 

Definition at line 15 of file IteratorBVH.cc.

Referenced by IteratorBVH::_first_ray_intersection(), and IteratorBVH::_next_ray_intersection().

#define BVH_UPDATE_STAT   {}
 

Definition at line 17 of file IteratorBVH.cc.

Referenced by IteratorBVH::_first_child(), and IteratorBVH::_next_child().


Generated on Wed Jun 28 12:24:33 2006 for esg by  doxygen 1.4.6