VR-Forces 4.1 Class Documentation
bhavePdgManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 #pragma once
7 
10 #include <vrvCore/DtDe.h>
12 #include <vrvCore/DtScene.h>
13 #include <vrvCore/DtTerrain.h>
14 #include <vrfutil/scenario.h>
15 #include "bhavePdgDrawerMenu.h"
16 #include <deque>
17 
18 
19 namespace BHAVE
20 {
21  namespace BHAVE3DGui
22  {
26  {
27  public:
29 
30  virtual ~DtBhavePdgManager();
31 
33  static DtBhavePdgManager& instance(makVrv::DtDe& de);
34 
35  virtual void initializePdg();
36  virtual void initializeGui();
37 
38  protected:
44  inline virtual void createShowPdgTypes(std::deque<DtBhavePdgDrawerMenuItem*>& subMenus)
45  {
46  subMenus.push_back(new DtBhavePdgDrawLifeformAction(*myDe));
47  subMenus.push_back(new DtBhavePdgDrawGroundPlatformAction(*myDe));
48  }
49 
52  virtual void registerShowPdgTypes(std::deque<DtBhavePdgDrawerMenuItem*>& subMenus);
53 
54  virtual void slot_onTerrainLoaded(const std::string&);
55  virtual void slot_onTerrainGeometryLoaded();
56  virtual void slot_onTerrainCleared();
57 
58 
59  protected:
62  };
63  }
64 }
65 

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)