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
vrfAttributeGroupWidget.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 <
vrfGuiCore/vrfGuiCore.h
>
9
#include <
vrvOsg/DtOsgAttributeGroupWidget.h
>
10
#include <
vrvOsg/DtValueBarAttribute.h
>
11
#include <
vrvOsg/DtImageAttribute.h
>
12
13
namespace
makVrf
14
{
15
class
DT_DLL_VRFGUICORE
DtVrfAttributeGroupWidget
:
public
makVrv::DtOsgAttributeGroupWidget
16
{
17
public
:
19
DtVrfAttributeGroupWidget
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
20
22
virtual
~
DtVrfAttributeGroupWidget
();
23
25
virtual
void
setImageValue(
int
index,
const
std::string&);
26
28
virtual
void
setBarValue(
int
index,
float
);
29
31
virtual
void
setBarSize(
int
index,
double
xSize,
double
ySize);
32
34
virtual
void
setBarColor(
int
index,
float
r,
float
g,
float
b,
float
a);
35
37
virtual
void
setImageScale(
int
index,
float
scale);
38
};
39
40
class
DT_DLL_VRFGUICORE
DtVrfValueBarAttribute
:
public
makVrv::DtValueBarAttribute
41
{
42
public
:
43
DtVrfValueBarAttribute
(
makVrv::DtDe
&);
44
virtual
~
DtVrfValueBarAttribute
();
45
47
virtual
void
getMinSize(
double
& xOut,
double
& yOut );
48
50
virtual
void
setSize(
double
x,
double
y );
51
};
52
53
class
DT_DLL_VRFGUICORE
DtVrfImageAttribute
:
public
makVrv::DtImageAttribute
54
{
55
public
:
56
DtVrfImageAttribute
(
makVrv::DtDe
&);
57
virtual
~
DtVrfImageAttribute
();
58
60
virtual
void
setSize(
double
x,
double
y );
61
virtual
void
setImageFilePath(
const
std::string& imageFilePath );
62
virtual
void
getMinSize(
double
& xOut,
double
& yOut );
63
virtual
void
setVisible(
bool
);
64
66
virtual
void
scaleImage(
double
);
67
68
protected
:
69
virtual
void
updateImageBox();
70
71
protected
:
72
double
myScale
;
73
};
74
}
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
)