VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleRangeLine
DtRangeLineDriver.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtRangeLineDriver.h,v $ $Revision: 1.8 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include "
DtRangeLineElement.h
"
15
#include "
DtRangeLineStateListener.h
"
16
17
#include <
vrvCore/DtElementDefinitionManager.h
>
18
#include <
vrvCore/DtElementEntry.h
>
19
#include <
vrvCore/DtIntervisibilityDriver.h
>
20
#include <
vrvCore/DtSelectionManager.h
>
21
#include <
vrvCore/DtUniqueID.h
>
22
#include <
vrvCore/vrvCore.h
>
23
#include <
vrvUtil/DtSignalConnectionManager.h
>
24
#include <
vrvUtil/DtVirtualBaseClass.h
>
25
26
#include <boost/signals.hpp>
27
#include <boost/unordered_map.hpp>
28
29
class
DtVector
;
30
31
namespace
makVrv
32
{
33
class
DtDe;
34
class
DtBasicEditingEventProcessor;
35
class
DtUnicode;
36
class
DtIntervisibilityStateListener;
37
class
DtElementDefinitionManager;
38
}
39
40
namespace
exampleRangeLine
41
{
42
class
DtRangeLineElement;
43
class
DtRangeLineStateListener;
44
49
class
DtRangeLineDriver
:
public
makVrv::DtIntervisibilityDriver
50
{
51
public
:
52
54
DtRangeLineDriver
(
makVrv::DtDe
&);
55
57
virtual
~DtRangeLineDriver
();
58
60
virtual
DtRangeLineElement
*
create
(
const
DtVector
&
start
,
61
const
DtVector
& end);
62
64
virtual
void
create
(
const
AttachPoints
& ap =
AttachPoints
());
65
66
protected
:
68
virtual
makVrv::DtBasicEditingEventProcessor
*
createEventProcessor
()
const
;
69
71
virtual
makVrv::DtIntervisibilityStateListener
*
createListener
(
72
const
std::string& definition)
const
;
73
75
virtual
makVrv::DtIntervisibilityElement
*
createElement
(
76
makVrv::DtIntervisibilityStateListener
*,
77
const
makVrv::DtUnicode
& definition)
const
;
78
81
virtual
bool
isAttachableObjectType
(
82
makVrv::DtElementEntry::ObjectType
t)
const
;
83
virtual
bool
isAttachableObjectType
(
makVrv::DtUniqueID
id
)
const
;
84
85
virtual
void
slot_place
(
makVrv::DtUniqueID
attachTo,
DtVector
v,
86
double
altAboveGround);
87
88
virtual
void
completeSetup
();
89
90
void
installElementDefinitions
(
91
makVrv::DtElementDefinitionManager
& manager);
92
void
createVisualizerDefinitions
(
93
makVrv::DtElementDefinitionManager
& manager,
int
modelSet);
94
95
};
96
}
97
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)