OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
opencover::coVRConfig Class Reference

#include <coVRConfig.h>

Public Types

enum  MonoViews { MONO_MIDDLE, MONO_LEFT, MONO_RIGHT, MONO_NONE }
 
enum  {
  FIXED_TO_VIEWER, FIXED_TO_OBJROOT, FIXED_TO_VIEWER_FRONT, FIXED_TO_OBJROOT_FRONT,
  NONE
}
 
enum  Languages { ENGLISH, GERMAN }
 

Public Member Functions

MonoViews monoView () const
 
int getEnvMapMode ()
 
int numScreens () const
 
int numChannels () const
 
int numPBOs () const
 
int numViewports () const
 
int numBlendingTextures () const
 
int numWindows () const
 
int numPipes () const
 
int lockToCPU () const
 
float getSceneSize () const
 
int stereoMode () const
 
int parseStereoMode (const char *modeName)
 
bool haveFlatDisplay () const
 
bool mouseNav () const
 
bool mouseTracking () const
 
bool useWiiMote () const
 
bool useWiiNavigationVisenso () const
 
bool isMenuModeOn () const
 
bool colorSceneInMenuMode () const
 
bool debugLevel (int level) const
 
int getDebugLevel () const
 
void setDebugLevel (int level)
 
bool stereoState () const
 
float stereoSeparation () const
 
int numStencilBits () const
 
float worldAngle () const
 
bool frozen () const
 return true if the position of the tracked head is not taken into account More...
 
void setFrozen (bool state)
 true: stop head tracking, false: enable head tracking More...
 
bool orthographic () const
 return true if projection is orthographic More...
 
void setOrthographic (bool state)
 true: projection is orthographic More...
 
bool useDisplayLists () const
 return true, if configured for display lists More...
 
bool useVBOs () const
 return true, if configured for vertex buffer objects More...
 
float nearClip () const
 distance of near clipping plane More...
 
float farClip () const
 distance of far clipping plane More...
 
float getLODScale () const
 scale factor for level of detail computation More...
 
void setLODScale (float)
 
bool doMultisample ()
 
bool getMultisampleInvert ()
 
float getMultisampleCoverage ()
 
int getMultisampleSamples ()
 
int getMultisampleSampleBuffers ()
 
osg::Multisample::Mode getMultisampleMode ()
 
bool stencil () const
 
void setFrameRate (float fr)
 
float frameRate () const
 
bool useDisplayVariable () const
 
bool restrictOn () const
 
void setNearFar (float nearC, float farC)
 
int getLanguage () const
 

Static Public Member Functions

static coVRConfiginstance ()
 

Public Attributes

enum opencover::coVRConfig:: { ... }  envMapModes
 
char * collaborativeOptionsFile
 
char * viewpointsFile
 
std::vector< screenStructscreens
 
std::vector< channelStructchannels
 
std::vector< PBOStructPBOs
 
std::vector< pipeStructpipes
 
std::vector< windowStructwindows
 
std::vector< viewportStructviewports
 
std::vector
< blendingTextureStruct
blendingTextures
 
float HMDViewingAngle
 
float HMDDistance
 
std::string glVersion
 

Friends

class coVRPluginSupport
 
class VRWindow
 
class VRSceneGraph
 
class OpenCOVER
 
class VRViewer
 

Member Enumeration Documentation

anonymous enum
Enumerator
FIXED_TO_VIEWER 
FIXED_TO_OBJROOT 
FIXED_TO_VIEWER_FRONT 
FIXED_TO_OBJROOT_FRONT 
NONE 
Enumerator
ENGLISH 
GERMAN 
Enumerator
MONO_MIDDLE 
MONO_LEFT 
MONO_RIGHT 
MONO_NONE 

Member Function Documentation

bool opencover::coVRConfig::colorSceneInMenuMode ( ) const
bool opencover::coVRConfig::debugLevel ( int  level) const
bool opencover::coVRConfig::doMultisample ( )
inline
float opencover::coVRConfig::farClip ( ) const

distance of far clipping plane

float opencover::coVRConfig::frameRate ( ) const
bool opencover::coVRConfig::frozen ( ) const

return true if the position of the tracked head is not taken into account

int opencover::coVRConfig::getDebugLevel ( ) const
int opencover::coVRConfig::getEnvMapMode ( )
inline
int opencover::coVRConfig::getLanguage ( ) const
inline
float opencover::coVRConfig::getLODScale ( ) const

scale factor for level of detail computation

float opencover::coVRConfig::getMultisampleCoverage ( )
inline
bool opencover::coVRConfig::getMultisampleInvert ( )
inline
osg::Multisample::Mode opencover::coVRConfig::getMultisampleMode ( )
inline
int opencover::coVRConfig::getMultisampleSampleBuffers ( )
inline
int opencover::coVRConfig::getMultisampleSamples ( )
inline
float opencover::coVRConfig::getSceneSize ( ) const
bool opencover::coVRConfig::haveFlatDisplay ( ) const
static coVRConfig* opencover::coVRConfig::instance ( )
static
bool opencover::coVRConfig::isMenuModeOn ( ) const
int opencover::coVRConfig::lockToCPU ( ) const
MonoViews opencover::coVRConfig::monoView ( ) const
bool opencover::coVRConfig::mouseNav ( ) const
bool opencover::coVRConfig::mouseTracking ( ) const
float opencover::coVRConfig::nearClip ( ) const

distance of near clipping plane

int opencover::coVRConfig::numBlendingTextures ( ) const
int opencover::coVRConfig::numChannels ( ) const
int opencover::coVRConfig::numPBOs ( ) const
int opencover::coVRConfig::numPipes ( ) const
int opencover::coVRConfig::numScreens ( ) const
int opencover::coVRConfig::numStencilBits ( ) const
int opencover::coVRConfig::numViewports ( ) const
int opencover::coVRConfig::numWindows ( ) const
bool opencover::coVRConfig::orthographic ( ) const

return true if projection is orthographic

int opencover::coVRConfig::parseStereoMode ( const char *  modeName)
bool opencover::coVRConfig::restrictOn ( ) const
inline
void opencover::coVRConfig::setDebugLevel ( int  level)
void opencover::coVRConfig::setFrameRate ( float  fr)
void opencover::coVRConfig::setFrozen ( bool  state)

true: stop head tracking, false: enable head tracking

void opencover::coVRConfig::setLODScale ( float  )
void opencover::coVRConfig::setNearFar ( float  nearC,
float  farC 
)
inline
void opencover::coVRConfig::setOrthographic ( bool  state)

true: projection is orthographic

bool opencover::coVRConfig::stencil ( ) const
int opencover::coVRConfig::stereoMode ( ) const
float opencover::coVRConfig::stereoSeparation ( ) const
bool opencover::coVRConfig::stereoState ( ) const
bool opencover::coVRConfig::useDisplayLists ( ) const

return true, if configured for display lists

bool opencover::coVRConfig::useDisplayVariable ( ) const
inline
bool opencover::coVRConfig::useVBOs ( ) const

return true, if configured for vertex buffer objects

bool opencover::coVRConfig::useWiiMote ( ) const
bool opencover::coVRConfig::useWiiNavigationVisenso ( ) const
float opencover::coVRConfig::worldAngle ( ) const

Friends And Related Function Documentation

friend class coVRPluginSupport
friend
friend class OpenCOVER
friend
friend class VRSceneGraph
friend
friend class VRViewer
friend
friend class VRWindow
friend

Member Data Documentation

std::vector<blendingTextureStruct> opencover::coVRConfig::blendingTextures
std::vector<channelStruct> opencover::coVRConfig::channels
char* opencover::coVRConfig::collaborativeOptionsFile
enum { ... } opencover::coVRConfig::envMapModes
std::string opencover::coVRConfig::glVersion
float opencover::coVRConfig::HMDDistance
float opencover::coVRConfig::HMDViewingAngle
std::vector<PBOStruct> opencover::coVRConfig::PBOs
std::vector<pipeStruct> opencover::coVRConfig::pipes
std::vector<screenStruct> opencover::coVRConfig::screens
char* opencover::coVRConfig::viewpointsFile
std::vector<viewportStruct> opencover::coVRConfig::viewports
std::vector<windowStruct> opencover::coVRConfig::windows

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