dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
scopes2dconfig.h
Go to the documentation of this file.
1
12
/*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation; either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* This program is distributed in the hope that it will be useful, but
19
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
* for more details.
22
*
23
* You should have received a copy of the GNU General Public License along
24
* with this program; if not, see <http://www.gnu.org/licenses/>
25
*/
26
27
#ifndef SCOPES2D_H
28
#define SCOPES2D_H
29
30
#include "
scopesconfig.h
"
31
#include "
scopes2d/plotdata2d.h
"
32
33
#include <
coreplugin/iuavgadgetconfiguration.h
>
34
#include "ui_scopegadgetoptionspage.h"
35
36
// This struct holds the configuration for individual 2D data sources
37
struct
Plot2dCurveConfiguration
38
{
39
QString
uavObjectName
;
40
QString
uavFieldName
;
41
int
yScalePower
;
// This is the power to which each value must be raised
42
QRgb
color
;
43
unsigned
int
yMeanSamples
;
44
QString
mathFunction
;
45
};
46
50
class
Scopes2dConfig
:
public
ScopeConfig
51
{
52
Q_OBJECT
53
public
:
57
enum
Plot2dType
{
58
NO2DPLOT
,
// Signifies that there is no 2D plot configured
59
SCATTERPLOT2D
,
60
HISTOGRAM
,
61
POLARPLOT
62
};
63
64
virtual
int
getScopeDimensions
() {
return
PLOT2D
; }
65
66
private
:
67
};
68
69
#endif // SCOPES2D_H
plotdata2d.h
Plot2dCurveConfiguration::color
QRgb color
Definition:
scopes2dconfig.h:42
Plot2dCurveConfiguration::uavFieldName
QString uavFieldName
Definition:
scopes2dconfig.h:40
Plot2dCurveConfiguration::yScalePower
int yScalePower
Definition:
scopes2dconfig.h:41
Plot2dCurveConfiguration::mathFunction
QString mathFunction
Definition:
scopes2dconfig.h:44
Scopes2dConfig::Plot2dType
Plot2dType
The Plot2dType enum Defines the different type of plots.
Definition:
scopes2dconfig.h:57
Plot2dCurveConfiguration::uavObjectName
QString uavObjectName
Definition:
scopes2dconfig.h:39
Scopes2dConfig::POLARPLOT
Definition:
scopes2dconfig.h:61
Scopes2dConfig::NO2DPLOT
Definition:
scopes2dconfig.h:58
PLOT2D
Definition:
scopesconfig.h:50
scopesconfig.h
ScopeConfig
The ScopeConfig class The parent class for scope configuration classes data sources.
Definition:
scopesconfig.h:56
Scopes2dConfig::SCATTERPLOT2D
Definition:
scopes2dconfig.h:59
Scopes2dConfig::HISTOGRAM
Definition:
scopes2dconfig.h:60
Plot2dCurveConfiguration
Definition:
scopes2dconfig.h:37
Scopes2dConfig
The Scopes2dConfig class The parent class for 3D scope configurations.
Definition:
scopes2dconfig.h:50
iuavgadgetconfiguration.h
Plot2dCurveConfiguration::yMeanSamples
unsigned int yMeanSamples
Definition:
scopes2dconfig.h:43
Scopes2dConfig::getScopeDimensions
virtual int getScopeDimensions()
Definition:
scopes2dconfig.h:64
ground
gcs
src
plugins
scope
scopes2d
scopes2dconfig.h
Generated by
1.8.6