Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
projectors
Profile2DProjector.h
Go to the documentation of this file.
1
/* -*- mode: c++; -*- */
2
14
#ifndef _Profile2DProjector_H_
15
#define _Profile2DProjector_H_
16
17
#include "
BinningProjector.h
"
18
#include "
NTupleProjector.h
"
19
20
#include "
axes/Range.h
"
21
22
namespace
hippodraw {
23
37
class
MDL_HIPPOPLOT_API
Profile2DProjector
:
public
BinningProjector
,
38
public
NTupleProjector
39
{
40
41
private
:
42
44
mutable
Range
m_value_range
;
45
46
protected
:
47
49
Profile2DProjector
(
const
Profile2DProjector
& projector );
50
55
virtual
void
changedNTuple();
56
57
public
:
58
61
Profile2DProjector
();
62
65
ProjectorBase
*
clone
();
66
69
void
execute();
70
73
virtual
Range
valueRange()
const
;
74
77
virtual
Range
dataRangeOn (
hippodraw::Axes::Type
)
const
;
78
81
virtual
double
getPosOn (
hippodraw::Axes::Type
axis )
const
;
82
84
virtual
void
addPointReps ();
85
86
public
:
87
88
virtual
void
setRange (
hippodraw::Axes::Type
axis,
bool
);
89
98
virtual
const
Range
& setBinWidth (
hippodraw::Axes::Type
axis,
double
v );
99
100
virtual
const
Range
& setBinWidth (
hippodraw::Axes::Type
axis,
101
int
parm,
102
bool
dragging );
103
104
virtual
void
setOffset (
const
std::string & axis,
105
int
parm,
106
bool
dragging );
107
108
virtual
void
setOffset (
hippodraw::Axes::Type
axis,
double
v );
109
112
virtual
bool
isAxisBinned (
const
std::string & axis )
const
;
113
116
const
std::string & getZLabel()
const
;
117
123
virtual
void
setBinnerRange (
hippodraw::Axes::Type
axis,
124
const
Range
& range,
125
bool
const_width );
126
132
virtual
void
update (
const
Observable
*
object
);
133
139
virtual
void
willDelete (
const
Observable
*
object
);
140
141
};
142
143
}
// namespace hippodraw
144
145
#endif // _Profile2DProjector_H_
Generated for HippoDraw Class Library by