Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
reps
CutRangeRep.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _CutRangeRep_H_
15
#define _CutRangeRep_H_
16
17
#include "
PointRepBase.h
"
18
19
namespace
hippodraw {
20
21
class
TupleCut;
22
29
class
MDL_HIPPOPLOT_API
CutRangeRep
:
public
PointRepBase
30
{
31
private
:
32
35
typedef
std::vector < TupleCut >
CutList_t
;
36
40
CutList_t
m_cut_list
;
41
44
void
drawNormalRange (
const
Range
& x_range,
45
const
Range
& y_range,
46
const
TransformBase
& tb,
47
ViewBase
& view );
48
51
void
drawInvertedRange1D (
const
Range
& x_range,
52
const
Range
& y_range,
53
const
TransformBase
& tb,
54
ViewBase
& view );
55
58
void
drawInvertedRange2D (
const
Range
& x_range,
59
const
Range
& y_range,
60
const
TransformBase
& transform,
61
ViewBase
& view );
62
65
void
throwRangeException ();
66
67
public
:
68
70
CutRangeRep
( );
71
73
CutRangeRep
(
const
CutRangeRep
& point_rep );
74
78
virtual
CutRangeRep
*
clone
();
79
84
void
drawProjectedValues (
const
Range
& x_range,
85
const
Range
& y_range,
86
const
TransformBase
& tb,
87
ViewBase
& view );
88
89
virtual
void
drawProjectedValues (
const
DataSource
* ntuple,
90
TransformBase
* transform,
91
ViewBase
* view );
92
95
const
std::vector < TupleCut > & getCuts ()
const
;
96
99
void
addCut (
const
TupleCut
& cut );
100
103
void
setCutRangeAt (
const
Range
& range,
unsigned
int
i );
104
107
void
toggleInverted (
unsigned
int
i );
108
111
void
setEnabled (
unsigned
int
i,
bool
yes );
112
113
};
114
115
}
// namespace hippodraw
116
117
#endif // _CutRangeRep_H_
Generated for HippoDraw Class Library by