|
3Depict
|
#include <effect.h>


Public Member Functions | |
| AnaglyphEffect () | |
| ~AnaglyphEffect () | |
| Effect * | clone () const |
| void | enable (unsigned int pass) const |
| Enable the clipping plane. Values must be set before calling. More... | |
| void | disable () const |
| DIsable the clipping plane. More... | |
| bool | writeState (std::ofstream &f, unsigned int format, unsigned int depth) const |
| bool | readState (xmlNodePtr n) |
| void | setFlip (bool shouldFlip) |
| Whether we should be flipping the lens from its hard-coded left-right. More... | |
| void | setMode (unsigned int mode) |
| void | setBaseShift (float shift) |
| bool | needCamUpdate () const |
| bool | willDoSomething () const |
| Returns true if the effect has any influence on the output. More... | |
| virtual unsigned int | numPassesNeeded () const |
| float | getBaseShift () const |
| unsigned int | getMode () const |
Public Member Functions inherited from Effect | |
| Effect () | |
| virtual | ~Effect () |
| std::string | getName () const |
| virtual unsigned int | getType () const |
Additional Inherited Members | |
Static Public Member Functions inherited from Effect | |
| static void | setCurCam (Camera *c) |
| static void | setBoundingCube (const BoundCube &c) |
Protected Attributes inherited from Effect | |
| unsigned int | effectType |
Static Protected Attributes inherited from Effect | |
| static Camera * | curCam =0 |
| static BoundCube | bc |
| AnaglyphEffect::AnaglyphEffect | ( | ) |
References EFFECT_ANAGLYPH, and Effect::effectType.
Referenced by clone().

|
inline |
References Effect::clone(), Effect::disable(), Effect::enable(), Effect::readState(), and Effect::writeState().
|
virtual |
Implements Effect.
References AnaglyphEffect().
|
virtual |
|
virtual |
Enable the clipping plane. Values must be set before calling.
Implements Effect.
References ANAGLYPH_REDBLUE, ASSERT, CAM_LOOKAT, Camera::clone(), Effect::curCam, Camera::translate(), and Camera::type().
|
inline |
|
inline |
References makeEffect().
Referenced by MainWindowFrame::OnUpdateTimer().

|
inlinevirtual |
Reimplemented from Effect.
|
inlinevirtual |
Reimplemented from Effect.
|
virtual |
Implements Effect.
References ANAGLYPH_HALF_COLOUR, and XMLGetNextElemAttrib().
|
inline |
|
inline |
Whether we should be flipping the lens from its hard-coded left-right.
Referenced by MainWindowFrame::OnUpdateTimer().

| void AnaglyphEffect::setMode | ( | unsigned int | mode | ) |
References ANAGLYPH_ENUM_END, and ASSERT.
Referenced by MainWindowFrame::OnUpdateTimer().

|
inlinevirtual |
Returns true if the effect has any influence on the output.
Implements Effect.
|
virtual |
Implements Effect.
References ASSERT, STATE_FORMAT_XML, and tabs().
1.8.13