Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
StripChart.cxx
Go to the documentation of this file.
1
12
// for truncation warning in debug mode
13
#ifdef _MSC_VER
14
#include "msdevstudio/MSconfig.h"
15
#endif
16
17
#include "
StripChart.h
"
18
19
#include "
projectors/StripChartProjector.h
"
20
#include "
reps/LinePointRep.h
"
21
22
using namespace
hippodraw;
23
24
StripChart::StripChart
( )
25
{
26
m_name
=
"Strip Chart"
;
27
28
m_projector
=
new
StripChartProjector
();
29
m_rep
=
new
LinePointRep
();
30
}
31
32
DataRep
*
StripChart::clone
()
33
{
34
return
new
StripChart
( *
this
);
35
}
36
37
bool
StripChart::acceptFunction
(
int
num )
38
{
39
return
num == 1;
40
}
41
42
using namespace
hippodraw;
43
44
bool
45
StripChart::
46
hasAxis
(
hippodraw::Axes::Type
axis )
const
47
{
48
return
axis ==
Axes::X
|| axis ==
Axes::Y
;
49
}
50
51
bool
52
StripChart::
53
hasZoomY
()
const
54
{
55
return
true
;
56
}
Generated for HippoDraw Class Library by