VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtRunwayMarkingNode.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 #include <osg/Node>
14 #include <osg/Array>
15 
16 #include <string>
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtAerodromeRenderer;
22 
23  class DT_DLL_VRVOSG DtRunwayMarkingNode : public osg::Node
24  {
25  public:
27  DtRunwayMarkingNode(DtDe& de, DtAerodromeRenderer& renderer, const std::string& icao);
28 
30  virtual ~DtRunwayMarkingNode();
31  private:
33  DtRunwayMarkingNode(const DtRunwayMarkingNode& rhs) = delete;
34 
36  DtRunwayMarkingNode& operator=(const DtRunwayMarkingNode& rhs) = delete;
37 
38  public:
40  virtual osg::ref_ptr<osg::Geode> buildMarkingDrawable();
41 
43  virtual osg::ref_ptr<osg::Geode> buildDesignatorDrawable();
44 
46  virtual void addMarking(const osg::Vec3Array& verts, const osg::Vec2Array& texCoords);
47 
49  virtual void addDesignator(const osg::Vec3Array& verts, const osg::Vec2Array& texCoords);
50 
52  virtual void setTerrainCleared(bool flag);
53 
55  virtual bool terrainCleared() const;
56 
57  protected:
58 
60 
61  std::string myIcao;
63 
66 
69 
71  };
72 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
osg::ref_ptr< osg::Vec3Array > myDesignatorVerts
Definition: DtRunwayMarkingNode.h:67
osg::ref_ptr< osg::Vec2Array > myDesignatorTexCoords
Definition: DtRunwayMarkingNode.h:68
Definition: DtAerodromeRenderer.h:34
std::string myIcao
Definition: DtRunwayMarkingNode.h:61
Definition: DtRunwayMarkingNode.h:23
DtAerodromeRenderer & myRenderer
Definition: DtRunwayMarkingNode.h:62
bool myTerrainCleared
Definition: DtRunwayMarkingNode.h:70
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
osg::ref_ptr< osg::Vec3Array > myMarkingVerts
Definition: DtRunwayMarkingNode.h:64
osg::ref_ptr< osg::Vec2Array > myMarkingTexCoords
Definition: DtRunwayMarkingNode.h:65
DtDe & myDe
Definition: DtRunwayMarkingNode.h:59

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)