VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtChannel3dViewCompass.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <string>
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtChannel3dViewCompassInstance;
21 
31  {
32  public:
33 
36 
38  virtual ~DtChannel3dViewCompass();
39 
41  DtChannel3dViewCompass() = delete;
42 
44  DtChannel3dViewCompass(const DtChannel3dViewCompass &other) = delete;
45 
47  DtChannel3dViewCompass &operator=(const DtChannel3dViewCompass &other) = delete;
48 
51  virtual void setInstance(DtChannel3dViewCompassInstance* instance);
52 
54  virtual DtChannel3dViewCompassInstance* instance();
55 
57  virtual void setVisible(bool isVisible);
58 
60  void setChannelName( const std::string& deName,
61  const std::string& winName, const std::string& channelName );
62 
64  void setCompassHeading( double heading );
65 
68  void setModelDefinition( const std::string& modelDefinition );
69 
73  void setMargins( int xMargin, int yMargin );
74 
76  void setDarkTickColor(float r, float g, float b, float a);
77 
79  void setLightTickColor(float r, float g, float b, float a);
80 
82  void setSymbolColor(float r, float g, float b, float a);
83 
85  void setPopoutSymbolColor(float r, float g, float b, float a);
86 
89  void setSymbolsFilename(const std::string& filename);
90 
92  void setWidth(unsigned int width);
93 
95  void setSymbolSize(unsigned int size);
96 
98  void setPopoutSymbolSize(unsigned int size);
99 
100  protected:
102  };
103 }
104 
A model-like object that draws a 3d view first person shooter style compass on a channel.
Definition: DtChannel3dViewCompass.h:30
voidpf void uLong size
Definition: ioapi.h:39
Interface for a DtChannel3dViewCompassInstance A model-like object that draws a 3d view first person ...
Definition: DtChannel3dViewCompassInstance.h:29
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
DtChannel3dViewCompassInstance * myInstance
Definition: DtChannel3dViewCompass.h:101
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains DLL export macros.

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)