Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datareps
ColorPlot.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 "
ColorPlot.h
"
18
19
#include "
projectors/DyHist2DProjector.h
"
20
#include "
reps/ColorBoxPointRep.h
"
21
22
23
using namespace
hippodraw;
24
25
ColorPlot::ColorPlot
( )
26
:
DataRep
()
27
{
28
m_name
=
"Color Plot"
;
29
m_projector
=
new
DyHist2DProjector
();
30
m_rep
=
new
ColorBoxPointRep
();
31
}
32
33
DataRep
*
ColorPlot::clone
()
34
{
35
return
new
ColorPlot
( *
this
);
36
}
37
38
bool
39
ColorPlot::
40
hasAxis
(
Axes::Type
axis )
const
41
{
42
return
axis ==
Axes::X
|| axis ==
Axes::Y
|| axis ==
Axes::Z
;
43
}
Generated for HippoDraw Class Library by