Vamos_Body::Gear_Shift Class Reference

#include <Gauge.h>

Inheritance diagram for Vamos_Body::Gear_Shift:

Inheritance graph
[legend]
Collaboration diagram for Vamos_Body::Gear_Shift:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gear_Shift (double x, double y, double z, double width, double height, const Vamos_Geometry::Three_Vector &rotation, const std::vector< Vamos_Geometry::Two_Point > &positions, std::string gate_image, std::string stick_image)
 ~Gear_Shift ()
void set (int gear)
void draw () const

Private Attributes

double m_stick_width
double m_stick_height
Vamos_Geometry::Three_Vector m_rotation
std::vector< Vamos_Geometry::Two_Pointm_positions
int m_top_gear
Vamos_Geometry::Gl_Texture_Imagemp_gate
Vamos_Geometry::Gl_Texture_Imagemp_stick
GLuint m_list_index

Detailed Description

Definition at line 180 of file Gauge.h.


Constructor & Destructor Documentation

Vamos_Body::Gear_Shift::Gear_Shift double  x,
double  y,
double  z,
double  width,
double  height,
const Vamos_Geometry::Three_Vector rotation,
const std::vector< Vamos_Geometry::Two_Point > &  positions,
std::string  gate_image,
std::string  stick_image
 

Vamos_Body::Gear_Shift::~Gear_Shift  ) 
 

Definition at line 435 of file Gauge.cc.

References mp_gate, and mp_stick.


Member Function Documentation

void Vamos_Body::Gear_Shift::draw  )  const [virtual]
 

Reimplemented from Vamos_Body::Gear_Indicator.

Definition at line 448 of file Gauge.cc.

References Vamos_Body::Gear_Indicator::m_gear, m_list_index, and m_positions.

void Vamos_Body::Gear_Shift::set int  gear  )  [virtual]
 

Reimplemented from Vamos_Body::Gear_Indicator.

Definition at line 442 of file Gauge.cc.

References Vamos_Body::Gear_Indicator::m_gear, and m_top_gear.


Member Data Documentation

GLuint Vamos_Body::Gear_Shift::m_list_index [private]
 

Definition at line 192 of file Gauge.h.

Referenced by draw().

std::vector<Vamos_Geometry::Two_Point> Vamos_Body::Gear_Shift::m_positions [private]
 

Definition at line 186 of file Gauge.h.

Referenced by draw().

Vamos_Geometry::Three_Vector Vamos_Body::Gear_Shift::m_rotation [private]
 

Definition at line 185 of file Gauge.h.

double Vamos_Body::Gear_Shift::m_stick_height [private]
 

Definition at line 183 of file Gauge.h.

double Vamos_Body::Gear_Shift::m_stick_width [private]
 

Definition at line 182 of file Gauge.h.

int Vamos_Body::Gear_Shift::m_top_gear [private]
 

Definition at line 187 of file Gauge.h.

Referenced by set().

Vamos_Geometry::Gl_Texture_Image* Vamos_Body::Gear_Shift::mp_gate [private]
 

Definition at line 189 of file Gauge.h.

Referenced by ~Gear_Shift().

Vamos_Geometry::Gl_Texture_Image* Vamos_Body::Gear_Shift::mp_stick [private]
 

Definition at line 190 of file Gauge.h.

Referenced by ~Gear_Shift().


The documentation for this class was generated from the following files:
Generated on Thu Oct 19 04:13:19 2006 by  doxygen 1.4.6