3Depict
|
#include <effect.h>
Public Member Functions | |
Effect () | |
virtual | ~Effect () |
virtual Effect * | clone () const =0 |
virtual void | enable (unsigned int pass=0) const =0 |
virtual void | disable () const =0 |
std::string | getName () const |
virtual bool | writeState (std::ofstream &f, unsigned int format, unsigned int depth) const =0 |
virtual bool | readState (xmlNodePtr n)=0 |
virtual bool | needCamUpdate () const |
virtual bool | willDoSomething () const =0 |
Returns true if the effect has any influence on the output. More... | |
virtual unsigned int | numPassesNeeded () const |
virtual unsigned int | getType () const |
Static Public Member Functions | |
static void | setCurCam (Camera *c) |
static void | setBoundingCube (const BoundCube &c) |
Protected Attributes | |
unsigned int | effectType |
Static Protected Attributes | |
static Camera * | curCam =0 |
static BoundCube | bc |
Effect::Effect | ( | ) |
References COMPILE_ASSERT, EFFECT_NAMES, NUM_EFFECTS, and THREEDEP_ARRAYSIZE.
|
inlinevirtual |
References clone(), disable(), enable(), getName(), readState(), and writeState().
|
pure virtual |
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by AnaglyphEffect::~AnaglyphEffect(), BoxCropEffect::~BoxCropEffect(), and ~Effect().
|
pure virtual |
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by AnaglyphEffect::~AnaglyphEffect(), BoxCropEffect::~BoxCropEffect(), and ~Effect().
|
pure virtual |
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by BoxCropEffect::useCamCoords(), AnaglyphEffect::~AnaglyphEffect(), BoxCropEffect::~BoxCropEffect(), and ~Effect().
std::string Effect::getName | ( | ) | const |
References EFFECT_NAMES, and getType().
Referenced by ~Effect().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in AnaglyphEffect.
References willDoSomething().
|
inlinevirtual |
Reimplemented in AnaglyphEffect.
|
pure virtual |
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by AnaglyphEffect::~AnaglyphEffect(), BoxCropEffect::~BoxCropEffect(), and ~Effect().
|
inlinestatic |
|
inlinestatic |
|
pure virtual |
Returns true if the effect has any influence on the output.
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by needCamUpdate(), and BoxCropEffect::~BoxCropEffect().
|
pure virtual |
Implemented in AnaglyphEffect, and BoxCropEffect.
Referenced by AnaglyphEffect::~AnaglyphEffect(), BoxCropEffect::~BoxCropEffect(), and ~Effect().
|
staticprotected |
Referenced by BoxCropEffect::enable().
|
staticprotected |
Referenced by AnaglyphEffect::disable(), BoxCropEffect::enable(), and AnaglyphEffect::enable().
|
protected |
Referenced by AnaglyphEffect::AnaglyphEffect(), BoxCropEffect::BoxCropEffect(), and getType().