24#include <util/coExport.h>
28#include <osg/Multisample>
29#include <osg/Texture2D>
30#include <osgViewer/GraphicsWindow>
31#include <osgUtil/SceneView>
71 ,
name(
"UninitializedScreen")
90 osg::DisplaySettings *
ds;
99 :
name(
"UninitializedChannel")
143 osg::ref_ptr<osgViewer::GraphicsWindow>
window;
166 ,
name(
"UninitializedWindow")
393 return multisampleInvert;
397 return multisampleCoverage;
401 return multisampleSamples;
405 return multisampleSampleBuffers;
409 return multisampleMode;
434 return m_useVirtualGL;
439 if (nearC > 0 && farC > 0)
465 bool m_useDisplayLists;
480 float m_stereoSeparation;
484 bool m_passiveStereo;
494 int multisampleSamples;
495 int multisampleSampleBuffers;
496 float multisampleCoverage;
497 bool multisampleInvert;
499 osg::Multisample::Mode multisampleMode;
503 bool m_useWiiNavVisenso;
508 bool constantFrameRate;
509 float constFrameTime;
510 bool m_continuousRendering;
515 bool m_coloringSceneInMenuMode;
Definition: ARToolKit.h:33
Definition: coClusterStat.h:29
Definition: coVRConfig.h:41
describes a physical screen, such as one wall of a CAVE
Definition: coVRConfig.h:52
float vsize
Definition: coVRConfig.h:54
osg::Vec3 hpr
Definition: coVRConfig.h:58
float rTan
Definition: coVRConfig.h:62
screenStruct()
Definition: coVRConfig.h:66
float configuredHsize
Definition: coVRConfig.h:55
float hsize
Definition: coVRConfig.h:53
float configuredVsize
Definition: coVRConfig.h:56
float lTan
Definition: coVRConfig.h:61
std::string name
Definition: coVRConfig.h:59
float tTan
Definition: coVRConfig.h:63
bool render
Definition: coVRConfig.h:60
osg::Vec3 xyz
Definition: coVRConfig.h:57
float bTan
Definition: coVRConfig.h:64
describes a render Channel which renders to a PBO or viewport
Definition: coVRConfig.h:82
int screenNum
Definition: coVRConfig.h:87
osg::Matrixd leftProj
Definition: coVRConfig.h:96
osg::DisplaySettings * ds
Definition: coVRConfig.h:90
int stereoMode
Definition: coVRConfig.h:92
osg::Matrixd leftView
Definition: coVRConfig.h:95
std::string name
Definition: coVRConfig.h:83
osg::Matrixd rightProj
Definition: coVRConfig.h:96
float stereoOffset
Definition: coVRConfig.h:94
bool fixedViewer
Definition: coVRConfig.h:93
osg::ref_ptr< osg::Camera > camera
Definition: coVRConfig.h:89
osg::Matrixd rightView
Definition: coVRConfig.h:95
int PBONum
Definition: coVRConfig.h:85
bool stereo
Definition: coVRConfig.h:91
int viewportNum
Definition: coVRConfig.h:86
channelStruct()
Definition: coVRConfig.h:98
describes a PBO
Definition: coVRConfig.h:113
int PBOsx
Definition: coVRConfig.h:114
osg::ref_ptr< osg::Texture2D > renderTargetTexture
Definition: coVRConfig.h:116
int PBOsy
Definition: coVRConfig.h:114
int windowNum
Definition: coVRConfig.h:115
PBOStruct()
Definition: coVRConfig.h:118
Definition: coVRConfig.h:127
int analogInput
Definition: coVRConfig.h:129
float maxangle
Definition: coVRConfig.h:131
int screen
Definition: coVRConfig.h:132
float * value
Definition: coVRConfig.h:133
int hpr
Definition: coVRConfig.h:134
float cmax
Definition: coVRConfig.h:130
describes one window of the windowing system
Definition: coVRConfig.h:139
bool decoration
Definition: coVRConfig.h:146
int swapGroup
Definition: coVRConfig.h:152
std::string type
Definition: coVRConfig.h:155
int screenNum
Definition: coVRConfig.h:154
windowStruct()
Definition: coVRConfig.h:158
osg::ref_ptr< osg::GraphicsContext > context
Definition: coVRConfig.h:142
int oy
Definition: coVRConfig.h:140
std::string name
Definition: coVRConfig.h:145
bool pbuffer
Definition: coVRConfig.h:150
int ox
Definition: coVRConfig.h:140
int swapBarrier
Definition: coVRConfig.h:153
bool embedded
Definition: coVRConfig.h:149
bool stereo
Definition: coVRConfig.h:148
bool doublebuffer
Definition: coVRConfig.h:151
int pipeNum
Definition: coVRConfig.h:144
bool resize
Definition: coVRConfig.h:147
int sx
Definition: coVRConfig.h:141
int sy
Definition: coVRConfig.h:141
coVRPlugin * windowPlugin
Definition: coVRConfig.h:156
osg::ref_ptr< osgViewer::GraphicsWindow > window
Definition: coVRConfig.h:143
Definition: coVRConfig.h:181
float sourceYMin
Definition: coVRConfig.h:194
float viewportXMax
Definition: coVRConfig.h:200
Mode mode
Definition: coVRConfig.h:189
float sourceXMax
Definition: coVRConfig.h:195
float viewportYMin
Definition: coVRConfig.h:199
viewportStruct()
Definition: coVRConfig.h:206
float sourceXMin
Definition: coVRConfig.h:193
std::vector< int > pbos
Definition: coVRConfig.h:191
float sourceYMax
Definition: coVRConfig.h:196
std::string blendingTextureName
Definition: coVRConfig.h:204
std::string distortMeshName
Definition: coVRConfig.h:203
float viewportXMin
Definition: coVRConfig.h:198
int window
Definition: coVRConfig.h:190
int PBOnum
Definition: coVRConfig.h:192
float viewportYMax
Definition: coVRConfig.h:201
Mode
Definition: coVRConfig.h:183
@ PBO
Definition: coVRConfig.h:185
@ Channel
Definition: coVRConfig.h:184
@ TridelityMV
Definition: coVRConfig.h:187
@ TridelityML
Definition: coVRConfig.h:186
Definition: coVRConfig.h:216
float viewportXMax
Definition: coVRConfig.h:220
float viewportXMin
Definition: coVRConfig.h:218
float viewportYMax
Definition: coVRConfig.h:221
std::string blendingTextureName
Definition: coVRConfig.h:223
blendingTextureStruct()
Definition: coVRConfig.h:225
float viewportYMin
Definition: coVRConfig.h:219
int window
Definition: coVRConfig.h:217
describes what is responsible for rendering the window
Definition: coVRConfig.h:233
bool useDISPLAY
Definition: coVRConfig.h:237
pipeStruct()
Definition: coVRConfig.h:239
std::string x11DisplayHost
Definition: coVRConfig.h:236
int x11ScreenNum
Definition: coVRConfig.h:235
int x11DisplayNum
Definition: coVRConfig.h:234
Definition: coVRConfig.h:247
MonoViews
Definition: coVRConfig.h:260
@ MONO_RIGHT
Definition: coVRConfig.h:263
@ MONO_MIDDLE
Definition: coVRConfig.h:261
@ MONO_LEFT
Definition: coVRConfig.h:262
std::vector< pipeStruct > pipes
Definition: coVRConfig.h:422
int numStencilBits() const
bool useDisplayVariable() const
Definition: coVRConfig.h:427
void setNearFar(float nearC, float farC)
Definition: coVRConfig.h:437
std::vector< PBOStruct > PBOs
Definition: coVRConfig.h:421
std::string glVersion
Definition: coVRConfig.h:456
bool isMenuModeOn() const
float getLODScale() const
scale factor for level of detail computation
MonoViews monoView() const
bool orthographic() const
return true if projection is orthographic
std::string collaborativeOptionsFile
Definition: coVRConfig.h:327
int getLanguage() const
Definition: coVRConfig.h:446
bool continuousRendering() const
bool useVirtualGL() const
Definition: coVRConfig.h:432
int numBlendingTextures() const
float getMultisampleCoverage()
Definition: coVRConfig.h:395
void setFrozen(bool state)
true: stop head tracking, false: enable head tracking
bool frozen() const
return true if the position of the tracked head is not taken into account
bool debugLevel(int level) const
Languages
Definition: coVRConfig.h:451
@ ENGLISH
Definition: coVRConfig.h:452
static coVRConfig * instance()
float farClip() const
distance of far clipping plane
int getMultisampleSampleBuffers()
Definition: coVRConfig.h:403
bool getMultisampleInvert()
Definition: coVRConfig.h:391
std::vector< viewportStruct > viewports
Definition: coVRConfig.h:424
float nearClip() const
distance of near clipping plane
bool OpenVR_HMD
Definition: coVRConfig.h:457
static bool requiresTwoViewpoints(int stereomode)
int getEnvMapMode()
Definition: coVRConfig.h:288
void setFrameRate(float fr)
std::vector< blendingTextureStruct > blendingTextures
Definition: coVRConfig.h:425
@ FIXED_TO_VIEWER_FRONT
Definition: coVRConfig.h:274
@ FIXED_TO_VIEWER
Definition: coVRConfig.h:272
@ FIXED_TO_OBJROOT
Definition: coVRConfig.h:273
@ FIXED_TO_OBJROOT_FRONT
Definition: coVRConfig.h:275
bool has6DoFInput() const
bool haveFlatDisplay() const
static int parseStereoMode(const char *modeName, bool *stereo=NULL)
std::string viewpointsFile
Definition: coVRConfig.h:330
std::vector< screenStruct > screens
Definition: coVRConfig.h:419
void setOrthographic(bool state)
true: projection is orthographic
void setDebugLevel(int level)
osg::Multisample::Mode getMultisampleMode()
Definition: coVRConfig.h:407
bool doMultisample()
Definition: coVRConfig.h:387
bool colorSceneInMenuMode() const
int getMultisampleSamples()
Definition: coVRConfig.h:399
int getDebugLevel() const
std::vector< windowStruct > windows
Definition: coVRConfig.h:423
bool mouseTracking() const
bool useVBOs() const
return true, if configured for vertex buffer objects
float HMDViewingAngle
Definition: coVRConfig.h:455
bool useDisplayLists() const
return true, if configured for display lists
float getSceneSize() const
std::vector< channelStruct > channels
Definition: coVRConfig.h:420
float stereoSeparation() const
bool useWiiNavigationVisenso() const
make sure to clean up properly in the plugin's dtor
Definition: coVRPlugin.h:73
Definition: coVRPluginSupport.h:192
Definition: OpenCOVER.h:61
Definition: VRSceneGraph.h:61
Definition: VRViewer.h:53
Definition: VRWindow.h:43