VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
examples
exampleSymbolFacade3
DtExampleSymbolDriver3.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2012 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
exampleSymbolFacade3.h
>
13
14
#include <
vrvCore/DtDriver.h
>
15
16
#include <
vrvCore/DtSelectionManager.h
>
17
18
#include <boost/unordered_set.hpp>
19
20
#include <matrix/vlVector.h>
21
22
namespace
makVrv
23
{
24
25
namespace
exampleSymbolFacade3
26
{
27
28
class
DtSymbolFacade
;
29
39
class
DT_DLL_EXAMPLESYMBOLFACADE3
DtExampleSymbolDriver
40
:
public
makVrv::DtDriver
41
{
42
public
:
43
44
typedef
boost::unordered_set<DtSymbolFacade*>
SymbolList
;
45
46
public
:
47
49
DtExampleSymbolDriver
(
makVrv::DtAgentManager
& am );
50
52
virtual
~
DtExampleSymbolDriver
();
53
54
57
60
virtual
const
std::string& className()
const
;
61
64
virtual
bool
onStart();
65
68
virtual
bool
onStop();
69
72
virtual
bool
onTick();
73
75
76
79
83
virtual
DtSymbolFacade
* createSymbol(
const
std::string& name,
84
const
DtVector
& pos );
85
89
virtual
DtSymbolFacade
* findSymbol(
makVrv::DtElementID
id
);
90
93
virtual
SymbolList
selectedSymbols()
const
;
94
96
97
protected
:
98
102
virtual
void
positionSymbol(
DtSymbolFacade
* symbol,
const
DtVector
& pos );
103
107
virtual
void
slot_currentSelectionChanged(
108
const
makVrv::DtSelectionManager::IdSet
& selected,
109
const
makVrv::DtSelectionManager::IdSet
& deselected,
110
makVrv::DtSelectionManager::SelectionType
newType,
111
makVrv::DtSelectionManager::SelectionType
oldType );
112
115
virtual
void
slot_displayEngineAdded(
const
makVrv::DtDeRecord
& igRecord );
116
117
protected
:
118
120
typedef
boost::unordered_map<makVrv::DtElementID,DtSymbolFacade*>
SymbolFacadeMap
;
121
123
SymbolFacadeMap
mySymbolFacades
;
124
126
SymbolList
myCurrentlySelectedSymbols
;
127
128
};
129
130
}
131
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)