VR-Forces 4.3 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
vrvCore
DtAttributeGroupWidget.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 <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtWidget.h
>
14
#include <
vrvUtil/DtUnicode.h
>
15
16
namespace
makVrv
17
{
18
21
class
DT_DLL_VRVCORE
DtAttributeGroupWidget
:
public
DtWidget
22
{
23
public
:
24
26
DtAttributeGroupWidget
(
DtDe
& de,
DtUniqueID
id
);
27
29
virtual
~
DtAttributeGroupWidget
();
30
32
virtual
void
setBackgroundEnabled(
bool
enabled) = 0;
33
35
virtual
void
setBackgroundColor(
float
r,
float
g,
36
float
b,
float
a = 1.0f ) = 0;
37
39
virtual
void
setOutlineEnabled(
bool
enabled) = 0;
40
42
virtual
void
setTypeText(
unsigned
int
index,
43
const
DtUnicode
& attributeName) = 0;
44
46
virtual
void
setTypeNumeric(
unsigned
int
index,
47
const
DtUnicode
& attributeName) = 0;
48
50
virtual
void
setTypeValueBar(
unsigned
int
index,
51
const
DtUnicode
& attributeName) = 0;
52
59
virtual
void
setTypeGraph(
unsigned
int
index,
60
const
DtUnicode
& attributeName,
int
maxValues) = 0;
61
63
virtual
void
setTypeImage(
unsigned
int
index,
64
const
DtUnicode
& attributeName) = 0;
65
67
virtual
void
setTypeValueText(
unsigned
int
index,
68
const
DtUnicode
& attributeName) = 0;
69
71
virtual
void
setTypeNull(
unsigned
int
index) = 0;
72
74
virtual
void
setValueImage(
unsigned
int
index,
75
const
std::string& imageFilepath) = 0;
76
78
virtual
void
setValueGraphPoint(
unsigned
int
index,
79
unsigned
int
n,
float
x,
float
y) = 0;
80
82
virtual
void
setValueBarValue(
unsigned
int
index,
float
val) = 0;
83
85
virtual
void
setValueNumeric(
unsigned
int
index,
float
val) = 0;
86
88
virtual
void
setValueTextValue(
unsigned
int
index,
89
const
DtUnicode
& val) = 0;
90
92
virtual
void
setAttributeVisible(
unsigned
int
index,
93
bool
visible) = 0;
94
97
virtual
void
setHorizontalCenter(
bool
center) = 0;
98
101
virtual
void
setVerticalCenter(
bool
center) = 0;
102
104
virtual
void
setFontSize(
float
points) = 0;
105
107
virtual
void
setFontFile(
const
std::string&) = 0;
108
110
virtual
void
setShadowText(
bool
enabled ) = 0;
111
114
virtual
void
setBackgroundOrderGroup(
unsigned
int
groupId ) = 0;
115
116
};
117
118
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)