#include <EnvironmentCreator.h>
Public Types |
|
enum | { kLatitudeLongitude = 1, kVerticalCross, kSpherical } |
Public Member Functions |
|
EnvironmentCreator () | |
~EnvironmentCreator () | |
void | setGlobalParameters (float lowCutoff, float highCutoff, float exposure, float saturation, float gamma) |
void | setBackdropParameters (bool compute, int outParam, float outResFactor, bool toneMap=true) |
void | setDiffuseParameters (bool compute, int outParam, float outResFactor, float quality) |
void | setSpecularParameters (bool compute, int outParam, float outResFactor, float glossFactor) |
void | setReflectParameters (bool compute, int outParam, float outResFactor) |
bool | initialize (const awString::IString &filename) |
awString::IString | getFilename () const |
bool | compute () |
bool | backdropComputed () const |
bool | diffuseComputed () const |
bool | specularComputed () const |
bool | reflectComputed () const |
bool | saveBackdropTexture (const awString::IString &filename) |
bool | saveDiffuseTexture (const awString::IString &filename) |
bool | saveSpecularTexture (const awString::IString &filename) |
bool | saveReflectTexture (const awString::IString &filename) |
bool | computeAndSaveBackdropPreview (const awString::IString &filename, float exposure=1.0f, float saturation=1.0f, float gamma=1.0f) |
const awString::IString & | getTitle () const |
double | getProgress () const |
const awString::IString | getProgressDescription () const |
void | cancel () |
bool | cancelled () |
Static Public Member Functions |
|
static awImage::EnvironmentMap * | getEnvironmentMap (int param, awImage::ImageFloat3 &img) |
anonymous enum |
{ kLatitudeLongitude = 1, kVerticalCross, kSpherical };
~EnvironmentCreator | ( | ) |
void setGlobalParameters | ( | float | lowCutoff, |
float | highCutoff, | ||
float | exposure, | ||
float | saturation, | ||
float | gamma | ||
) |
void setBackdropParameters | ( | bool | compute, |
int | outParam, | ||
float | outResFactor, | ||
bool | toneMap =
true |
||
) |
void setDiffuseParameters | ( | bool | compute, |
int | outParam, | ||
float | outResFactor, | ||
float | quality | ||
) |
void setSpecularParameters | ( | bool | compute, |
int | outParam, | ||
float | outResFactor, | ||
float | glossFactor | ||
) |
void setReflectParameters | ( | bool | compute, |
int | outParam, | ||
float | outResFactor | ||
) |
bool initialize | ( | const awString::IString & | filename | ) |
awString::IString getFilename | ( | ) | const |
bool compute | ( | ) |
bool backdropComputed | ( | ) | const |
bool diffuseComputed | ( | ) | const |
bool specularComputed | ( | ) | const |
bool reflectComputed | ( | ) | const |
bool saveBackdropTexture | ( | const awString::IString & | filename | ) |
bool saveDiffuseTexture | ( | const awString::IString & | filename | ) |
bool saveSpecularTexture | ( | const awString::IString & | filename | ) |
bool saveReflectTexture | ( | const awString::IString & | filename | ) |
bool computeAndSaveBackdropPreview | ( | const awString::IString & | filename, |
float | exposure = 1.0f , |
||
float | saturation = 1.0f , |
||
float | gamma = 1.0f |
||
) |
const awString::IString& getTitle | ( | ) | const |
double getProgress | ( | ) | const |
const awString::IString getProgressDescription | ( | ) | const |
void cancel | ( | ) |
bool cancelled | ( | ) |
static awImage::EnvironmentMap* getEnvironmentMap | ( | int | param, |
awImage::ImageFloat3 & | img | ||
) | [static] |