VR-Forces 4.7 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
vrfGuiCore
extendedLabelSymbolDecoration.h
Go to the documentation of this file.
1
/**************************************************************************
2
* Copyright (c) 2013 MAK Technologies, Inc.
3
* All rights reserved.
4
**************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiCore/vrfGuiCore.h
>
13
14
#include <
vrvCore/DtSymbolDecoration.h
>
15
#include <
vrvCore/DtSymbolDecorationCreator.h
>
16
#include <
vrvCore/DtSymbolDecorationVisualizer.h
>
17
#include <vlutil/vlString.h>
18
19
#include <map>
20
21
namespace
makVrf
22
{
25
class
DT_DLL_VRFGUICORE
DtExtendedLabelSymbolDecoration
:
public
makVrv::DtSymbolDecoration
26
{
27
public
:
28
30
DtExtendedLabelSymbolDecoration
(
int
labelIndex,
unsigned
int
index,
31
makVrv::DtSymbolDecorationVisualizer
& parentVisualizer );
32
34
virtual
~
DtExtendedLabelSymbolDecoration
();
35
37
virtual
void
visualize();
38
40
virtual
void
unvisualize();
41
43
virtual
void
slot_extendedLabelsSet(
const
std::map<int, DtString>& labels );
44
45
protected
:
46
47
unsigned
int
myIndex
;
48
makVrv::DtSymbolDecorationVisualizer
&
myParentVisualizer
;
49
bool
myActive
;
50
int
myLabelIndex
;
51
};
52
55
class
DT_DLL_VRFGUICORE
DtExtendedLabelSymbolDecorationCreator
:
public
makVrv::DtSymbolDecorationCreator
56
{
57
public
:
58
60
DtExtendedLabelSymbolDecorationCreator
(
const
std::string& className,
int
index,
const
makVrv::DtUnicode
& displayName);
61
63
virtual
~
DtExtendedLabelSymbolDecorationCreator
();
64
66
virtual
makVrv::DtSymbolDecoration
* create(
67
makVrv::DtSymbolDecorationVisualizer
& parentVisualizer );
68
71
virtual
makVrv::DtSymbolDecorationCreator
* clone();
72
74
virtual
const
makVrv::DtUnicode
& displayName();
75
78
virtual
const
std::string& decorationClassName();
79
82
virtual
const
std::string& tag();
83
84
protected
:
85
std::string
myClassName
;
86
int
myLabelIndex
;
87
makVrv::DtUnicode
myDisplayName
;
88
};
89
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)