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
statePropertyDecoration.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2018 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
6
#pragma once
7
8
#include <
vrvUtil/signalslib.h
>
9
#include <
vrfGuiCore/vrfGuiCore.h
>
10
#include <
vrvUtil/DtSignalConnectionManager.h
>
11
#include <string>
12
13
namespace
makVrf
14
{
15
class
DtStatePropertyDecorationVisualizer;
16
17
class
DT_DLL_VRFGUICORE
DtStatePropertyDecoration
18
{
19
public
:
21
DtStatePropertyDecoration
(
DtStatePropertyDecorationVisualizer
& visualizer);
22
24
virtual
~
DtStatePropertyDecoration
();
25
28
virtual
void
visualize(
int
index);
29
31
virtual
void
unvisualize();
32
35
virtual
void
setScale(
float
scale );
36
38
virtual
bool
shouldBeVisualized() = 0;
39
41
boost::signal<void (DtStatePropertyDecoration*, bool)>
signal_visualize
;
42
43
protected
:
45
virtual
void
setVisualizeAtIndex(
int
) = 0;
46
47
protected
:
48
50
DtStatePropertyDecoration
();
51
52
protected
:
53
int
myIndex
;
54
float
myScale
;
55
DtStatePropertyDecorationVisualizer
&
myParentVisualizer
;
56
makVrv::DtSignalConnectionManager
myConnections
;
57
};
58
60
class
DT_DLL_VRFGUICORE
DtStatePropertyDecorationCreator
61
{
62
public
:
64
DtStatePropertyDecorationCreator
();
65
67
virtual
~
DtStatePropertyDecorationCreator
();
68
70
virtual
DtStatePropertyDecoration
* create(
71
DtStatePropertyDecorationVisualizer
& parentVisualizer) = 0;
72
75
virtual
DtStatePropertyDecorationCreator
* clone() = 0;
76
79
virtual
const
std::string& decorationClassName() = 0;
80
};
81
82
}
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
)