VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
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...

Macros

#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)->markingText())

Functions

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

Detailed Description

Macro Definition 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)->markingText())

Function Documentation

static void DEBUG ( const char fmt,
  ... 
)
inlinestatic
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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)