VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtBuoyOrBeaconFacade.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
12 #include <vrvCore/DtEntityFacade.h>
13 
14 namespace makVrv
15 {
16  class DtSharedSettingsManager;
17  class DtAgentManagerInterface;
18  class DtTextureAtlasIndexParser;
19 
25  {
26  public:
27 
30  DtAgentManagerInterface& sceneInterface,
31  DtSharedSettingsManager& settingsManager, DtElementID id,
33  bool distribute = false, bool useImageFor2d = false);
34 
37  DtAgentManagerInterface& sceneInterface,
38  DtSharedSettingsManager& settingsManager,
40  bool distribute = false, bool useImageFor2d = false);
41 
43  virtual ~DtBuoyOrBeaconFacade();
44 
45  virtual void setUnlightedIconModelDefinition( const std::string& modelDef );
46  virtual std::string unlightedIconModelDefinition() const;
47 
48  virtual void setLightedIconModelDefinition( const std::string& modelDef );
49  virtual std::string lightedIconModelDefinition() const;
50 
51  virtual void set2dIconLighted( bool lighted );
52 
55  virtual void setTextureAtlasIndex( const std::string& file);
56 
59  virtual const std::string& textureAtlasIndex() const;
60 
63  virtual void setTextureAtlasKey(
64  DtBuoyBeaconLayer::AttachableTypes type, const std::string& key);
65 
67  virtual const std::string& textureAtlasKey(
69 
73  virtual void setTextureAtlasIndexParser(DtTextureAtlasIndexParser* parser);
74 
77  virtual DtTextureAtlasIndexParser* textureAtlasIndexParser();
78 
80  virtual void setDesignator(const std::string& designator);
85  virtual const std::string& designator() const;
87 
89  virtual void setDesignatorTextureAtlasIndex(
91  const std::string& filename );
92  virtual const std::string& designatorTextureAtlasIndex() const;
94 
95  protected:
98  bool myLighted;
99  std::string myTextureAtlasIndex;
100  std::string myTextureAtlasKeys[DtBuoyBeaconLayer::NumAttachableTypes];
102  std::string myDesignator;
104 
105  };
106 }
static const int NumAttachableTypes
The numer of Attachable types in the AttachableTypes list.
Definition: DtBuoyBeaconLayer.h:54
std::string myDesignatorTextureAtlasIndex
Definition: DtBuoyOrBeaconFacade.h:103
std::string myLightedIconModelDefinition
Definition: DtBuoyOrBeaconFacade.h:97
Contains makVrv::DtEntityFacade class.
Definition: DtTextureAtlasIndexParser.h:23
The shared settings manager, is the global object responsible for managing any shared settings object...
Definition: DtSharedSettingsManager.h:42
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:23
Contains makVrv::DtBuoyBeaconLayer class.
DtTextureAtlasIndexParser * myTextureAtlasIndexParser
Definition: DtBuoyOrBeaconFacade.h:101
std::string myDesignator
Definition: DtBuoyOrBeaconFacade.h:102
std::string myUnlightedIconModelDefinition
Definition: DtBuoyOrBeaconFacade.h:96
The DtEntityFacade is a facade around agents that make up an entity.
Definition: DtEntityFacade.h:35
std::string myTextureAtlasIndex
Definition: DtBuoyOrBeaconFacade.h:99
AttachableTypes
These are used to tell managers of attachable items what type of item they manage; they are also used...
Definition: DtBuoyBeaconLayer.h:46
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
bool myLighted
Definition: DtBuoyOrBeaconFacade.h:98
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
The DtEntityFacade is a facade around agents that make up an entity.
Definition: DtBuoyOrBeaconFacade.h:24
std::map< int, bool > ModelSetRealizations
Definition: DtModelSetRealizationManager.h:41

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)