CGR Localization
 All Classes Namespaces Files Functions Variables Macros Pages
pre_render.cpp File Reference

A utility to pre-render a map. More...

#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <vector>
#include <pthread.h>
#include "vector_map.h"
#include "popt_pp.h"
#include "terminal_utils.h"
#include "timer.h"
#include "proghelp.h"
Include dependency graph for pre_render.cpp:

Go to the source code of this file.

Classes

struct  task_t
 

Functions

vector< int > getUniqueValues (vector< int > &v)
 
void * PreRenderThread (void *arg)
 
void PreRenderMultiThread ()
 
int main (int argc, char **argv)
 

Variables

bool run = true
 
int numSteps = 0
 
int debugLevel = 0
 
float minRange = 0.000001
 
float maxRange = 8.0
 
double resolution = 0.2
 
VectorMapvectorMap
 
vector< vector< int > > preRenderList
 
int numThreads = 1
 
pthread_t * threads
 
vector< vector< int > > ** sceneLines
 
vector< vector2i > ** sceneLocations
 
int * threadProgress
 

Detailed Description

A utility to pre-render a map.

Author
Joydeep Biswas, (C) 2010

Definition in file pre_render.cpp.