VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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;
20 
21 namespace makVrv
22 {
23  class DtDe;
24 }
25 
30 {
31 public:
32  DtSpeedTreeReplacer(makVrv::DtDe& displayEngine);
33  virtual ~DtSpeedTreeReplacer();
34 
35 private:
37 
40  DtSpeedTreeReplacer& operator=(const DtSpeedTreeReplacer& orig);
42 
43 public:
46  virtual void replaceSpeedTrees(makArchives::DtTerrainRecord& terrainRecord);
47  virtual void printSummary(DtOutputStream& stream, DtOutputStream* errorStream = 0) const;
48 
49 protected:
50  typedef boost::unordered_map<std::string, std::string> DtStringStringMap;
51 
53  virtual void replaceSpeedTrees(makArchives::DtPropRecords& propRecords);
54 
56  virtual bool isSpeedTreeModelDef(const std::string& modelDef);
59  virtual std::string findGeometricModelDefinition(const std::string& speedTreeModelDef);
61  virtual std::string removeLastWord(const std::string& str);
62 
63 protected:
69  std::set<std::string> myNoReplacementAvailableSet;
70 };

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)