Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
ProfileHist.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 "
ProfileHist.h
"
18
19
#include "
projectors/ProfileProjector.h
"
20
#include "
reps/SymbolPointRep.h
"
21
22
namespace
hippodraw {
23
24
ProfileHist::ProfileHist
( )
25
{
26
m_name
=
"Profile"
;
27
28
m_projector
=
new
ProfileProjector
();
29
m_rep
=
new
SymbolPointRep
(
Symbol::SOLIDSQUARE
, 4.0 );
30
setErrorDisplay
(
Axes::Y
,
true
);
31
}
32
33
DataRep
*
ProfileHist::clone
()
34
{
35
return
new
ProfileHist
( *
this
);
36
}
37
38
bool
ProfileHist::acceptFunction
(
int
num )
39
{
40
return
num == 1;
41
}
42
43
bool
44
ProfileHist::
45
hasErrorDisplay
()
const
46
{
47
return
true
;
48
}
49
50
bool
51
ProfileHist::
52
hasAxis
(
hippodraw::Axes::Type
axis )
const
53
{
54
return
axis ==
Axes::X
|| axis ==
Axes::Y
;
55
}
56
57
}
// namespace hippodraw
58
Generated for HippoDraw Class Library by