VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions | Variables
octree.h File Reference

Go to the source code of this file.

Classes

class  DtOctreeNode< T >
 
class  DtOctreeMember< T >
 
class  DtSpatialSelectionFunctorTemplate< T >
 
class  DtOctreeNode< T >
 
class  DtOctree< T >
 

Macros

#define OCTREE_DEBUG   0
 
#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_OUTPUT (const char *fmt,...)
 

Variables

static const int NUM_BRANCHES = 8
 
static const int MAX_BRANCH_DEPTH = 12
 
static const int MAX_CHILD_MEMBERS = 16
 
static int theBitmaskList [NUM_BRANCHES]
 
static bool theBitmaskListCreated = false
 

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

Function Documentation

static void DEBUG_OUTPUT ( const char fmt,
  ... 
)
inlinestatic

Variable Documentation

const int NUM_BRANCHES = 8
static
const int MAX_BRANCH_DEPTH = 12
static
const int MAX_CHILD_MEMBERS = 16
static

The maximum length of myChildMembers; see implementation notes at the top of the class.

int theBitmaskList[NUM_BRANCHES]
static
bool theBitmaskListCreated = false
static

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)