VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBClassRow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright(c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 #include <osg/Referenced>
11 #include <osg/Matrixd>
12 #include <osg/Vec3d>
13 #include <osgEarth/GeoData>
14 #include <osgEarth/ElevationQuery>
15 
16 namespace makVrv {
17  namespace oe {
18  namespace CDB
19  {
22  class DtCDBClassRow : public osg::Referenced
23  {
24  public:
25 
26  protected:
29  };
30 
31  typedef std::map <std::string, osg::ref_ptr<DtCDBClassRow> > MapStringToClassDbfRow;
32 
35  class DtCDBinstanceRow : public osg::Referenced
36  {
37  public:
38 
40  std::string myCNAM;
42  double mySCALx;
44  double mySCALy;
46  double mySCALz;
48  bool myIsClamp;
50  double myAO1;
52  double myBSR;
54  double myBBH;
56  double myBBL;
58  double myBBW;
60  static osg::Matrixd computeTransform(osgEarth::SpatialReference* srs, const osg::Vec3d& modelPoint, const osgEarth::ElevationQuery& elevationQuery
61  , const DtCDBinstanceRow* instanceRow, bool zOffset);
63  static osg::Matrixd computeTransform2(osgEarth::SpatialReference* srs, const osg::Vec3d& modelPoint, const DtCDBinstanceRow* instanceRow);
64 
65  protected:
68  };
69  typedef std::vector<osg::ref_ptr<DtCDBinstanceRow> > VecInstancesDbfRow;
70  }
71  }
72 } // namespace makVrv::oe::CDB

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)