Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CImageTIFF Class Reference

#include <Utility.h>

List of all members.

Public Member Functions

 CImageTIFF (const char *tifFilename)
 ~CImageTIFF (void)
int GetWidth (void)
int GetHeight (void)
GLuint CreateTexture (bool mipmap)

Protected Attributes

char name [64]
int width
int height
int depth
GLubyte * image
GLuint texid


Detailed Description

Definition at line 300 of file Utility.h.


Constructor & Destructor Documentation

CImageTIFF::CImageTIFF const char *  tifFilename  ) 
 

Definition at line 266 of file ImageTIFF.cpp.

References RGB::b, BigEndian(), TIFF_IFD_ENTRY::count, depth, TIFF_IFH::endian, RGB::g, globals, gtfo, height, TIFF_IFH::ifd, image, LittleEndian(), TIFF_IFD_ENTRY::offset, pclose(), SGlobals::pfs, popen(), pread(), pseek(), ptell(), RGB::r, TIFF_IFH::signature, TIFF_IFD_ENTRY::tag, texid, TIFF_BIG_ENDIAN, TIFF_CMAP, TIFF_LITTLE_ENDIAN, TIFF_RGB, TIFF_SIGNATURE, TIFF_TAG_BITSPERSAMPLE, TIFF_TAG_COLORMAP, TIFF_TAG_COMPRESSION, TIFF_TAG_IMAGELENGTH, TIFF_TAG_IMAGEWIDTH, TIFF_TAG_INTERPRETATION, TIFF_TAG_PLANARCONFIGURATION, TIFF_TAG_ROWSPERSTRIP, TIFF_TAG_SAMPLESPERPIXEL, TIFF_TAG_STRIPBYTECOUNTS, TIFF_TAG_STRIPOFFSETS, TIFF_TYPE_LONG, TIFF_TYPE_SHORT, TIFF_UNKNOWN, tifRead16(), tifRead32(), TIFF_IFD_ENTRY::type, and width.

CImageTIFF::~CImageTIFF void   ) 
 

Definition at line 596 of file ImageTIFF.cpp.

References image.


Member Function Documentation

GLuint CImageTIFF::CreateTexture bool  mipmap  ) 
 

Definition at line 144 of file ImageTIFF.cpp.

References depth, height, image, texid, and width.

Referenced by CModelACM::CModelACM(), and CModelSMF::CModelSMF().

int CImageTIFF::GetHeight void   ) 
 

Definition at line 188 of file ImageTIFF.cpp.

References height.

int CImageTIFF::GetWidth void   ) 
 

Definition at line 183 of file ImageTIFF.cpp.

References width.


Member Data Documentation

int CImageTIFF::depth [protected]
 

Definition at line 313 of file Utility.h.

Referenced by CImageTIFF(), and CreateTexture().

int CImageTIFF::height [protected]
 

Definition at line 313 of file Utility.h.

Referenced by CImageTIFF(), CreateTexture(), and GetHeight().

GLubyte* CImageTIFF::image [protected]
 

Definition at line 314 of file Utility.h.

Referenced by CImageTIFF(), CreateTexture(), and ~CImageTIFF().

char CImageTIFF::name[64] [protected]
 

Definition at line 312 of file Utility.h.

GLuint CImageTIFF::texid [protected]
 

Definition at line 315 of file Utility.h.

Referenced by CImageTIFF(), and CreateTexture().

int CImageTIFF::width [protected]
 

Definition at line 313 of file Utility.h.

Referenced by CImageTIFF(), CreateTexture(), and GetWidth().


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen