Vamos_Geometry::Gl_Texture_Image Class Reference

#include <Gl_Texture_Image.h>

Inheritance diagram for Vamos_Geometry::Gl_Texture_Image:

Inheritance graph
[legend]
Collaboration diagram for Vamos_Geometry::Gl_Texture_Image:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gl_Texture_Image (std::string file_name, bool smooth=false, bool mip_map=false, double width=1.0, double height=1.0)
 Gl_Texture_Image (const Gl_Texture_Image &image)
const Gl_Texture_Imageoperator= (const Gl_Texture_Image &image)
void activate ()
void remove ()
void clamp_to_edge ()
void draw_stencil ()

Private Attributes

TEXTURE_HANDLE m_texture_name

Detailed Description

Definition at line 40 of file Gl_Texture_Image.h.


Constructor & Destructor Documentation

Vamos_Geometry::Gl_Texture_Image::Gl_Texture_Image std::string  file_name,
bool  smooth = false,
bool  mip_map = false,
double  width = 1.0,
double  height = 1.0
 

Definition at line 31 of file Gl_Texture_Image.cc.

References TEXTURE_HANDLE::Load(), Vamos_Geometry::Texture_Image::m_height_pixels, m_texture_name, and Vamos_Geometry::Texture_Image::m_width_pixels.

Vamos_Geometry::Gl_Texture_Image::Gl_Texture_Image const Gl_Texture_Image image  ) 
 

Definition at line 100 of file Gl_Texture_Image.cc.


Member Function Documentation

void Vamos_Geometry::Gl_Texture_Image::activate  ) 
 

Definition at line 118 of file Gl_Texture_Image.cc.

References TEXTURE_HANDLE::Activate(), and m_texture_name.

Referenced by Vamos_Body::Facade::build_image(), clamp_to_edge(), Vamos_Geometry::Facade::draw(), Vamos_Body::Gear_Indicator::draw(), Vamos_Body::Digital_Gauge::draw(), Vamos_Body::LED_Gauge::draw(), Vamos_Body::Rear_View_Mirror::draw_mask_shape(), and Vamos_Body::LED_Gauge::LED_Gauge().

void Vamos_Geometry::Gl_Texture_Image::clamp_to_edge  ) 
 

Definition at line 128 of file Gl_Texture_Image.cc.

References activate().

Referenced by Vamos_Body::Facade::build_facade().

void Vamos_Geometry::Gl_Texture_Image::draw_stencil  ) 
 

Definition at line 137 of file Gl_Texture_Image.cc.

const Vamos_Geometry::Gl_Texture_Image & Vamos_Geometry::Gl_Texture_Image::operator= const Gl_Texture_Image image  ) 
 

Definition at line 107 of file Gl_Texture_Image.cc.

References m_texture_name, and Vamos_Geometry::Texture_Image::operator=().

void Vamos_Geometry::Gl_Texture_Image::remove  )  [inline]
 

Definition at line 60 of file Gl_Texture_Image.h.

References m_texture_name, and TEXTURE_HANDLE::Unload().


Member Data Documentation

TEXTURE_HANDLE Vamos_Geometry::Gl_Texture_Image::m_texture_name [private]
 

Definition at line 42 of file Gl_Texture_Image.h.

Referenced by activate(), Gl_Texture_Image(), operator=(), and remove().


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