cajun::draw_map_t Class Reference

#include <draw_map.H>

Inheritance diagram for cajun::draw_map_t:
cajun::component_interface_t

List of all members.

Classes

struct  map_info_t
struct  tfw_data_t

Public Member Functions

 draw_map_t (double cbviz_origin[3], conf_t &conf, const char *geotiff_dir_, world_state_t *ws_, rndf_t const *rndf_)
virtual ~draw_map_t ()
void dynamic_data ()
 Dynamic changing data.
void update_data (double bot_pos_[3])
 Function called for idle loop.
void display (double bot_pos[3])
 Function called during display loop.
void toggle_display ()
 Toggle displaying of the data.
void move_map_x (int dir)
void move_map_y (int dir)

Private Member Functions

bool load_map_buffer (double bot_pos[3])
bool load_map_texture ()
std::list< tfw_data_t >::iterator find_tile (double bot_pos[3])
 some value here are hard coded for victorville
void find_geotiffs (const char *geotiff_dir_)
void index_geotiff (char *filename)

Private Attributes

std::list< tfw_data_tm_tfw_data
map_info_t m_map_info [MAX_TEXTURES]
map_view_t m_map
int m_num_tiles
double m_cbviz_origin [3]
 Offset used for drawing coordinates.
double m_off_x
double m_off_y

Constructor & Destructor Documentation

draw_map_t::draw_map_t ( double  cbviz_origin[3],
conf_t &  conf,
const char *  geotiff_dir_,
world_state_t *  ws_,
rndf_t const *  rndf_ 
)
draw_map_t::~draw_map_t (  )  [virtual]

Member Function Documentation

void draw_map_t::display ( double  bot_bos_[3]  )  [virtual]
void draw_map_t::dynamic_data (  )  [virtual]

Dynamic changing data.

Reimplemented from cajun::component_interface_t.

References load_map_texture().

void draw_map_t::find_geotiffs ( const char *  geotiff_dir_  )  [private]

References index_geotiff().

Referenced by draw_map_t().

list< draw_map_t::tfw_data_t >::iterator draw_map_t::find_tile ( double  bot_pos[3]  )  [private]

some value here are hard coded for victorville

References m_cbviz_origin, m_tfw_data, POSX, and POSY.

Referenced by load_map_buffer().

void draw_map_t::index_geotiff ( char *  filename  )  [private]
bool draw_map_t::load_map_buffer ( double  bot_pos[3]  )  [private]
bool draw_map_t::load_map_texture (  )  [private]
void draw_map_t::move_map_x ( int  dir  ) 
void draw_map_t::move_map_y ( int  dir  ) 
void draw_map_t::toggle_display (  )  [virtual]
void draw_map_t::update_data ( double  bot_pos_[3]  )  [virtual]

Function called for idle loop.

Implements cajun::component_interface_t.

References load_map_buffer().


Member Data Documentation

double cajun::draw_map_t::m_cbviz_origin[3] [private]

Offset used for drawing coordinates.

Reimplemented from cajun::component_interface_t.

Referenced by draw_map_t(), find_tile(), and load_map_buffer().

map_view_t cajun::draw_map_t::m_map [private]
map_info_t cajun::draw_map_t::m_map_info[MAX_TEXTURES] [private]
double cajun::draw_map_t::m_off_x [private]

Referenced by load_map_buffer().

double cajun::draw_map_t::m_off_y [private]

Referenced by load_map_buffer().


The documentation for this class was generated from the following files:

Generated on Fri Apr 9 10:45:18 2010 for Visualizer by  doxygen 1.6.1