#include <ParticleUniverseAtlasImage.h>
The AtlasImage class offers the possibility to create one (atlas) image from other images.
ParticleUniverse::AtlasImage::AtlasImage |
( |
void |
| ) |
|
virtual ParticleUniverse::AtlasImage::~AtlasImage |
( |
void |
| ) |
|
|
virtual |
void ParticleUniverse::AtlasImage::_compile |
( |
void |
| ) |
|
Construct the atlas image from all added images.
bool ParticleUniverse::AtlasImage::addImage |
( |
const Ogre::Image * |
image | ) |
|
Add an Ogre Image to the atlas.
- Internally, a copy is made from each added image. This means that the AtlasImage class isnīt responsible for destruction of the the added image pointer.
const bool ParticleUniverse::AtlasImage::getAlwaysUpdate |
( |
void |
| ) |
const |
If true, the atlas image if recompiled after each change (i.e. an image is added).
const Ogre::Image* ParticleUniverse::AtlasImage::getImage |
( |
void |
| ) |
const |
Get a pointer to the Ogre image of the atlas.
void ParticleUniverse::AtlasImage::save |
( |
const String & |
filename | ) |
|
Save the atlas image as a file. The filename must include the extention (png, jpg)
void ParticleUniverse::AtlasImage::setAlwaysUpdate |
( |
const bool |
alwaysUpdate | ) |
|
bool ParticleUniverse::AtlasImage::mAlwaysUpdate |
|
protected |
ImageList ParticleUniverse::AtlasImage::mImageList |
|
protected |
size_t ParticleUniverse::AtlasImage::mIndividualImageHeight |
|
protected |
size_t ParticleUniverse::AtlasImage::mIndividualImageRowSpan |
|
protected |
size_t ParticleUniverse::AtlasImage::mIndividualImageWidth |
|
protected |
The documentation for this class was generated from the following file:
- ParticleUniverseAtlasImage.h