Blender V2.61 - r43446
|
class for image mixer More...
#include <ImageMix.h>
Public Member Functions | |
ImageMix (void) | |
constructor | |
virtual | ~ImageMix (void) |
destructor | |
short | getWeight (const char *id) |
get weight | |
bool | setWeight (const char *id, short weight) |
set weight | |
Protected Member Functions | |
virtual ImageSource * | newSource (const char *id) |
create new source | |
virtual void | calcImage (unsigned int texId, double ts) |
calculate image from sources and set its availability |
class for image mixer
Definition at line 65 of file ImageMix.h.
ImageMix::ImageMix | ( | void | ) | [inline] |
constructor
Definition at line 69 of file ImageMix.h.
virtual ImageMix::~ImageMix | ( | void | ) | [inline, virtual] |
destructor
Definition at line 72 of file ImageMix.h.
void ImageMix::calcImage | ( | unsigned int | texId, |
double | ts | ||
) | [protected, virtual] |
calculate image from sources and set its availability
Reimplemented from ImageBase.
Definition at line 71 of file ImageMix.cpp.
References ImageBase::checkSourceSizes(), ImageBase::filterImage(), getImageSourceMix(), ImageBase::getSize(), ImageBase::m_sources, NULL, S_OK, ImageSourceMix::setOffset(), and THRWEXCP.
short ImageMix::getWeight | ( | const char * | id | ) |
get weight
Definition at line 46 of file ImageMix.cpp.
References ImageBase::findSource(), getImageSourceMix(), ImageSourceMix::getWeight(), and ImageBase::m_sources.
Referenced by getWeight().
virtual ImageSource* ImageMix::newSource | ( | const char * | id | ) | [inline, protected, virtual] |
bool ImageMix::setWeight | ( | const char * | id, |
short | weight | ||
) |
set weight
Definition at line 55 of file ImageMix.cpp.
References ImageBase::findSource(), getImageSourceMix(), ImageBase::m_sources, and ImageSourceMix::setWeight().