This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
#include <IPlotter.h>
Public Methods | |
virtual | ~IPlotter () |
Destructor. More... | |
virtual IPlotterRegion* | createRegion (double x=0, double y=0, double w=1.0, double h=1.0)=0 |
virtual bool | createRegions (int columns=1, int rows=1, int index=0)=0 |
virtual IPlotterRegion& | currentRegion () const=0 |
virtual int | currentRegionNumber () const=0 |
virtual int | numberOfRegions () const=0 |
virtual bool | setCurrentRegionNumber (int index)=0 |
virtual IPlotterRegion& | next ()=0 |
virtual IPlotterRegion* | region (int index) const=0 |
virtual void | destroyRegions ()=0 |
virtual void | clearRegions ()=0 |
virtual bool | setParameter (const std::string ¶meter, const std::string &options="")=0 |
virtual std::string | parameterValue (const std::string ¶meter) const=0 |
virtual std::vector<std::string> | availableParameterOptions (const std::string ¶meter) const=0 |
virtual std::vector<std::string> | availableParameters () const=0 |
virtual bool | show ()=0 |
virtual bool | refresh ()=0 |
virtual bool | hide ()=0 |
virtual bool | interact ()=0 |
virtual bool | writeToFile (const std::string &filename, const std::string &type="")=0 |
virtual void | setTitle (const std::string &title)=0 |
virtual ITitleStyle& | titleStyle ()=0 |
virtual void | setTitleStyle (const ITitleStyle &style)=0 |
This IPlotter interface assumes the handling of multiple plotting regions. Then the IPlotter should be seen as a "page" managing multiple drawing region. It assumes that a "current" region mechanism is used.
The keyword "region" is borrowed from the OpenInventor terminology (viewing region).
See also the IPlotterRegion for more comments.
Definition at line 40 of file IPlotter.h.
|
Definition at line 44 of file IPlotter.h. |
|
|
|
|
|
Clear all regions. It does not reset the number and position of regions. This can be done through a destroyRegions. |
|
Create a new region.
|
|
Create a grid of regions. By default the current region is the top left one (with index 0). Region are indexed from zero, with increasing order left to right, top to bottom.
|
|
|
|
|
|
Destroy regions. |
|
Unmap the plotter on the screen. |
|
Give control to the plotter GUI. The plotter must be able to return from this function from a user action in its GUI. |
|
Set current region to be the "next" one. If exceeding the number of regions, the current region index return to 0.
|
|
|
|
Get value of a parameter.
|
|
Refresh the screen window(s). Used when a plotted data analysis object received new data. |
|
|
|
Set current region by giving its index [0,n-1] |
|
|
|
Set the global title of the plotter (page). |
|
|
|
Map the plotter on the screen. |
|
Get/set title style. |
|
Produce an output file.
|