VR-Forces 4.1.1 Class Documentation
speedTreeReplacer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <boost/unordered_map.hpp>
17 
18 class DtOutputStream;
19 
20 namespace makVrv
21 {
22  class DtDe;
23 }
24 
29 {
30 public:
31  DtSpeedTreeReplacer(makVrv::DtDe& displayEngine);
32  virtual ~DtSpeedTreeReplacer();
33 
34 private:
36 
39  DtSpeedTreeReplacer& operator=(const DtSpeedTreeReplacer& orig);
41 
42 public:
45  virtual void replaceSpeedTrees(makArchives::DtTerrainRecord& terrainRecord);
46  virtual void printSummary(DtOutputStream& stream) const;
47 
48 protected:
49  typedef boost::unordered_map<std::string, std::string> DtStringStringMap;
50 
52  virtual void replaceSpeedTrees(makArchives::DtPropRecords& propRecords);
53 
55  virtual bool isSpeedTreeModelDef(const std::string& modelDef);
58  virtual std::string findGeometricModelDefinition(const std::string& speedTreeModelDef);
60  virtual std::string removeLastWord(const std::string& str);
61 
62 protected:
68  std::set<std::string> myNoReplacementAvailableSet;
69 };

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)