VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
multipleChannelTextUtilities.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2014 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 
17 
21 
22 #include <matrix/vlVector.h>
23 
24 #include <string>
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtChannel;
30 }
31 
32 // This example provides examples of multiple ways to create and use 2D overlays
33 // in VR-Vantage. It creates a window with two channels. It then creates a custom
34 // channel-specific overlay for the second channel, and a second overlay that is
35 // drawn on all channels. It then shows how to put text objects onto the custom
36 // overlays, as well as text onto the default channel-specific for first channel.
37 //
38 
41 extern void createCustomOverlay( makVrv::DtDe& de, makVrv::DtChannel* channel,
43 
44 
50 
54  const std::string& text, const DtVector& position, makVrv::DtFontSP font );
55 
59 extern void create2dOverlays(makVrv::DtDe& de);
60 
67 extern void populate2dOverlays(makVrv::DtDe& de);
68 
72 
73 
81  makVrv::DtDe& de, double left=0, double right=100, double bottom=0,
82  double top=100);
83 
89  makVrv::DtDe& de, int x=100, int y=100);
90 
91 
96  makVrv::DtDe& de, const std::string& name = "My Display Configuration");
97 
104 extern std::string registerModelDefinition(
105  makVrv::DtDe& de, const std::string& dataFile);
106 
107 
114 extern void addModelToTheScene(makVrv::DtDe& de, const std::string& modelName);
115 
116 
121 void loadTheScene(makVrv::DtDe& de);

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)