omegalib  13.1
omegaToolkit::CameraStereoSwitcher Class Reference

A module that switches an application stereo mode on or off based on it's tracker position and orientation.Useful to disable stereo rendering when a user is taking off their glasses. More...

#include <CameraStereoSwitcher.h>

Public Member Functions

virtual void setup (Setting &s)
 
virtual void initialize ()
 
virtual void handleEvent (const Event &evt)
 
- Public Member Functions inherited from omega::EngineModule
 EngineModule (const String &name)
 
 EngineModule ()
 
virtual ~EngineModule ()
 
void requestOpenGLProfile (OpenGLProfile profile)
 This method can be used within an engine module ctor or initialization to test for module compatibility. More...
 
void enableSharedData ()
 
void disableSharedData ()
 
virtual void dispose ()
 
virtual void update (const UpdateContext &context)
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
virtual void initializeRenderer (Renderer *)
 
void doInitialize (Engine *server)
 
void doDispose ()
 
virtual bool isInitialized ()
 
EnginegetEngine ()
 
Priority getPriority ()
 
void setPriority (Priority value)
 
const StringgetName ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Static Public Member Functions

static CameraStereoSwitchercreate (const String &name)
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Additional Inherited Members

- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 

Detailed Description

A module that switches an application stereo mode on or off based on it's tracker position and orientation.Useful to disable stereo rendering when a user is taking off their glasses.

+ Inheritance diagram for omegaToolkit::CameraStereoSwitcher:

Member Function Documentation

static CameraStereoSwitcher* omegaToolkit::CameraStereoSwitcher::create ( const String name)
static
virtual void omegaToolkit::CameraStereoSwitcher::handleEvent ( const Event &  evt)
virtual
virtual void omegaToolkit::CameraStereoSwitcher::initialize ( )
virtual

Reimplemented from omega::EngineModule.

virtual void omegaToolkit::CameraStereoSwitcher::setup ( Setting s)
virtual

The documentation for this class was generated from the following file: