Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
OculusWorldDemoApp Class Reference
Inheritance diagram for OculusWorldDemoApp:
Inheritance graph
[legend]

List of all members.

Classes

struct  DeviceStatusNotificationDesc

Public Member Functions

void AdjustAspect (float dt)
void AdjustDistortion (float dt, int kIndex, const char *label)
void AdjustDistortionK0 (float dt)
void AdjustDistortionK1 (float dt)
void AdjustDistortionK2 (float dt)
void AdjustDistortionK3 (float dt)
void AdjustEyeHeight (float dt)
void AdjustFov (float dt)
void AdjustIPD (float dt)
void AdjustMotionPrediction (float dt)
void ClearScene ()
 OculusWorldDemoApp ()
virtual void OnIdle ()
virtual void OnKey (OVR::KeyCode key, int chr, bool down, int modifiers)
virtual void OnMessage (const Message &msg)
virtual void OnMouseMove (int x, int y, int modifiers)
virtual void OnResize (int width, int height)
virtual int OnStartup (int argc, const char **argv)
void PopulatePreloadScene ()
void PopulateScene (const char *fileName)
void Render (const StereoEyeParams &stereo)
void SetAdjustMessage (const char *format,...)
void SetAdjustMessageTimeout (float timeout)
void UpdateManualMagCalibration ()
 ~OculusWorldDemoApp ()

Protected Types

typedef void(OculusWorldDemoApp::* AdjustFuncType )(float)
enum  LoadingStateType { LoadingState_Frame0, LoadingState_DoLoad, LoadingState_Finished }
enum  SceneRenderMode { Scene_World, Scene_Grid, Scene_Both, Scene_YawView }
enum  TextScreen {
  Text_None, Text_Orientation, Text_Config, Text_Help,
  Text_Count
}

Protected Member Functions

ModelCreateBoundingModel (CollisionModel &cm)
ModelCreateModel (Vector3f pos, struct SlabModel *sm)
void CycleDisplay ()
void DropLOD ()
void GamepadStateChanged (const GamepadState &pad)
void PopulateLODFileNames ()
void RaiseLOD ()

Protected Attributes

float AdjustDirection
String AdjustMessage
double AdjustMessageTimeout
Array< Ptr< CollisionModel > > CollisionModels
int ConsecutiveLowFPSFrames
int CurrentLODFileIndex
Array
< DeviceStatusNotificationDesc
DeviceStatusNotificationsQueue
Color DistortionClearColor
float DistortionK0
float DistortionK1
float DistortionK2
float DistortionK3
Anglef FirstMagYaw
int FirstScreenInCycle
int FPS
int FrameCounter
Scene GridScene
Array< Ptr< CollisionModel > > GroundCollisionModels
int Height
double LastUpdate
Util::LatencyTest LatencyUtil
Ptr< ShaderFillLitSolid
Ptr< ShaderFillLitTextures [4]
Scene LoadingScene
LoadingStateType LoadingState
Array< StringLODFilePaths
bool MagAwaitingForwardLook
Util::MagCalibration MagCal
String MainFilePath
Scene MainScene
int ManualMagCalStage
int ManualMagFailures
double NextFPSUpdate
AdjustFuncType pAdjustFunc
Ptr< HMDDevicepHMD
Ptr< LatencyTestDevicepLatencyTester
Ptr< DeviceManagerpManager
PostProcessType PostProcess
RenderDevicepRender
Ptr< SensorDevicepSensor
Ptr< ProfilepUserProfile
RendererParams RenderParams
float SavedAspect
float SavedESD
float SavedEyeDistance
float SavedK0
float SavedK1
float SavedK2
float SavedK3
SceneRenderMode SceneMode
StereoConfig SConfig
int Screen
SensorFusion SFusion
bool ShiftDown
TextScreen TextScreen
HMDInfo TheHMDInfo
Player ThePlayer
Matrix4f View
int Width
Scene YawLinesScene
Scene YawMarkGreenScene
Scene YawMarkRedScene

Detailed Description

Definition at line 87 of file OculusWorldDemo.cpp.


Member Typedef Documentation

typedef void(OculusWorldDemoApp::* OculusWorldDemoApp::AdjustFuncType)(float) [protected]

Definition at line 212 of file OculusWorldDemo.cpp.


Member Enumeration Documentation

Enumerator:
LoadingState_Frame0 
LoadingState_DoLoad 
LoadingState_Finished 

Definition at line 165 of file OculusWorldDemo.cpp.

Enumerator:
Scene_World 
Scene_Grid 
Scene_Both 
Scene_YawView 

Definition at line 217 of file OculusWorldDemo.cpp.

Enumerator:
Text_None 
Text_Orientation 
Text_Config 
Text_Help 
Text_Count 

Definition at line 227 of file OculusWorldDemo.cpp.


Constructor & Destructor Documentation

Definition at line 265 of file OculusWorldDemo.cpp.

Definition at line 295 of file OculusWorldDemo.cpp.


Member Function Documentation

Definition at line 1659 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustDistortion ( float  dt,
int  kIndex,
const char *  label 
)

Definition at line 1667 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustDistortionK0 ( float  dt) [inline]

Definition at line 120 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustDistortionK1 ( float  dt) [inline]

Definition at line 121 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustDistortionK2 ( float  dt) [inline]

Definition at line 122 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustDistortionK3 ( float  dt) [inline]

Definition at line 123 of file OculusWorldDemo.cpp.

Definition at line 1679 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustFov ( float  dt)

Definition at line 1652 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::AdjustIPD ( float  dt)

Definition at line 1673 of file OculusWorldDemo.cpp.

Definition at line 1689 of file OculusWorldDemo.cpp.

Definition at line 1790 of file OculusWorldDemo.cpp.

Model* OculusWorldDemoApp::CreateModel ( Vector3f  pos,
struct SlabModel sm 
) [protected]
void OculusWorldDemoApp::CycleDisplay ( ) [protected]

Definition at line 1861 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::DropLOD ( ) [protected]

Definition at line 1840 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::GamepadStateChanged ( const GamepadState pad) [protected]

Definition at line 1911 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::OnIdle ( ) [virtual]

Reimplemented from OVR::Platform::Application.

Definition at line 1037 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::OnKey ( OVR::KeyCode  key,
int  chr,
bool  down,
int  modifiers 
) [virtual]

Reimplemented from OVR::Platform::Application.

Definition at line 573 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::OnMessage ( const Message msg) [virtual]

Reimplemented from OVR::MessageHandler.

Definition at line 505 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::OnMouseMove ( int  x,
int  y,
int  modifiers 
) [virtual]

Reimplemented from OVR::Platform::Application.

Definition at line 543 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::OnResize ( int  width,
int  height 
) [virtual]

Reimplemented from OVR::Platform::Application.

Definition at line 536 of file OculusWorldDemo.cpp.

int OculusWorldDemoApp::OnStartup ( int  argc,
const char **  argv 
) [virtual]

Implements OVR::Platform::Application.

Definition at line 311 of file OculusWorldDemo.cpp.

Definition at line 1799 of file OculusWorldDemo.cpp.

Definition at line 1757 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::PopulateScene ( const char *  fileName)

Definition at line 1705 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::RaiseLOD ( ) [protected]

Definition at line 1850 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::Render ( const StereoEyeParams &  stereo)

Definition at line 1503 of file OculusWorldDemo.cpp.

void OculusWorldDemoApp::SetAdjustMessage ( const char *  format,
  ... 
)

Definition at line 1631 of file OculusWorldDemo.cpp.

Definition at line 1645 of file OculusWorldDemo.cpp.

Definition at line 1342 of file OculusWorldDemo.cpp.


Member Data Documentation

Definition at line 215 of file OculusWorldDemo.cpp.

Definition at line 201 of file OculusWorldDemo.cpp.

Definition at line 202 of file OculusWorldDemo.cpp.

Definition at line 160 of file OculusWorldDemo.cpp.

Definition at line 193 of file OculusWorldDemo.cpp.

Definition at line 194 of file OculusWorldDemo.cpp.

Definition at line 246 of file OculusWorldDemo.cpp.

Definition at line 209 of file OculusWorldDemo.cpp.

Definition at line 196 of file OculusWorldDemo.cpp.

Definition at line 197 of file OculusWorldDemo.cpp.

Definition at line 198 of file OculusWorldDemo.cpp.

Definition at line 199 of file OculusWorldDemo.cpp.

Definition at line 258 of file OculusWorldDemo.cpp.

Definition at line 138 of file OculusWorldDemo.cpp.

int OculusWorldDemoApp::FPS [protected]

Definition at line 156 of file OculusWorldDemo.cpp.

Definition at line 157 of file OculusWorldDemo.cpp.

Definition at line 177 of file OculusWorldDemo.cpp.

Definition at line 161 of file OculusWorldDemo.cpp.

int OculusWorldDemoApp::Height [protected]

Definition at line 136 of file OculusWorldDemo.cpp.

double OculusWorldDemoApp::LastUpdate [protected]

Definition at line 155 of file OculusWorldDemo.cpp.

Definition at line 153 of file OculusWorldDemo.cpp.

Definition at line 184 of file OculusWorldDemo.cpp.

Definition at line 184 of file OculusWorldDemo.cpp.

Definition at line 176 of file OculusWorldDemo.cpp.

Definition at line 182 of file OculusWorldDemo.cpp.

Definition at line 192 of file OculusWorldDemo.cpp.

Definition at line 142 of file OculusWorldDemo.cpp.

Definition at line 141 of file OculusWorldDemo.cpp.

Definition at line 191 of file OculusWorldDemo.cpp.

Definition at line 175 of file OculusWorldDemo.cpp.

Definition at line 259 of file OculusWorldDemo.cpp.

Definition at line 260 of file OculusWorldDemo.cpp.

Definition at line 158 of file OculusWorldDemo.cpp.

Definition at line 214 of file OculusWorldDemo.cpp.

Definition at line 147 of file OculusWorldDemo.cpp.

Definition at line 152 of file OculusWorldDemo.cpp.

Definition at line 145 of file OculusWorldDemo.cpp.

Definition at line 188 of file OculusWorldDemo.cpp.

Definition at line 134 of file OculusWorldDemo.cpp.

Definition at line 146 of file OculusWorldDemo.cpp.

Definition at line 148 of file OculusWorldDemo.cpp.

Definition at line 135 of file OculusWorldDemo.cpp.

Definition at line 206 of file OculusWorldDemo.cpp.

float OculusWorldDemoApp::SavedESD [protected]

Definition at line 206 of file OculusWorldDemo.cpp.

Definition at line 206 of file OculusWorldDemo.cpp.

float OculusWorldDemoApp::SavedK0 [protected]

Definition at line 205 of file OculusWorldDemo.cpp.

float OculusWorldDemoApp::SavedK1 [protected]

Definition at line 205 of file OculusWorldDemo.cpp.

float OculusWorldDemoApp::SavedK2 [protected]

Definition at line 205 of file OculusWorldDemo.cpp.

float OculusWorldDemoApp::SavedK3 [protected]

Definition at line 205 of file OculusWorldDemo.cpp.

Definition at line 224 of file OculusWorldDemo.cpp.

Definition at line 187 of file OculusWorldDemo.cpp.

int OculusWorldDemoApp::Screen [protected]

Definition at line 137 of file OculusWorldDemo.cpp.

Definition at line 149 of file OculusWorldDemo.cpp.

Definition at line 213 of file OculusWorldDemo.cpp.

Definition at line 235 of file OculusWorldDemo.cpp.

Definition at line 150 of file OculusWorldDemo.cpp.

Definition at line 173 of file OculusWorldDemo.cpp.

Definition at line 174 of file OculusWorldDemo.cpp.

int OculusWorldDemoApp::Width [protected]

Definition at line 136 of file OculusWorldDemo.cpp.

Definition at line 180 of file OculusWorldDemo.cpp.

Definition at line 178 of file OculusWorldDemo.cpp.

Definition at line 179 of file OculusWorldDemo.cpp.


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


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:19