VR-Forces 4.10 Class Documentation
 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 {
28  {
29  public:
30 
33 
36 
39 
41  DtChannel3dViewCompassInstance &operator=(const DtChannel3dViewCompassInstance &other) = delete;
42 
44  virtual void setChannelName( const std::string& deName,
45  const std::string& winName, const std::string& channelName );
46 
48  virtual void setCompassHeading( double heading );
49 
52  virtual void setModelDefinition( const std::string& modelDefinition );
53 
57  virtual void setMargins( int xMargin, int yMargin );
58 
60  virtual void setDarkTickColor(float r, float g, float b, float a);
61 
63  virtual void setLightTickColor(float r, float g, float b, float a);
64 
66  virtual void setSymbolColor(float r, float g, float b, float a);
67 
69  virtual void setPopoutSymbolColor(float r, float g, float b, float a);
70 
73  virtual void setSymbolsFilename(const std::string& filename);
74 
76  virtual void setWidth(unsigned int width);
77 
79  virtual void setSymbolSize(unsigned int size);
80 
82  virtual void setPopoutSymbolSize(unsigned int size);
83 
86  virtual void updateCompass( bool force=false ) = 0;
87 
88  protected:
89  std::string myModelDefinitionName;
90  std::string myDisplayEngineName;
91  std::string myWindowName;
92  std::string myChannelName;
93  int myMargins[2];
96  float myDarkTickColor[4];
97  float myLightTickColor[4];
98  unsigned int myCompassWidth;
99  unsigned int myCompassSymbolSize;
102  float mySymbolColor[4];
103  float myPopoutSymbolColor[4];
104  };
105 }
unsigned int myCompassSymbolSize
Definition: DtChannel3dViewCompassInstance.h:99
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:27
double myCompassDeclination
Definition: DtChannel3dViewCompassInstance.h:95
std::string myWindowName
Definition: DtChannel3dViewCompassInstance.h:91
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:89
unsigned int myCompassWidth
Definition: DtChannel3dViewCompassInstance.h:98
double myCompassHeading
Definition: DtChannel3dViewCompassInstance.h:94
Contains the DtSetVisibilityInterface.
std::string myChannelName
Definition: DtChannel3dViewCompassInstance.h:92
unsigned int myCompassPopoutSymbolSize
Definition: DtChannel3dViewCompassInstance.h:100
std::string myDisplayEngineName
Definition: DtChannel3dViewCompassInstance.h:90
std::string myCompassSymbolsFilename
Definition: DtChannel3dViewCompassInstance.h:101
Contains makVrv::DtChannelCompass class.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)