cajun::draw_obstacles_t Class Reference

#include <draw_obstacles.H>

Inheritance diagram for cajun::draw_obstacles_t:
cajun::component_interface_t

List of all members.

Public Member Functions

 draw_obstacles_t (double cbviz_origin_[3], unsigned qid_, world_state_t *ws_, conf_t &viz_conf_, int viz_mode_)
void init_data ()
 Initialization of display lists, etc.
void update_data (double bot_pos_[3])
 Function called for idle loop.
void display (double cbviz_origin_[3])
 Function called during display loop.
void toggle_display ()
 Toggle displaying of the data.

Private Attributes

Modelm_pWheel
Modelm_pVehicle
std::vector< obstacle_data_t > m_obstacle_list
obstacle_data_t m_obstacle_data
int m_object_lookup [NUM_OBJECTS]
unsigned m_list_counter
int m_viz_mode
double m_object_rotation [16]
unsigned m_qid
world_state_t * m_ws
bool m_display_vel
bool m_display_id

Constructor & Destructor Documentation

draw_obstacles_t::draw_obstacles_t ( double  cbviz_origin_[3],
unsigned  qid_,
world_state_t *  ws_,
conf_t &  viz_conf_,
int  viz_mode_ 
)

Member Function Documentation

void draw_obstacles_t::display ( double  bot_bos_[3]  )  [virtual]
void draw_obstacles_t::init_data (  )  [virtual]

Initialization of display lists, etc.

Reimplemented from cajun::component_interface_t.

References Model::Init(), m_pVehicle, m_pWheel, m_viz_mode, and SIMULATION.

void cajun::draw_obstacles_t::toggle_display (  )  [inline, virtual]

Toggle displaying of the data.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_display.

void draw_obstacles_t::update_data ( double  bot_pos_[3]  )  [virtual]

Function called for idle loop.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_display, m_obstacle_list, m_qid, and m_ws.


Member Data Documentation

Referenced by display(), and draw_obstacles_t().

Referenced by display(), and draw_obstacles_t().

int cajun::draw_obstacles_t::m_object_lookup[NUM_OBJECTS] [private]

Referenced by display().

obstacle_data_t cajun::draw_obstacles_t::m_obstacle_data [private]
std::vector<obstacle_data_t> cajun::draw_obstacles_t::m_obstacle_list [private]

Referenced by display(), and update_data().

Referenced by draw_obstacles_t(), and init_data().

unsigned cajun::draw_obstacles_t::m_qid [private]

Referenced by draw_obstacles_t(), and update_data().

Referenced by draw_obstacles_t(), and init_data().

world_state_t* cajun::draw_obstacles_t::m_ws [private]

Referenced by draw_obstacles_t(), and update_data().


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