VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
appsrc
vrvTester
configurationFunctions.h
Go to the documentation of this file.
1
#ifndef ConfigurationFunctions_H
2
#define ConfigurationFunctions_H
3
4
// Define this to enable interactive tests
5
//#define INTERACTIVE_MODE
6
7
#include <
vrvUtil/DtDisplayConfiguration.h
>
8
#include <
vrvUtil/DtWindowConfiguration.h
>
9
#include <
vrvUtil/DtDeConfiguration.h
>
10
#include <
vrvCore/DtVrvApplicationConfiguration.h
>
11
#include <
vrvUtil/DtDeInitializer.h
>
12
13
//
14
// The following "test" configs are all configured with preset names that
15
// work together. For example if you create a test channel config
16
// and add that to a test window config, and add that to a test display config
17
// then you initialize an IG with a test initialzier, it will realize the
18
// config. Fullscreen, simpleWindow, and qtWindow are shortcuts for such configs.
19
//
20
makVrv::DtDeInitializer
testInitializer
();
21
makVrv::DtDeInitializer
speedTreeAuthorizationTestInitializer
();
22
makVrv::DtWindowConfiguration
testWindowConfig
();
23
makVrv::DtDisplayConfiguration
testDisplayConfig
();
24
makVrv::DtChannelConfiguration
testChannelConfig
();
25
26
// Fullscreen Window.
27
makVrv::DtDisplayConfiguration
fullscreenDisplayConfig
();
28
29
// Simple OS Window
30
makVrv::DtDisplayConfiguration
simpleWindowDisplayConfig
();
31
32
// A single Qt Window
33
makVrv::DtDisplayConfiguration
embeddedDisplayConfig
();
34
35
// Given an DtDeConfiguration build an DtVrvApplicationConfiguration that will
36
// either load plugins or not.
37
makVrv::DtVrvApplicationConfiguration
buildApplicationConfiguration
(
38
makVrv::DtDeConfiguration
deConfig,
bool
bLoadPlugins =
true
);
39
40
// Build a DtDeConfiguration from a DtDisplayConfiguration.
41
makVrv::DtDeConfiguration
buildIgConfiguration
(
makVrv::DtDisplayConfiguration
displayConfig);
42
43
// Build a DtDeConfiguration using embeddedDisplayConfig().
44
makVrv::DtDeConfiguration
embeddedConfiguration
();
45
46
// Return the location of the test data directory.
47
std::string
testTerrainsDir
();
48
49
// Return the location of the test data directory.
50
std::string
testDataDir
();
51
52
// Return the location of the real data directory.
53
std::string
dataDir
();
54
55
#endif
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)