VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleSymbolDecoration
DtArtPartDecorationUpdater.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 "
exampleSymbolDecoration.h
"
13
14
#include <
vrvCore/DtDe.h
>
15
#include <
vrvCore/DtIntersector.h
>
16
#include <
vrvCore/DtTickable.h
>
17
18
#include <string>
19
20
namespace
makVrv
21
{
22
class
DtAttributeGroupWidget;
23
class
DtSceneObject;
24
35
class
DT_DLL_EXAMPLESYMBOLDECORATION
DtArtPartDecorationUpdater
:
36
public
DtTickable
37
{
38
public
:
39
41
DtArtPartDecorationUpdater
(
42
DtDe
& de,
DtUniqueID
id
,
bool
suppressTick =
false
);
43
45
virtual
~
DtArtPartDecorationUpdater
();
46
49
virtual
bool
needsUpdate( DtTime tNow );
50
52
virtual
void
update(
double
simTime );
53
55
virtual
void
setSceneObject(
DtSceneObject
* sceneObject);
56
59
virtual
void
attachAttributeGroupWidget(
DtUniqueID
id
);
60
62
virtual
void
setAttributeIndex(
unsigned
int
index);
63
64
protected
:
67
DtSceneObject
* findSceneObjectFor(
68
const
DtElementID
& elementId,
unsigned
int
modelSet);
69
70
virtual
void
slot_sceneObjectToBeDeleted(
const
DtUniqueID
&
id
);
71
72
protected
:
73
DtDe
&
myDe
;
74
DtSceneObject
*
mySceneObject
;
75
DtUniqueID
myUniqueId
;
76
77
78
float
myLastSymbolUpdateTime
;
79
DtAttributeGroupWidget
*
myAttributeGroupWidget
;
80
int
myLabelIndex
;
81
};
82
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)