MAK RTIspy API Documentation for HLA 1516
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
libsrc
rtiAssistantApp
assistantPlotSeries.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2011 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
10
#pragma once
11
12
#include <
rtiMsConfig.h
>
13
#include <vlutil/vlMachineTypes.h>
14
#include <qwt_plot_curve.h>
15
#include <qwt_series_data.h>
16
#include <qwt_legend.h>
17
#include <QtGui/QPolygonF>
18
19
class
DtAssistantPlot
;
20
class
QwtLegend;
21
24
class
DT_DLL_ASSISTANTAPP
DtAssistantPlotSeries
:
public
QwtPlotCurve
25
{
26
public
:
27
32
DtAssistantPlotSeries
(
DtAssistantPlot
* plot,
33
unsigned
seriesId,
const
QString& title );
34
36
virtual
~
DtAssistantPlotSeries
();
37
39
void
setData(
double
* timeVals,
double
* dataVals,
unsigned
numVals );
40
44
virtual
void
addDataPoint(
double
time,
double
val );
45
47
virtual
void
clear();
48
51
virtual
void
setEnabled(
bool
state );
52
54
virtual
unsigned
seriesId()
const
;
55
56
virtual
void
itemChanged();
57
58
virtual
void
updateLegend( QwtAbstractLegend* legend )
const
;
59
60
protected
:
61
62
double
*
myTimeVals
;
63
double
*
myDataVals
;
64
unsigned
myNumVals
;
65
66
unsigned
mySeriesId
;
67
68
DtAssistantPlot
*
myPlot
;
69
70
bool
myEnabledFlag
;
71
72
static
const
unsigned
theMaxDataPoints
;
73
74
};
Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (
www.mak.com
)