VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExtractPropsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsgQt/vrvOsgQt.h>
14 
15 namespace makVrv
16 {
17 
18  class DtDe;
19  class DtTerrain;
20  class DtTerrainPatch;
21  class DtTerrainPatchObject;
22 
26  {
27 
28  public:
29 
31  DtExtractPropsLogic(DtDe& de, DtTerrain& terrain,
32  const std::string& patchDefinition, DtExtractPropsInterface& gui);
33 
35  virtual ~DtExtractPropsLogic();
36 
37  protected:
38 
40  void extractProps(const std::string& searchExp, bool isRegEx,
41  const std::string& type, const std::string& modelDef);
42 
43  void extractAsSpeedTrees(const std::string& searchExp, bool isRegEx,
44  const std::string& modelDef);
45 
48  virtual void extractAsSpeedTreesChanged(bool checked);
49 
51  void buildSearchCandidates(DtTerrainPatchObject& tpo);
52 
54  virtual void terrainToBeCleared();
55 
59  virtual void terrainPatchToBeDeleted(const DtTerrainPatch&);
60 
61  protected:
62 
68  };
69 }
70 
71 
Extract props logic.
Definition: DtExtractPropsLogic.h:25
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
A container for a single piece of terrain, containing settings needed to recreate it...
Definition: DtTerrainPatch.h:40
std::set< std::string > SearchCandidateSet
Definition: DtExtractPropsInterface.h:23
DtTerrain & myTerrain
Definition: DtExtractPropsLogic.h:64
A DtTerrainPatchObject contains the methods for loading a file as a terrain. When loading a file as a...
Definition: DtTerrainPatchObject.h:37
DtDe & myDe
Definition: DtExtractPropsLogic.h:63
Contains makVrv::DtExtractPropsInterface class.
Contains DLL export macros.
DtExtractPropsInterface::SearchCandidateSet mySearchCandidates
Definition: DtExtractPropsLogic.h:67
DtTerrainPatch * myPatch
Definition: DtExtractPropsLogic.h:65
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
DtExtractPropsInterface & myGui
Definition: DtExtractPropsLogic.h:66
Interface for the extract props widget.
Definition: DtExtractPropsInterface.h:19
DtTerrain is a facade around terrain functionality.
Definition: DtTerrain.h:58

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)