VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtFeatureAdder.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCore/vrvCore.h>
13 
14 namespace makVrv
15 {
16  class DtFeatureLayer;
17 
22  {
23  public:
25  DtFeatureAdder(DtDe& de);
26 
28  virtual ~DtFeatureAdder();
29 
32  virtual void addFeatures( DtFeatureLayer& terrainLayer) = 0;
33 
34  protected:
35 
37  };
38 
42  {
43  public:
44 
46  static DtFeatureAdderCreator& instance(DtDe& de);
47 
50  static void registerInstance(DtDe& de,DtFeatureAdderCreator* creator);
51 
54  virtual DtFeatureAdder* create(DtDe& de);
55 
57  virtual ~DtFeatureAdderCreator();
58 
59  protected:
60 
63  };
64 }
65 
The feature layer is a type of terrain layer which contains features, such as points, lines, areas, and props created from them.
Definition: DtFeatureLayer.h:25
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
The creator class responsible for creating a DtFeatureAdder.
Definition: DtFeatureAdder.h:41
DtDe & myDe
Definition: DtFeatureAdder.h:36
Contains makVrv::DtVirtualBaseClass class.
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
The feature adder class provides a generic method for adding feature elements to a feature layer...
Definition: DtFeatureAdder.h:21
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)