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
vrvCoreQt
DtRangeEditorInterface.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 <
vrvCoreQt/vrvCoreQt.h
>
13
14
namespace
makVrv
15
{
16
19
class
DT_DLL_VRVCOREQT
DtRangeEditorInterface
20
{
21
public
:
22
24
typedef
std::vector<double>
ControlPoint
;
25
27
typedef
std::vector<DtRangeEditorInterface::ControlPoint>
Gradient
;
28
29
public
:
30
32
virtual
~
DtRangeEditorInterface
();
33
35
virtual
void
clearGradient() = 0;
36
38
virtual
void
addControlPoint(
double
rangeStart,
double
rangeEnd,
39
double
red,
double
green,
double
blue,
double
alpha = 1.0 ) = 0;
40
42
virtual
void
addControlPoint(
const
DtRangeEditorInterface::ControlPoint
& cp ) = 0;
43
45
virtual
void
setGradient(
DtRangeEditorInterface::Gradient
grad ) = 0;
46
48
virtual
DtRangeEditorInterface::Gradient
gradient()
const
= 0;
49
52
boost::signal<void (const DtRangeEditorInterface::Gradient&)>
signal_gradientChanged
;
53
54
};
55
56
}
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
)