VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTdbPropAdder.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtTdbPropAdder_H_
11 #define DtTdbPropAdder_H_
12 
13 #include <vrvTerrain/vrvTerrain.h>
14 #include <vrvCore/DtPropAdder.h>
16 #include <vector>
17 
18 class DtNetworkNode;
19 class DtPoint;
20 
21 namespace makVrv
22 {
23  class DtDe;
24  class DtAgentManagerInterface;
25  class DtProp;
26  class DtTerrainLayer;
27 
31  {
32  public:
33 
35  DtTdbPropAdder(DtDe& de, const std::string& fileName,
36  DtAgentManagerInterface& agentManagerInterface);
37 
39  virtual ~DtTdbPropAdder();
40 
43  void addProps(const makArchives::DtAddPropsRuleRecord& rule,
44  DtTerrainLayer* terrainLayer);
45 
46  protected:
47 
49  bool matchRuleWithNode(const makArchives::DtAddPropsRuleRecord& rule, const DtNetworkNode& node);
50 
52  bool matchPairWithNode(const std::string& field, const std::string& value, const DtNetworkNode& node);
53 
55  bool buildProp(const makArchives::DtAddPropsRuleRecord& rule, const DtNetworkNode& node,
56  DtTerrainLayer* terrainLayer);
57 
60  bool validPoint(const DtPoint& point) const;
61 
62  protected:
63 
64  std::string myFileName;
65 
66  };
67 
70  {
71  public:
73 
74  DtPropAdder* create( const std::string& filename, DtAgentManagerInterface&);
75 
76  protected:
78  };
79 }
80 
81 #endif
82 
std::string myFileName
Definition: DtTdbPropAdder.h:64
Contains makVrv::DtPropAdder class.
DtDe & myDe
Definition: DtTdbPropAdder.h:77
The DtPropAdder will create props from feature files containing prop point features and add them to t...
Definition: DtPropAdder.h:29
The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain...
Definition: DtTerrainLayer.h:33
Definition: networkNode.h:38
Contains DLL export macros.
Record of a rule used to add props to a feaure layer.
Definition: DtAddPropsRuleRecord.h:23
The DtPropAdder will create props from feature files containing prop point features and add them to t...
Definition: DtTdbPropAdder.h:30
Creator class for creating a DtPropAdder.
Definition: DtPropAdder.h:53
Contains makArchives::DtAddPropsRuleRecord class.
Creator for registering the DtTdbPropAdder with the display engine.
Definition: DtTdbPropAdder.h:69
#define DT_DLL_VRVTERRAIN
Definition: vrvTerrain.h:19
The abstract interface necessary for agents.
Definition: DtAgentManagerInterface.h:33
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Definition: point.h:34

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)