Draw class for free mode scripted camera splines. More...
#include <draw_camera_splines.H>
Public Member Functions | |
draw_camera_splines_t (conf_t &conf) | |
Create new scripted camera. | |
virtual | ~draw_camera_splines_t () |
void | update_data (double bot_pos_[3]) |
Unused. | |
void | display (double bot_pos[3]) |
Draw lines representing scripted camera position and lookat. | |
void | toggle_display () |
Toggle display of free mode camera spline information. | |
void | init_data () |
Unused. | |
Static Public Member Functions | |
static void | add_eye (double x, double y, double z) |
Add an eye vertex. | |
static void | add_lookat (double x, double y, double z) |
Add a lookat vertex. |
Draw class for free mode scripted camera splines.
draw_camera_splines_t::draw_camera_splines_t | ( | conf_t & | conf | ) |
Create new scripted camera.
References the following conf entries:
References cajun::component_interface_t::m_display.
draw_camera_splines_t::~draw_camera_splines_t | ( | ) | [virtual] |
void draw_camera_splines_t::add_eye | ( | double | x, | |
double | y, | |||
double | z | |||
) | [static] |
Add an eye vertex.
x | X Location. | |
y | Y Location. | |
z | Z Location. |
Referenced by cajun::scripted_camera_t::parse_and_add_style().
void draw_camera_splines_t::add_lookat | ( | double | x, | |
double | y, | |||
double | z | |||
) | [static] |
Add a lookat vertex.
x | X Location. | |
y | Y Location. | |
z | Z Location. |
Referenced by cajun::scripted_camera_t::parse_and_add_style().
void draw_camera_splines_t::display | ( | double | bot_pos[3] | ) | [virtual] |
Draw lines representing scripted camera position and lookat.
bot_pos | Current bot location. |
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display.
void draw_camera_splines_t::init_data | ( | ) | [virtual] |
Unused.
Reimplemented from cajun::component_interface_t.
void draw_camera_splines_t::toggle_display | ( | ) | [virtual] |
Toggle display of free mode camera spline information.
Implements cajun::component_interface_t.
References cajun::component_interface_t::m_display.
Referenced by cajun::simulation_draw_t::normalKey_callback().
void draw_camera_splines_t::update_data | ( | double | bot_pos_[3] | ) | [virtual] |