RAIDA  1.9.0
IPlotterRegionROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_IPLOTTERREGIONROOT_H
3 #define AIDA_IPLOTTERREGIONROOT_H 1
4 
5 #include <AIDA/IPlotterRegion.h>
6 #include <string>
7 #include <vector>
8 
9 namespace AIDA {
10 
11 class IBaseHistogram;
12 class IDataPointSet;
13 class IFunction;
14 class IInfo;
15 class IPlotterLayout;
16 class IPlotterStyle;
17 
25 
26 public:
28  virtual ~IPlotterRegionROOT() { /* nop */; }
29 
30  IPlotterRegionROOT() { /* nop */; }
31 
40  virtual bool plot(const IBaseHistogram & histogram,
41  const std::string & options = "") ;
42 
43  virtual bool plot(const IBaseHistogram & histogram,
44  const IPlotterStyle & style,
45  const std::string & options = "") ;
46 
47  virtual bool plot(const IFunction & function,
48  const std::string & options = "") ;
49 
50  virtual bool plot(const IFunction & function,
51  const IPlotterStyle & style,
52  const std::string & options = "") ;
53 
54  virtual bool plot(const IDataPointSet & dataPointSet,
55  const std::string & options = "") ;
56 
57  virtual bool plot(const IDataPointSet & dataPointSet,
58  const IPlotterStyle & style,
59  const std::string & options = "") ;
60 
65  virtual bool remove(const IBaseHistogram & histogram) ;
66 
67  virtual bool remove(const IFunction & function) ;
68 
69  virtual bool remove(const IDataPointSet & dataPointSet) ;
70 
75  virtual void clear() ;
76 
82  virtual bool setParameter(const std::string & parameter,
83  const std::string & options = "") ;
84 
90  virtual std::string parameterValue(const std::string & parameter) const ;
91 
92  virtual std::vector<std::string> availableParameterOptions(const std::string & parameter) const ;
93 
94  virtual std::vector<std::string> availableParameters() const ;
95 
99  virtual IPlotterStyle & style() ;
100 
104  virtual bool setStyle(const IPlotterStyle & style) ;
105 
109  virtual bool applyStyle(const IPlotterStyle & style) ;
110 
114  virtual void setTitle(const std::string & title) ;
115 
119  virtual bool setXLimits(double min = 0, double max = 0) ;
120 
121  virtual bool setYLimits(double min = 0, double max = 0) ;
122 
123  virtual bool setZLimits(double min = 0, double max = 0) ;
124 
129  virtual IPlotterLayout & layout() ;
130 
131  virtual bool setLayout(const IPlotterLayout & layout) ;
132 
136  virtual IInfo & info() ;
137 }; // class
138 } // namespace AIDA
139 #endif /* ifndef AIDA_IPLOTTERREGIONROOT_H */
Dummy implementation of thc class &quot;IPlotterRegion&quot;.
Definition: IPlotterRegionROOT.h:24
virtual void setTitle(const std::string &title)
Set the title of a region.
Definition: IPlotterRegionROOT.cc:138
User level interface to a plotter region.
Definition: IPlotterRegion.h:62
virtual bool setXLimits(double min=0, double max=0)
Set limit of an axis representation the region area.
Definition: IPlotterRegionROOT.cc:143
virtual bool setParameter(const std::string &parameter, const std::string &options="")
Set various plotting paramters for the region.
Definition: IPlotterRegionROOT.cc:92
virtual bool setStyle(const IPlotterStyle &style)
Set the style of a region.
Definition: IPlotterRegionROOT.cc:126
virtual void clear()
Clear the list of things to plot in the region.
Definition: IPlotterRegionROOT.cc:87
virtual ~IPlotterRegionROOT()
Destructor.
Definition: IPlotterRegionROOT.h:28
virtual bool plot(const IBaseHistogram &histogram, const std::string &options="")
Add a data analysis object (histogram, function, cloud,...) in the list of things to plot in the regi...
Definition: IPlotterRegionROOT.cc:24
virtual bool applyStyle(const IPlotterStyle &style)
Set the style of a region and apply it to scene objects.
Definition: IPlotterRegionROOT.cc:132
virtual std::string parameterValue(const std::string &parameter) const
Get value of a parameter.
Definition: IPlotterRegionROOT.cc:99
virtual IInfo & info()
Return an IInfo object describing the info area.
Definition: IPlotterRegionROOT.cc:174
virtual IPlotterStyle & style()
Get the style of the region.
Definition: IPlotterRegionROOT.cc:119
virtual IPlotterLayout & layout()
To customize axis position,etc...
Definition: IPlotterRegionROOT.cc:161