lux::ImageData Class Reference

#include <imagereader.h>

Collaboration diagram for lux::ImageData:
[legend]

List of all members.

Public Types

enum  PixelDataType { UNSIGNED_CHAR_TYPE, UNSIGNED_SHORT_TYPE, FLOAT_TYPE }

Public Member Functions

 ImageData (int width, int height, PixelDataType type, int noChannels, TextureColorBase *data)
 ~ImageData ()
int getWidth ()
int getHeight ()
int getChannels ()
PixelDataType getPixelDataType ()
TextureColorBasegetData ()
bool isExrImage ()
void setIsExrImage (bool exrImage)
template<class T >
MIPMap< T > * createMIPMap (ImageTextureFilterType filterType=BILINEAR, float maxAniso=8.f, ImageWrap wrapMode=TEXTURE_REPEAT, float gain=1.0f, float gamma=1.0f)

Private Attributes

int width_
int height_
int noChannels_
TextureColorBasedata_
PixelDataType pixel_type_
bool isExrImage_

Detailed Description

Definition at line 34 of file imagereader.h.


Member Enumeration Documentation

Enumerator:
UNSIGNED_CHAR_TYPE 
UNSIGNED_SHORT_TYPE 
FLOAT_TYPE 

Definition at line 36 of file imagereader.h.


Constructor & Destructor Documentation

lux::ImageData::ImageData ( int  width,
int  height,
PixelDataType  type,
int  noChannels,
TextureColorBase data 
) [inline]

Definition at line 42 of file imagereader.h.

References data_, height_, isExrImage_, noChannels_, pixel_type_, and width_.

lux::ImageData::~ImageData (  )  [inline]

Definition at line 53 of file imagereader.h.

References data_.


Member Function Documentation

template<class T >
MIPMap<T>* lux::ImageData::createMIPMap ( ImageTextureFilterType  filterType = BILINEAR,
float  maxAniso = 8.f,
ImageWrap  wrapMode = TEXTURE_REPEAT,
float  gain = 1.0f,
float  gamma = 1.0f 
) [inline]
int lux::ImageData::getChannels (  )  [inline]

Definition at line 65 of file imagereader.h.

References noChannels_.

TextureColorBase* lux::ImageData::getData (  )  [inline]

Definition at line 73 of file imagereader.h.

References data_.

int lux::ImageData::getHeight (  )  [inline]

Definition at line 61 of file imagereader.h.

References height_.

PixelDataType lux::ImageData::getPixelDataType (  )  [inline]

Definition at line 69 of file imagereader.h.

References pixel_type_.

int lux::ImageData::getWidth (  )  [inline]

Definition at line 57 of file imagereader.h.

References width_.

bool lux::ImageData::isExrImage (  )  [inline]

Definition at line 77 of file imagereader.h.

References isExrImage_.

void lux::ImageData::setIsExrImage ( bool  exrImage  )  [inline]

Definition at line 81 of file imagereader.h.

References isExrImage_.


Member Data Documentation

Definition at line 210 of file imagereader.h.

Referenced by createMIPMap(), getData(), ImageData(), and ~ImageData().

Definition at line 208 of file imagereader.h.

Referenced by createMIPMap(), getHeight(), and ImageData().

Definition at line 212 of file imagereader.h.

Referenced by ImageData(), isExrImage(), and setIsExrImage().

Definition at line 209 of file imagereader.h.

Referenced by createMIPMap(), getChannels(), and ImageData().

Definition at line 211 of file imagereader.h.

Referenced by createMIPMap(), getPixelDataType(), and ImageData().

Definition at line 207 of file imagereader.h.

Referenced by createMIPMap(), getWidth(), and ImageData().


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208