cajun::draw_radar_gp_t Class Reference

#include <draw_radar_gp.H>

Inheritance diagram for cajun::draw_radar_gp_t:
cajun::component_interface_t

List of all members.

Public Member Functions

 draw_radar_gp_t (double cbviz_origin[3], int qid_, conf_t &conf_, world_state_t *ws_, rndf_t const *rndf_)
virtual ~draw_radar_gp_t ()
bool get_data ()
void change_to_viz_coord (const radar_gp_data_t &global_radar_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 draw_cube (double width, double height, double length)

Private Attributes

world_state_t * m_world_state
 For reading from data queues.
rndf_t const * m_rndf
int m_qid
double m_bot_offset_x
double m_bot_offset_z
radar_gp_data_t m_radar_gp_data
radar_data_t m_radar_data
waypt_data_t m_waypt_data
double m_cbviz_origin [3]
 Offset used for drawing coordinates.
double m_ob_size [3]

Constructor & Destructor Documentation

draw_radar_gp_t::draw_radar_gp_t ( double  cbviz_origin[3],
int  qid_,
conf_t &  conf_,
world_state_t *  ws_,
rndf_t const *  rndf_ 
)
draw_radar_gp_t::~draw_radar_gp_t (  )  [virtual]

Member Function Documentation

void draw_radar_gp_t::change_to_viz_coord ( const radar_gp_data_t &  global_radar_data_  ) 

References m_cbviz_origin, m_radar_gp_data, POSX, POSY, and POSZ.

Referenced by get_data().

void draw_radar_gp_t::display ( double  bot_bos_[3]  )  [virtual]
void cajun::draw_radar_gp_t::draw_cube ( double  width,
double  height,
double  length 
)
bool draw_radar_gp_t::get_data (  ) 
void draw_radar_gp_t::toggle_display (  )  [virtual]

Toggle displaying of the data.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_display.

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

Function called for idle loop.

Implements cajun::component_interface_t.

References get_data(), and cajun::component_interface_t::m_data_ok.


Member Data Documentation

Offset used for drawing coordinates.

Reimplemented from cajun::component_interface_t.

Referenced by change_to_viz_coord(), and draw_radar_gp_t().

double cajun::draw_radar_gp_t::m_ob_size[3] [private]

Referenced by draw_radar_gp_t().

Referenced by draw_radar_gp_t().

radar_data_t cajun::draw_radar_gp_t::m_radar_data [private]

Referenced by get_data().

radar_gp_data_t cajun::draw_radar_gp_t::m_radar_gp_data [private]

Referenced by change_to_viz_coord(), and get_data().

rndf_t const* cajun::draw_radar_gp_t::m_rndf [private]

Referenced by draw_radar_gp_t().

waypt_data_t cajun::draw_radar_gp_t::m_waypt_data [private]

Referenced by get_data().

world_state_t* cajun::draw_radar_gp_t::m_world_state [private]

For reading from data queues.

Reimplemented from cajun::component_interface_t.

Referenced by draw_radar_gp_t(), and get_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