VR-Forces 4.6.1 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 Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)