VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtChannel3dViewCompassInstance.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 
14 
15 
16 namespace makVrv
17 {
18  class DtDe;
19 
30  {
31  public:
32 
35 
38 
41 
43  DtChannel3dViewCompassInstance &operator=(const DtChannel3dViewCompassInstance &other) = delete;
44 
46  virtual void setChannelName( const std::string& deName,
47  const std::string& winName, const std::string& channelName );
48 
50  virtual void setCompassHeading( double heading );
51 
54  virtual void setModelDefinition( const std::string& modelDefinition );
55 
59  virtual void setMargins( int xMargin, int yMargin );
60 
62  virtual void setDarkTickColor(float r, float g, float b, float a);
63 
65  virtual void setLightTickColor(float r, float g, float b, float a);
66 
68  virtual void setSymbolColor(float r, float g, float b, float a);
69 
71  virtual void setPopoutSymbolColor(float r, float g, float b, float a);
72 
75  virtual void setSymbolsFilename(const std::string& filename);
76 
78  virtual void setWidth(unsigned int width);
79 
81  virtual void setSymbolSize(unsigned int size);
82 
84  virtual void setPopoutSymbolSize(unsigned int size);
85 
88  virtual void updateCompass( bool force=false ) = 0;
89 
90  protected:
91  std::string myModelDefinitionName;
92  std::string myDisplayEngineName;
93  std::string myWindowName;
94  std::string myChannelName;
95  int myMargins[2];
98  float myDarkTickColor[4];
99  float myLightTickColor[4];
100  unsigned int myCompassWidth;
101  unsigned int myCompassSymbolSize;
104  float mySymbolColor[4];
105  float myPopoutSymbolColor[4];
106 
108  };
109 }
unsigned int myCompassSymbolSize
Definition: DtChannel3dViewCompassInstance.h:101
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
double myCompassDeclination
Definition: DtChannel3dViewCompassInstance.h:97
std::string myWindowName
Definition: DtChannel3dViewCompassInstance.h:93
Interface for classes with settable visibility, such as a 3D model or 2D graphic. ...
Definition: DtSetVisibilityInterface.h:22
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::string myModelDefinitionName
Definition: DtChannel3dViewCompassInstance.h:91
unsigned int myCompassWidth
Definition: DtChannel3dViewCompassInstance.h:100
double myCompassHeading
Definition: DtChannel3dViewCompassInstance.h:96
Contains the DtSetVisibilityInterface.
std::string myChannelName
Definition: DtChannel3dViewCompassInstance.h:94
unsigned int myCompassPopoutSymbolSize
Definition: DtChannel3dViewCompassInstance.h:102
std::string myDisplayEngineName
Definition: DtChannel3dViewCompassInstance.h:92
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
std::string myCompassSymbolsFilename
Definition: DtChannel3dViewCompassInstance.h:103
Contains makVrv::DtChannelCompass class.
DtDe & myDe
Definition: DtChannel3dViewCompassInstance.h:107

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)