BRL-CAD
uvpoints.cpp File Reference
#include "common.h"
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
#include <vector>
#include <set>
#include <list>
#include <math.h>
#include <time.h>
Include dependency graph for uvpoints.cpp:

Go to the source code of this file.

Data Structures

class  MemoryManager
 
class  UVKey
 
class  UVKeyComp
 
class  QuadNode
 
class  UVKeyQuadTree
 

Macros

#define POOL_SIZE   1024
 
#define TREE_DEBUG   0
 

Functions

void ints_to_key (std::string *cppstr, int left, int right, int MAX_TREE_DEPTH)
 
int main (int argc, char **argv)
 

Variables

int rejected = 0
 
int counting = 0
 
MemoryManager QuadMemoryManager
 

Macro Definition Documentation

#define POOL_SIZE   1024

Definition at line 37 of file uvpoints.cpp.

Referenced by MemoryManager::allocate().

#define TREE_DEBUG   0

Definition at line 42 of file uvpoints.cpp.

Function Documentation

void ints_to_key ( std::string *  cppstr,
int  left,
int  right,
int  MAX_TREE_DEPTH 
)

Definition at line 168 of file uvpoints.cpp.

Referenced by QuadNode::AppendKeys(), and UVKeyQuadTree::UVKeyQuadTree().

int main ( int  argc,
char **  argv 
)

Definition at line 454 of file uvpoints.cpp.

References counting, rejected, UVKeyQuadTree::root, QuadNode::SubDivide(), and time().

Here is the call graph for this function:

Variable Documentation

int rejected = 0

Definition at line 43 of file uvpoints.cpp.

Referenced by QuadNode::AppendKeys(), and main().

int counting = 0

Definition at line 44 of file uvpoints.cpp.

Referenced by QuadNode::AppendKeys(), main(), and UVKeyQuadTree::UVKeyQuadTree().

MemoryManager QuadMemoryManager

Definition at line 85 of file uvpoints.cpp.