7 #ifndef AIDA_IPLOTTER_H
8 #define AIDA_IPLOTTER_H 1
70 virtual bool createRegions(
int columns = 1,
int rows = 1,
int index = 0) = 0;
122 virtual bool setParameter(
const std::string & parameter,
const std::string & options =
"") = 0;
129 virtual std::string
parameterValue(
const std::string & parameter)
const = 0;
131 virtual std::vector<std::string> availableParameterOptions(
const std::string & parameter)
const = 0;
133 virtual std::vector<std::string> availableParameters()
const = 0;
142 virtual bool show() = 0;
154 virtual bool hide() = 0;
174 virtual bool writeToFile(
const std::string & filename,
const std::string & type =
"") = 0;
179 virtual void setTitle(
const std::string & title) = 0;
186 virtual void setTitleStyle(
const ITitleStyle & style) = 0;
virtual ~IPlotter()
Destructor.
Definition: IPlotter.h:44
virtual void setTitle(const std::string &title)=0
Set the global title of the plotter (page).
User level interface to a plotter region.
Definition: IPlotterRegion.h:62
virtual ITitleStyle & titleStyle()=0
Get/set title style.
virtual int numberOfRegions() const =0
virtual bool setCurrentRegionNumber(int index)=0
Set current region by giving its index [0,n-1].
virtual std::string parameterValue(const std::string ¶meter) const =0
Get value of a parameter.
virtual IPlotterRegion * region(int index) const =0
virtual bool writeToFile(const std::string &filename, const std::string &type="")=0
Produce an output file.
virtual IPlotterRegion * createRegion(double x=0, double y=0, double w=1.0, double h=1.0)=0
Region management methods.
virtual bool interact()=0
Give control to the plotter GUI.
virtual bool show()=0
Map the plotter on the screen.
virtual int currentRegionNumber() const =0
virtual bool refresh()=0
Refresh the screen window(s).
User level interface to plotter.
Definition: IPlotter.h:40
Style for the "title scene part" of a plotting region or for the global title of a plotting page...
Definition: ITitleStyle.h:29
virtual IPlotterRegion & next()=0
Set current region to be the "next" one.
virtual void destroyRegions()=0
Destroy regions.
virtual IPlotterRegion & currentRegion() const =0
virtual bool createRegions(int columns=1, int rows=1, int index=0)=0
Create a grid of regions.
virtual void clearRegions()=0
Clear all regions.
virtual bool hide()=0
Unmap the plotter on the screen.