Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

Image Class Reference

#include <Image.h>

Inheritance diagram for Image:
Inheritance graph
Collaboration diagram for Image:
Collaboration graph

List of all members.

Public Member Functions

 Image (const string &name, GLsizei w, GLsizei h, GLint numMipMaps, GLenum format, GLint components, const GLubyte *pixels, bool stdCoordSystem)
virtual ~Image ()
bool isPowerOfTwo () const
GLsizei width () const
GLsizei height () const
GLint numMipmaps () const
GLenum format () const
GLint components () const
const GLubyte * pixels () const
const string & name () const
bool stdCoordSystem () const

Protected Member Functions

 Image ()

Protected Attributes

GLsizei _width
GLsizei _height
GLint _numMipmaps
GLenum _format
GLint _components
GLubyte * _pixels
string _name
bool _standardCoordSystem

Private Member Functions

 Image (const Image &img)

Detailed Description

Definition at line 151 of file Image.h.

Constructor & Destructor Documentation

Image::Image (  )  [inline, protected]

Definition at line 155 of file Image.h.

Image::Image ( const Image img  )  [private]
Image::Image ( const string &  name,
GLsizei  w,
GLsizei  h,
GLint  numMipMaps,
GLenum  format,
GLint  components,
const GLubyte *  pixels,
bool  stdCoordSystem 

Definition at line 93 of file Image.cpp.

Image::~Image (  )  [virtual]

Definition at line 128 of file Image.cpp.

Member Function Documentation

bool Image::isPowerOfTwo (  )  const

Definition at line 142 of file Image.cpp.

GLsizei Image::width (  )  const [inline]

Definition at line 176 of file Image.h.

GLsizei Image::height (  )  const [inline]

Definition at line 177 of file Image.h.

GLint Image::numMipmaps (  )  const [inline]

Definition at line 178 of file Image.h.

GLenum Image::format (  )  const [inline]

Definition at line 179 of file Image.h.

GLint Image::components (  )  const [inline]

Definition at line 180 of file Image.h.

const GLubyte* Image::pixels (  )  const [inline]

Definition at line 181 of file Image.h.

const string& Image::name (  )  const [inline]

Definition at line 182 of file Image.h.

bool Image::stdCoordSystem (  )  const [inline]

Definition at line 183 of file Image.h.

Member Data Documentation

GLsizei Image::_width [protected]

Definition at line 187 of file Image.h.

GLsizei Image::_height [protected]

Definition at line 188 of file Image.h.

GLint Image::_numMipmaps [protected]

Definition at line 189 of file Image.h.

GLenum Image::_format [protected]

Definition at line 193 of file Image.h.

GLint Image::_components [protected]

Definition at line 194 of file Image.h.

GLubyte* Image::_pixels [protected]

Definition at line 197 of file Image.h.

string Image::_name [protected]

Definition at line 199 of file Image.h.

bool Image::_standardCoordSystem [protected]

Definition at line 203 of file Image.h.

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