Vamos_Geometry::Texture_Image Class Reference

#include <Texture_Image.h>

Inheritance diagram for Vamos_Geometry::Texture_Image:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Texture_Image (std::string file_name, double width=1.0, double height=1.0)
 Texture_Image (const Texture_Image &image)
const Texture_Imageoperator= (const Texture_Image &image)
int width_pixels () const
int height_pixels () const
double aspect_ratio () const
void set_width (double width)
void set_height (double height)
double height () const
double width () const
int channels () const

Protected Attributes

int m_data_size
int m_width_pixels
int m_height_pixels
double m_width
double m_height
int m_channels

Detailed Description

Definition at line 38 of file Texture_Image.h.


Constructor & Destructor Documentation

Vamos_Geometry::Texture_Image::Texture_Image std::string  file_name,
double  width = 1.0,
double  height = 1.0
 

Definition at line 24 of file Texture_Image.cc.

References m_channels, m_data_size, m_height_pixels, and m_width_pixels.

Vamos_Geometry::Texture_Image::Texture_Image const Texture_Image image  ) 
 

Definition at line 99 of file Texture_Image.cc.

References m_channels, m_data_size, m_height_pixels, and m_width_pixels.


Member Function Documentation

double Vamos_Geometry::Texture_Image::aspect_ratio  )  const [inline]
 

Definition at line 60 of file Texture_Image.h.

References m_height_pixels, and m_width_pixels.

Referenced by Vamos_Geometry::Facade::set_radius().

int Vamos_Geometry::Texture_Image::channels  )  const [inline]
 

Definition at line 68 of file Texture_Image.h.

References m_channels.

double Vamos_Geometry::Texture_Image::height  )  const [inline]
 

Definition at line 66 of file Texture_Image.h.

References m_height.

Referenced by Vamos_Geometry::Facade::draw(), and Vamos_Geometry::Facade::set_radius().

int Vamos_Geometry::Texture_Image::height_pixels  )  const [inline]
 

Definition at line 59 of file Texture_Image.h.

References m_height_pixels.

Referenced by Vamos_Body::Facade::Facade(), and Vamos_Body::LED_Gauge::LED_Gauge().

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

Definition at line 109 of file Texture_Image.cc.

References m_channels, m_data_size, m_height_pixels, and m_width_pixels.

Referenced by Vamos_Geometry::Gl_Texture_Image::operator=().

void Vamos_Geometry::Texture_Image::set_height double  height  )  [inline]
 

Definition at line 64 of file Texture_Image.h.

References m_height.

Referenced by Vamos_Geometry::Facade::set_radius().

void Vamos_Geometry::Texture_Image::set_width double  width  )  [inline]
 

Definition at line 63 of file Texture_Image.h.

References m_width.

Referenced by Vamos_Geometry::Facade::set_radius().

double Vamos_Geometry::Texture_Image::width  )  const [inline]
 

Definition at line 67 of file Texture_Image.h.

References m_width.

Referenced by Vamos_Geometry::Facade::draw(), and Vamos_Geometry::Facade::set_radius().

int Vamos_Geometry::Texture_Image::width_pixels  )  const [inline]
 

Definition at line 58 of file Texture_Image.h.

References m_width_pixels.

Referenced by Vamos_Body::Facade::Facade(), and Vamos_Body::LED_Gauge::LED_Gauge().


Member Data Documentation

int Vamos_Geometry::Texture_Image::m_channels [protected]
 

Definition at line 47 of file Texture_Image.h.

Referenced by channels(), operator=(), and Texture_Image().

int Vamos_Geometry::Texture_Image::m_data_size [protected]
 

Definition at line 42 of file Texture_Image.h.

Referenced by operator=(), and Texture_Image().

double Vamos_Geometry::Texture_Image::m_height [protected]
 

Reimplemented in Vamos_Body::Facade.

Definition at line 46 of file Texture_Image.h.

Referenced by Vamos_Body::Facade::build_image(), height(), and set_height().

int Vamos_Geometry::Texture_Image::m_height_pixels [protected]
 

Definition at line 44 of file Texture_Image.h.

Referenced by aspect_ratio(), Vamos_Geometry::Gl_Texture_Image::Gl_Texture_Image(), height_pixels(), operator=(), and Texture_Image().

double Vamos_Geometry::Texture_Image::m_width [protected]
 

Reimplemented in Vamos_Body::Facade.

Definition at line 45 of file Texture_Image.h.

Referenced by Vamos_Body::Facade::build_image(), set_width(), and width().

int Vamos_Geometry::Texture_Image::m_width_pixels [protected]
 

Definition at line 43 of file Texture_Image.h.

Referenced by aspect_ratio(), Vamos_Geometry::Gl_Texture_Image::Gl_Texture_Image(), operator=(), Texture_Image(), and width_pixels().


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