cajun::draw_cbln_dtm_t Class Reference

Draw cbln dtm data. More...

#include <draw_cbln_dtm.H>

Inheritance diagram for cajun::draw_cbln_dtm_t:
cajun::component_interface_t

List of all members.

Public Member Functions

 draw_cbln_dtm_t (double cbviz_origin[3], conf_t &conf, world_state_t *ws_)
 Create new object to draw cbln dtm data.
virtual ~draw_cbln_dtm_t ()
void update_data (double bot_pos_[3])
 Update data from world state data queue.
void display (double bot_pos[3])
 Draw cbln dtm data.
void toggle_display ()
 Toggle displaying of the data.

Private Member Functions

bool read_cbln_dtm ()
 Get cbln dtm data from world state.
double dtm_y_to_sim_y (int x, int y)
 Describe me.
double dtm_x_to_sim_x (int x, int y)
 Describe me.

Private Attributes

cbln_dtm_data_t m_cbln_dtm
 Cbln dtm data.
double m_grid_height
 Grid height.

Detailed Description

Draw cbln dtm data.


Constructor & Destructor Documentation

draw_cbln_dtm_t::draw_cbln_dtm_t ( double  cbviz_origin_pos[3],
conf_t &  conf,
world_state_t *  ws_ 
)

Create new object to draw cbln dtm data.

Reference the following configuration entries:

  • grid_height
  • displayCblnDTM
Parameters:
cbviz_origin_pos Cbviz origin location.
conf Configuration file to take parameters.
ws_ World state to take cbln dtm data from.

References cajun::component_interface_t::m_cbviz_origin, cajun::component_interface_t::m_display, m_grid_height, cajun::component_interface_t::m_world_state, POSX, POSY, and POSZ.

virtual cajun::draw_cbln_dtm_t::~draw_cbln_dtm_t (  )  [inline, virtual]

Member Function Documentation

void draw_cbln_dtm_t::display ( double  bot_pos[3]  )  [virtual]
double draw_cbln_dtm_t::dtm_x_to_sim_x ( int  x,
int  y 
) [private]

Describe me.

Parameters:
x Describe me.
y Describe me.
Returns:
Describe me.

References m_cbln_dtm, cajun::component_interface_t::m_cbviz_origin, POSX, and xCompRotAboutPt().

Referenced by display().

double draw_cbln_dtm_t::dtm_y_to_sim_y ( int  x,
int  y 
) [private]

Describe me.

Parameters:
x Describe me.
y Describe me.
Returns:
Describe me.

References m_cbln_dtm, cajun::component_interface_t::m_cbviz_origin, POSY, and yCompRotAboutPt().

Referenced by display().

bool draw_cbln_dtm_t::read_cbln_dtm (  )  [private]

Get cbln dtm data from world state.

Returns:
True if there was data read.

References m_cbln_dtm, and cajun::component_interface_t::m_world_state.

Referenced by update_data().

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

Toggle displaying of the data.

Implements cajun::component_interface_t.

References cajun::component_interface_t::m_display.

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

Update data from world state data queue.

Parameters:
bot_pos_ Current bot position.

Implements cajun::component_interface_t.

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


Member Data Documentation

cbln_dtm_data_t cajun::draw_cbln_dtm_t::m_cbln_dtm [private]

Cbln dtm data.

Referenced by display(), dtm_x_to_sim_x(), dtm_y_to_sim_y(), and read_cbln_dtm().

Grid height.

Referenced by display(), and draw_cbln_dtm_t().


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