Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
projectors
Hist2DProjImp.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _Hist2DProjImp_H_
15
#define _Hist2DProjImp_H_
16
17
#include "
BinningProjector.h
"
18
19
#include "
axes/Range.h
"
20
21
namespace
hippodraw {
22
33
class
MDL_HIPPOPLOT_API
Hist2DProjImp
:
public
BinningProjector
34
{
35
36
private
:
37
39
std::string
m_z_label_entries
;
40
42
std::string
m_z_label_density
;
43
45
mutable
Range
m_value_range
;
46
47
protected
:
48
50
Hist2DProjImp
(
const
Hist2DProjImp
& projector );
51
55
virtual
void
checkScaling ();
56
58
void
setZLabel();
59
61
virtual
void
addPointReps ();
62
65
Range
dataRangeOnValue ()
const
;
66
69
double
getPosOnValue ()
const
;
70
71
public
:
72
74
Hist2DProjImp
();
75
77
virtual
~
Hist2DProjImp
();
78
82
virtual
Range
valueRange()
const
;
83
85
virtual
void
setRange(
hippodraw::Axes::Type
axis,
bool
);
86
87
virtual
Range
preferredRange (
hippodraw::Axes::Type
)
const
;
88
95
virtual
const
Range
& setBinWidth (
hippodraw::Axes::Type
axis,
double
v );
96
virtual
void
setOffset (
hippodraw::Axes::Type
axis,
double
v );
97
100
virtual
bool
isValueBinned ()
const
;
101
103
const
std::string & getZLabel()
const
;
104
106
virtual
bool
hasZAxis()
const
;
107
110
virtual
bool
wantsScaleFactor (
const
std::string & axis )
const
;
111
112
};
113
114
}
// namespace hippodraw
115
116
#endif // _Hist2DProjImp_H_
Generated for HippoDraw Class Library by