VR-Forces Development_Version 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
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
std::string& 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
std::string& 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
std::string
myDisplayName
;
88
};
89
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)