MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
24 {
25 public:
26 
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 
68 
70 
71  static const unsigned theMaxDataPoints;
72 
73 };

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)