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() override;
25 
26  virtual void performSelectionOperation(SelectionOperation op, const IdSet& baseIds) override;
27 
29  virtual bool isTerrain(makVrv::DtUniqueID) const;
30 
31  virtual bool setBlockSelectionChange(bool);
32  bool blockSelectionChange() const
33  {
34  return myBlockSelectionChange;
35  }
36 
37  virtual void setCurrentSelections(const makVrv::DtSelectionManager::IdSet& selections) override;
38 
39  virtual void clearBackups();
40 
41  virtual SelectionType elementSelectionType( makVrv::DtElementEntry* entry ) const override;
42 
43  virtual makVrv::DtSelectionManager::IdSet filterOutNonPickables( const IdSet& selections ) const;
44 
46  static DtVrfSelectionManager& instance(makVrv::DtDe& de);
47 
48  boost::signals2::signal<void (const IdSet&, const IdSet&)> signal_selectionMaintained;
49 
50  protected:
52  };
53 }
bool myBlockSelectionChange
Definition: vrfSelectionManager.h:51
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:48
#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:32
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:76
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)