Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VelocityDrawingArea Class Reference

#include <manager_gui.h>

Inheritance diagram for VelocityDrawingArea:
Inheritance graph
[legend]

Public Member Functions

void setVelocity (double velocity)
 
 VelocityDrawingArea (int side_length=350, double max_velocity=140, double large_step=10, double min_angle=145 *pi/180., double max_angle=350 *pi/180.)
 
virtual ~VelocityDrawingArea ()
 
- Public Member Functions inherited from ExtendedDrawingArea
void drawText (std::string text, const Cairo::RefPtr< Cairo::Context > &cr, const int rectangle_width, const int rectangle_height, double font_size=10)
 Function to draw text in a Gtk::DrawingArea. More...
 
void drawTextItalics (std::string text, const Cairo::RefPtr< Cairo::Context > &cr, const int rectangle_width, const int rectangle_height, double font_size=10)
 Function to draw text in a Gtk::DrawingArea in italics. More...
 
void drawTextItalicsNotBold (std::string text, const Cairo::RefPtr< Cairo::Context > &cr, const int rectangle_width, const int rectangle_height, double font_size=10)
 Function to draw text in a Gtk::DrawingArea, italics but not bold. More...
 
 ExtendedDrawingArea ()
 Class constructor. More...
 
virtual ~ExtendedDrawingArea ()
 Class destructor. More...
 

Protected Member Functions

virtual bool on_draw (const Cairo::RefPtr< Cairo::Context > &cr)
 

Protected Attributes

double large_step_
 
double max_angle_
 
double max_velocity_
 
double min_angle_
 
bool negative_
 
int side_length_
 
double velocity_value_
 
- Protected Attributes inherited from ExtendedDrawingArea
Glib::RefPtr< Gdk::Pixbuf > image_
 Generic pixbuf mostly used to hold a background image. More...
 

Detailed Description

Definition at line 2189 of file manager_gui.h.

Constructor & Destructor Documentation

VelocityDrawingArea::VelocityDrawingArea ( int  side_length = 350,
double  max_velocity = 140,
double  large_step = 10,
double  min_angle = 145*pi/180.,
double  max_angle = 350*pi/180. 
)
inline

Definition at line 2192 of file manager_gui.h.

virtual VelocityDrawingArea::~VelocityDrawingArea ( )
inlinevirtual

Definition at line 2204 of file manager_gui.h.

Member Function Documentation

virtual bool VelocityDrawingArea::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
inlineprotectedvirtual

Definition at line 2225 of file manager_gui.h.

void VelocityDrawingArea::setVelocity ( double  velocity)
inline

Definition at line 2207 of file manager_gui.h.

Member Data Documentation

double VelocityDrawingArea::large_step_
protected

Definition at line 2382 of file manager_gui.h.

double VelocityDrawingArea::max_angle_
protected

Definition at line 2384 of file manager_gui.h.

double VelocityDrawingArea::max_velocity_
protected

Definition at line 2381 of file manager_gui.h.

double VelocityDrawingArea::min_angle_
protected

Definition at line 2383 of file manager_gui.h.

bool VelocityDrawingArea::negative_
protected

Definition at line 2387 of file manager_gui.h.

int VelocityDrawingArea::side_length_
protected

Definition at line 2380 of file manager_gui.h.

double VelocityDrawingArea::velocity_value_
protected

Definition at line 2386 of file manager_gui.h.


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


atlascar_base
Author(s): Jorge Almeida, Sérgio Pinho, Miguel Oliveira, Pedro Salvado, Andre Oliveira and Pedro Pinheiro
autogenerated on Mon Mar 2 2015 01:31:23