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
DtGradientEditorInterface.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtGradientEditorInterface.h,v $ $Revision: 1.5 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtGradientEditorInterface_H_
14
#define DtGradientEditorInterface_H_
15
16
#include <
vrvCoreQt/vrvCoreQt.h
>
17
18
namespace
makVrv
19
{
22
class
DT_DLL_VRVCOREQT
DtGradientEditorInterface
23
{
24
public
:
25
typedef
std::vector<double>
ControlPoint
;
26
typedef
std::vector<DtGradientEditorInterface::ControlPoint>
Gradient
;
27
29
virtual
~
DtGradientEditorInterface
();
30
31
virtual
void
clearGradient() = 0;
32
33
virtual
void
addControlPoint(
double
location,
double
red,
double
green,
double
blue,
double
alpha = 1.0) = 0;
34
35
virtual
void
addControlPoint(
const
DtGradientEditorInterface::ControlPoint
& cp) = 0;
36
37
virtual
void
setGradient(
DtGradientEditorInterface::Gradient
grad) = 0;
38
39
40
virtual
const
DtGradientEditorInterface::Gradient
gradient()
const
= 0;
41
44
boost::signal<void (const DtGradientEditorInterface::Gradient&)>
signal_gradientChanged
;
45
};
46
}
47
48
#endif
49
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
)