14 #ifndef _CutController_H_
15 #define _CutController_H_
29 class NTupleProjector;
55 std:: list < std::pair< PlotterBase *, Axes::Type > >
m_zoom_pan;
73 const std::vector < const ViewBase * > & views );
81 void connectDataRep (
const TupleCut * cut,
83 const std::vector < const ViewBase * > & views );
111 std::vector< std::string > & bindings );
125 void addCuts (
const std::vector < PlotterBase * > & cut_list,
132 void linkCutAndRep (
CutPlotter * cut_plotter,
144 createCut (
const std::string & name,
146 const std::vector < std::string > & bindings,
147 const Color & color )
const;
156 void fillCutList (
const std::vector < PlotterBase * > & plotter_list,
157 std::vector < CutPlotter * > & cut_list );
163 std::vector < PlotterBase * > & cut_list );
169 void fillCutList (
const DataRep * data_rep,
170 std::vector < PlotterBase * > & cut_list );
175 const std::vector < const TupleCut * > &
181 const std::vector < PlotterBase * > &
182 getCutList (
const std::vector < PlotterBase * > &,
190 void fillCutWeb (
const std::vector < PlotterBase * > & plotters,
191 std::vector < PlotterBase * > & web );
203 void appendToWeb (
const std::vector < PlotterBase * > & cutters,
215 void fillTupleCutList (
const std::vector < const ViewBase * > & views,
216 std::vector < const TupleCut * > & cut_list );
224 void connectDataRep (
const std::list < ViewBase * > & targets,
225 const std::vector < const ViewBase * > & views );
239 static void fillAcceptedRows ( std::vector < bool > & array,
241 const std::vector< const TupleCut * > & cuts);
250 #endif // _CutController_H_
#define MDL_HIPPOPLOT_API
The class expresses a cut on a DataSource, i.e.
A Color class for creating the color object following the standard RGB color space.
The base class for the PlotterBase hierarchy.
The base class for data representations.
A PlotterBase derived class that serves a base class for cut plotters.
static CutController * s_instance
The pointer to the singleton object.
std::vector< PlotterBase * > PlotterList_t
The type of standard C++ container used to hold PlotterBase objects.
A Plotter class that plots one-dimensional TupleCut values.
std::vector< PlotterBase * > m_cut_list
A temporary list of selected (cut) PlotterBase objects.
A singleton class that handles the application logic for cuts.
std::vector< std::string > m_cut_strings
A temporary list of string corresponding to cuts.
std::list< std::pair< PlotterBase *, Axes::Type > > m_zoom_pan
A list of cutplotter-axis pair that have been placed in zoom/pan mode.
Base class for DataSource.