VR-Forces 4.0.4 Class Documentation
Classes | Defines | Functions
include/vrfobjcore/octree.h File Reference

Go to the source code of this file.

Classes

class  DtOctreeMember< T >
 DtOctreeMember class. More...
class  DtOctreeNode< T >
 DtOctreeNode class. More...
class  DtOctree< T >
 DtOctree class. More...

Defines

#define OCTREE_DEBUG   0
 Debugging support for octrees.
#define DEBUG_PUSH   do { } while(0)
#define DEBUG_POP   do { } while(0)
#define EXT_FMT   "[%lf, %lf, %lf] - [%lf, %lf, %lf]"
#define EXT_ARGS(x)   (x).minX(), (x).minY(), (x).minZ(), (x).maxX(), (x).maxY(), (x).maxZ()
#define OBJ_ARGS(x)   ((const char*) (x)->objectName())

Functions

static void DEBUG (const char *fmt,...)
static DtOctree< DtVrfObject > * createOctree (const DtExtent &extent)
 More octree debugging support.

Detailed Description


Define Documentation

#define OCTREE_DEBUG   0

Debugging support for octrees.

Set OCTREE_DEBUG to 1 to print copious information about the important function calls, and also to run internal tests to make sure visitObjects() seems to be working properly.

#define DEBUG_PUSH   do { } while(0)
#define DEBUG_POP   do { } while(0)
#define EXT_FMT   "[%lf, %lf, %lf] - [%lf, %lf, %lf]"
#define EXT_ARGS (   x)    (x).minX(), (x).minY(), (x).minZ(), (x).maxX(), (x).maxY(), (x).maxZ()
#define OBJ_ARGS (   x)    ((const char*) (x)->objectName())

Function Documentation

static void DEBUG ( const char *  fmt,
  ... 
) [inline, static]
static DtOctree<DtVrfObject>* createOctree ( const DtExtent extent) [static]

More octree debugging support.

This defines a subclass of the octree class that performs some basic checking that intersections aren't failing.


Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)