RAIDA
1.9.0
|
User level interface to a plotter region. More...
#include <IPlotterRegion.h>
Public Member Functions | |
virtual | ~IPlotterRegion () |
Destructor. | |
virtual bool | plot (const IBaseHistogram &histogram, const std::string &options="")=0 |
Add a data analysis object (histogram, function, cloud,...) in the list of things to plot in the region. More... | |
virtual bool | plot (const IBaseHistogram &histogram, const IPlotterStyle &style, const std::string &options="")=0 |
virtual bool | plot (const IFunction &function, const std::string &options="")=0 |
virtual bool | plot (const IFunction &function, const IPlotterStyle &style, const std::string &options="")=0 |
virtual bool | plot (const IDataPointSet &dataPointSet, const std::string &options="")=0 |
virtual bool | plot (const IDataPointSet &dataPointSet, const IPlotterStyle &style, const std::string &options="")=0 |
virtual bool | remove (const IBaseHistogram &histogram)=0 |
Remove a data analysis object in the list of things to plot in the region. More... | |
virtual bool | remove (const IFunction &function)=0 |
virtual bool | remove (const IDataPointSet &dataPointSet)=0 |
virtual void | clear ()=0 |
Clear the list of things to plot in the region. More... | |
virtual bool | setParameter (const std::string ¶meter, const std::string &options="")=0 |
Set various plotting paramters for the region. More... | |
virtual std::string | parameterValue (const std::string ¶meter) const =0 |
Get value of a parameter. More... | |
virtual std::vector< std::string > | availableParameterOptions (const std::string ¶meter) const =0 |
virtual std::vector< std::string > | availableParameters () const =0 |
virtual IPlotterStyle & | style ()=0 |
Get the style of the region. | |
virtual bool | setStyle (const IPlotterStyle &style)=0 |
Set the style of a region. | |
virtual bool | applyStyle (const IPlotterStyle &style)=0 |
Set the style of a region and apply it to scene objects. | |
virtual void | setTitle (const std::string &title)=0 |
Set the title of a region. | |
virtual bool | setXLimits (double min=0, double max=0)=0 |
Set limit of an axis representation the region area. | |
virtual bool | setYLimits (double min=0, double max=0)=0 |
virtual bool | setZLimits (double min=0, double max=0)=0 |
virtual IPlotterLayout & | layout ()=0 |
To customize axis position,etc... More... | |
virtual bool | setLayout (const IPlotterLayout &layout)=0 |
virtual IInfo & | info ()=0 |
Return an IInfo object describing the info area. | |
User level interface to a plotter region.
A region is managed by a plotter. A region must be seen as a scene manager handling a custome "plotting" scene. In general this kind of scene may be in 2D or 3D. In 2D, the scene have "coarse graining parts" like two axis, data representations within the axis. It may have various other parts like a grid, a title, an info area. In 3D, the scene have in general three axis, a different global layout, some data representations within the axis area and also scene parts like title, grid, etc...
To customize all these, some "style" interfaces had been introduced. In general there is one style interface per "scene part" ; then IAxisStyle, IDataStyle, ITitleStyle, IInfoStyle. Oftenly a "scene part" contains text, line, fill area, etc.... For example an "axis" have a line, ticks, text for tick labels, text for the label of the axis, the magnitude, etc... A "coarse graining scene part" style contains various accessor to "atomic" styles like IMarkerStyle, ILineStyle, IFillStyle that permits to build a "customization block" to modify a scene part.
A global style "block", the IPlotterStyle, could be retreived from a plotting region. This global style block have accessors to the various "coarse graining scene parts" of the plotting scene. Through it, we hope to offer a lot of customization in a convenient way...
The keywords "scene" and "part" had been borrowed from the OpenInventor terminology.
|
pure virtual |
Clear the list of things to plot in the region.
Clear the corresponding area on screen window(s).
Implemented in AIDA::IPlotterRegionROOT.
|
pure virtual |
To customize axis position,etc...
Change object position in the scence.
Implemented in AIDA::IPlotterRegionROOT.
|
pure virtual |
Get value of a parameter.
paramName | Name of the parameter. |
Implemented in AIDA::IPlotterRegionROOT.
|
pure virtual |
Add a data analysis object (histogram, function, cloud,...) in the list of things to plot in the region.
Activate the underlying graphic toolkit in order to bring something in the screen window(s) attached to the plotter. It assumes that the plotter had been mapped on the screen with its show method.
Implemented in AIDA::IPlotterRegionROOT.
|
pure virtual |
Remove a data analysis object in the list of things to plot in the region.
Activate the graphic layer to update the screen window.
Implemented in AIDA::IPlotterRegionROOT.
|
pure virtual |
Set various plotting paramters for the region.
Activate the graphic layer and update the screen window(s) if needed.
Implemented in AIDA::IPlotterRegionROOT.