VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtEntity2dFacade.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtEntity2dFacadeBase.h
>
14
#include <
vrvUtil/DtUnicode.h
>
15
#include <string>
16
17
namespace
makVrv
18
{
19
class
DtProjectedWidgetModelAgent;
20
class
DtWidgetLabelAgent;
21
25
class
DT_DLL_VRVCORE
DtEntity2dFacade
:
public
DtEntity2dFacadeBase
26
{
27
public
:
28
30
DtEntity2dFacade
(
DtAgentManagerInterface
& sceneInterface,
31
DtElementID
id
,
bool
distribute =
false
);
32
34
DtEntity2dFacade
(
DtAgentManagerInterface
& sceneInterface,
int
modelSet,
35
DtElementID
id
,
bool
distribute =
false
);
36
37
39
virtual
~
DtEntity2dFacade
();
40
43
44
46
virtual
void
setIconModelDefinition(
const
std::string& modelDefinitionName);
47
48
virtual
void
setOutlineColor(
const
float
color[4]);
49
virtual
void
setFillColor(
const
float
color[4]);
50
51
virtual
void
setOutlineGlyph(
DtUnicodeChar
glyph);
52
virtual
void
setFillGlyph(
DtUnicodeChar
glyph);
53
virtual
void
setDamageGlyph(
DtUnicodeChar
glyph);
54
56
57
protected
:
58
59
virtual
void
updateIcon();
60
61
virtual
DtUnicode
generateSymbolString(
float
fillColor[4],
62
float
outlineColor[4] )
const
;
63
64
protected
:
65
DtProjectedWidgetModelAgent*
myProjectIconModelAgent
;
66
DtWidgetLabelAgent*
mySymbolLabelAgent
;
67
68
DtUnicodeChar
myOutlineGlyph
;
69
DtUnicodeChar
myFillGlyph
;
70
DtUnicodeChar
myDamageGlyph
;
71
DtUnicode
mySymbolString
;
72
73
float
myFillColor[4];
74
float
myOutlineColor[4];
75
};
76
}
77
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)