MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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 <QtGui/QPolygonF>
17
18
19
class
DtAssistantPlot
;
20
23
class
DT_DLL_ASSISTANTAPP
DtAssistantPlotSeries
:
public
QwtPlotCurve
24
{
25
public
:
26
31
DtAssistantPlotSeries
(
DtAssistantPlot
* plot,
32
unsigned
seriesId,
const
QString& title );
33
35
virtual
~
DtAssistantPlotSeries
();
36
38
void
setData(
double
* timeVals,
double
* dataVals,
unsigned
numVals );
39
43
virtual
void
addDataPoint(
double
time,
double
val );
44
46
virtual
void
clear();
47
50
virtual
void
setEnabled(
bool
state );
51
53
virtual
unsigned
seriesId()
const
;
54
55
virtual
void
itemChanged();
56
57
virtual
void
updateLegend( QwtLegend* legend )
const
;
58
59
protected
:
60
61
double
*
myTimeVals
;
62
double
*
myDataVals
;
63
unsigned
myNumVals
;
64
65
unsigned
mySeriesId
;
66
67
DtAssistantPlot
*
myPlot
;
68
69
bool
myEnabledFlag
;
70
71
static
const
unsigned
theMaxDataPoints
;
72
73
};
Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (
www.mak.com
)