VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBSubstrate.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
7 #pragma once
9 #include <algorithm>
10 #include <vector>
11 
12 namespace makVrv { namespace oe { namespace CDB {
13 
16  class DT_DLL_OSGEARTH_CDB_UTILS DtCDBSubstrate : public osg::Referenced
17  {
18  public:
19 
23  virtual ~DtCDBSubstrate();
25  bool readXmlNode(osgDB::XmlNode::Children::iterator& subIter);
27  unsigned int getNumberOfBaseMaterialInPrimarySubstrate() const;
29  std::string getBaseMaterial(unsigned int index) const;
31  unsigned int getBaseMaterialWeight(unsigned int index) const;
32 
33 
34  protected:
35 
36 
37  private:
39  float myThickness;
41  std::vector<DtCDBBaseMaterial> myMaterialList;
42 
43  };
44 
45 
46 }}} // namespace mak::osgEarth::CDB
47 
float myThickness
Substrate Thickness (in meters)
Definition: DtCDBSubstrate.h:39
#define DT_DLL_OSGEARTH_CDB_UTILS
Definition: DtCDBExport.h:18
std::vector< DtCDBBaseMaterial > myMaterialList
Ordered list of base material in the substrate.
Definition: DtCDBSubstrate.h:41
Utility class to manage CDB Base Material in substrate (can also be used to load CDBMaterials_ToProce...
CDB Base Material class. Hold Base Material name / description.
Definition: DtCDBSubstrate.h:16

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)