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
scopes3dconfig.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 SCOPES3DCONFIG_H
28
#define SCOPES3DCONFIG_H
29
30
#include "
scopesconfig.h
"
31
#include "
scopes3d/plotdata3d.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
Plot3dCurveConfiguration
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
int
yMeanSamples
;
44
QString
mathFunction
;
45
};
46
50
class
Scopes3dConfig
:
public
ScopeConfig
51
{
52
Q_OBJECT
53
public
:
57
enum
Plot3dType
{
NO3DPLOT
,
SCATTERPLOT3D
,
SPECTROGRAM
};
58
59
virtual
int
getScopeDimensions
() {
return
PLOT3D
; }
60
61
private
:
62
};
63
64
#endif // SCOPES3DCONFIG_H
Plot3dCurveConfiguration::yMeanSamples
int yMeanSamples
Definition:
scopes3dconfig.h:43
Plot3dCurveConfiguration::uavObjectName
QString uavObjectName
Definition:
scopes3dconfig.h:39
Plot3dCurveConfiguration::mathFunction
QString mathFunction
Definition:
scopes3dconfig.h:44
Scopes3dConfig::NO3DPLOT
Definition:
scopes3dconfig.h:57
Plot3dCurveConfiguration::color
QRgb color
Definition:
scopes3dconfig.h:42
Scopes3dConfig::Plot3dType
Plot3dType
The Plot3dType enum Defines the different type of plots.
Definition:
scopes3dconfig.h:57
Scopes3dConfig::getScopeDimensions
virtual int getScopeDimensions()
Definition:
scopes3dconfig.h:59
Scopes3dConfig::SCATTERPLOT3D
Definition:
scopes3dconfig.h:57
PLOT3D
Definition:
scopesconfig.h:50
scopesconfig.h
ScopeConfig
The ScopeConfig class The parent class for scope configuration classes data sources.
Definition:
scopesconfig.h:56
Scopes3dConfig::SPECTROGRAM
Definition:
scopes3dconfig.h:57
Plot3dCurveConfiguration
Definition:
scopes3dconfig.h:37
Scopes3dConfig
The Scopes3dConfig class The parent class for 3D scope configurations.
Definition:
scopes3dconfig.h:50
plotdata3d.h
iuavgadgetconfiguration.h
Plot3dCurveConfiguration::uavFieldName
QString uavFieldName
Definition:
scopes3dconfig.h:40
Plot3dCurveConfiguration::yScalePower
int yScalePower
Definition:
scopes3dconfig.h:41
ground
gcs
src
plugins
scope
scopes3d
scopes3dconfig.h
Generated by
1.8.6