VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfSelectionManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrfGuiCore/vrfGuiCore.h>
15 #include <boost/signals2.hpp>
16 
17 namespace makVrf
18 {
21  {
22  public:
24  virtual ~DtVrfSelectionManager();
25 
26  virtual void performSelectionOperation( SelectionOperation op,
27  const IdSet& baseIds );
28 
30  virtual bool isTerrain(makVrv::DtUniqueID) const;
31 
32  virtual bool setBlockSelectionChange(bool);
33  bool blockSelectionChange() const
34  {
35  return myBlockSelectionChange;
36  }
37 
38  virtual void setCurrentSelections( const makVrv::DtSelectionManager::IdSet& selections );
39 
40  virtual void clearBackups();
41 
42  virtual SelectionType elementSelectionType( makVrv::DtElementEntry* entry ) const override;
43 
45  static DtVrfSelectionManager& instance(makVrv::DtDe& de);
46 
47  boost::signals2::signal<void (const IdSet&, const IdSet&)> signal_selectionMaintained;
48 
49  protected:
51  };
52 }
bool myBlockSelectionChange
Definition: vrfSelectionManager.h:50
The master window of the scene.
Definition: DtSelectionManager.h:28
Contains makVrv:DtSelectionManager class.
boost::signals2::signal< void(const IdSet &, const IdSet &)> signal_selectionMaintained
Definition: vrfSelectionManager.h:47
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
DtElementEntry holds the non-simulation-specific data about an element, including its element type an...
Definition: DtElementEntry.h:22
Override to prevent terrain from being in multiple selection if that is the operation to be performed...
Definition: vrfSelectionManager.h:20
SelectionOperation
Definition: DtSelectionManager.h:58
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
bool blockSelectionChange() const
Definition: vrfSelectionManager.h:33
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:72
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)