VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBCompositeMaterialTable.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
11 
12 namespace makVrv { namespace oe { namespace CDB
13 {
14 
18  {
19  public:
20 
22  DtCDBCompositeMaterialTable(const std::string& compositeMaterialFile);
24  virtual ~DtCDBCompositeMaterialTable();
26  const DtCDBCompositeMaterial* getCompositeMaterial(int index) const;
27 
28  protected:
29 
31  void loadXmlFile(const std::string& compositeMaterialFile);
32 
33 
34  private:
35 
37  typedef std::map<int, osg::ref_ptr<DtCDBCompositeMaterial> > compositeMapType;
40  };
41 
42 }}} // namespace mak::osgEarth::CDB
43 
CDB Composite MaterialHere is a an overview of a CDB Composite Material.
Definition: DtCDBCompositeMaterial.h:39
#define DT_DLL_OSGEARTH_CDB_UTILS
Definition: DtCDBExport.h:18
CDB Composite Material Table.
Definition: DtCDBCompositeMaterialTable.h:17
std::map< int, osg::ref_ptr< DtCDBCompositeMaterial > > compositeMapType
Composite Material Table Map type.
Definition: DtCDBCompositeMaterialTable.h:37
Utility class to manage CDB Composite Material.
compositeMapType myCompositeMaterialMap
Composite Material Table Map.
Definition: DtCDBCompositeMaterialTable.h:39

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)