VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBCompositeMaterial.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 #include <map>
12 
13 namespace makVrv { namespace oe { namespace CDB
14 {
15 
39  class DT_DLL_OSGEARTH_CDB_UTILS DtCDBCompositeMaterial : public osg::Referenced
40  {
41  public:
42 
46  virtual ~DtCDBCompositeMaterial();
48  bool readXmlNode(osgDB::XmlNode::Children::iterator& compMatIter);
50  std::string getName() const;
52  int getIndex() const;
54  const DtCDBSubstrate* getSurfaceSubstrate() const;
56  const DtCDBSubstrate* getPrimarySubstrate() const;
57  // TODO add a getter for the secondary substrate list
58 
59  private:
60 
62  int myIndex;
64  std::string myName;
66  osg::ref_ptr<DtCDBSubstrate> mySurfaceSubstrate;
68  osg::ref_ptr<DtCDBSubstrate> myPrimarySubstrate;
70  std::vector<osg::ref_ptr<DtCDBSubstrate> > mySecondarySubstrates;
71 
72  };
73 
74 }}} // namespace mak::osgEarth::CDB
75 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)