VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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(
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 Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)