VR-Forces Developer's Guide
Home
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
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
>
14
#include <
vrvCore/DtSelectionManager.h
>
15
#include <boost/signals2.hpp>
16
17
namespace
makVrf
18
{
20
class
DT_DLL_VRFGUICORE
DtVrfSelectionManager
:
public
makVrv::DtSelectionManager
21
{
22
public
:
23
DtVrfSelectionManager
(
makVrv::DtDe
&);
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
:
50
bool
myBlockSelectionChange
;
51
};
52
}
makVrf::DtVrfSelectionManager::myBlockSelectionChange
bool myBlockSelectionChange
Definition:
vrfSelectionManager.h:50
makVrv::DtSelectionManager
The master window of the scene.
Definition:
DtSelectionManager.h:28
DtSelectionManager.h
Contains makVrv:DtSelectionManager class.
makVrf::DtVrfSelectionManager::signal_selectionMaintained
boost::signals2::signal< void(const IdSet &, const IdSet &)> signal_selectionMaintained
Definition:
vrfSelectionManager.h:47
DT_DLL_VRFGUICORE
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition:
vrfGuiCore.h:25
makVrv::DtElementEntry
DtElementEntry holds the non-simulation-specific data about an element, including its element type an...
Definition:
DtElementEntry.h:22
makVrf::DtVrfSelectionManager
Override to prevent terrain from being in multiple selection if that is the operation to be performed...
Definition:
vrfSelectionManager.h:20
vrfGuiCore.h
makVrv::DtSelectionManager::SelectionOperation
SelectionOperation
Definition:
DtSelectionManager.h:58
makVrv::DtUniqueID
unsigned long long DtUniqueID
Definition:
DtUniqueID.h:19
makVrf::DtVrfSelectionManager::blockSelectionChange
bool blockSelectionChange() const
Definition:
vrfSelectionManager.h:33
makVrv::DtDe
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
makVrv::DtSelectionManager::IdSet
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
)