Public Member Functions | Protected Member Functions | Protected Attributes

Image Class Reference

#include <Image.h>

Inheritance diagram for Image:
Inheritance graph
[legend]
Collaboration diagram for Image:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 153 of file Image.h.


Constructor & Destructor Documentation

Image::Image (  )  [inline, protected]

Definition at line 157 of file Image.h.

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 178 of file Image.h.

GLsizei Image::height (  )  const [inline]

Definition at line 179 of file Image.h.

GLint Image::numMipmaps (  )  const [inline]

Definition at line 180 of file Image.h.

GLenum Image::format (  )  const [inline]

Definition at line 181 of file Image.h.

GLint Image::components (  )  const [inline]

Definition at line 182 of file Image.h.

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

Definition at line 183 of file Image.h.

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

Definition at line 184 of file Image.h.

bool Image::stdCoordSystem (  )  const [inline]

Definition at line 185 of file Image.h.


Member Data Documentation

GLsizei Image::_width [protected]

Definition at line 189 of file Image.h.

GLsizei Image::_height [protected]

Definition at line 190 of file Image.h.

GLint Image::_numMipmaps [protected]

Definition at line 191 of file Image.h.

GLenum Image::_format [protected]

Definition at line 195 of file Image.h.

GLint Image::_components [protected]

Definition at line 196 of file Image.h.

GLubyte* Image::_pixels [protected]

Definition at line 199 of file Image.h.

string Image::_name [protected]

Definition at line 201 of file Image.h.

bool Image::_standardCoordSystem [protected]

Definition at line 205 of file Image.h.


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