RAIDA
1.9.0
|
Superclass for all styles in AIDA Plotting package. More...
#include <IBaseStyleROOT.h>
Public Member Functions | |
virtual | ~IBaseStyleROOT () |
Destructor. | |
virtual void | reset () |
Return to original (construction time) state. More... | |
virtual bool | setParameter (const std::string ¶mName, const std::string &options="") |
Set a parameter. More... | |
virtual std::string | parameterValue (const std::string ¶meter) const |
Get value of a parameter. More... | |
virtual std::vector< std::string > | availableParameters () const |
Get list of the available parameters (implementation-dependent) | |
virtual std::vector< std::string > | availableParameterOptions (const std::string ¶mName) const |
Get list of the available options for a given parameter (implementation-dependent). | |
Public Member Functions inherited from AIDA::IBaseStyle | |
virtual | ~IBaseStyle () |
Destructor. | |
Superclass for all styles in AIDA Plotting package.
All styles can be reset to their original values at construction time. In the case of styles which 'contain' other styles (like IStyle or IAxisStyle), reset() calls reset() on the aggregated styles too. All styles are hierarchical, so the plotter's current style is overridden by the region's current style, which is overridden by any 'associated' style which is overwritten by any style passed in explicitly at plotting time. Parameters and options which have been explicitly set to non-default (or default!) values are 'sticky'. For example, if a style has the default 'red' and this has been set explicitly to 'blue' at the Plotter level, then it will override the default 'red' at the Region level. IF the user explicitly sets the region to 'green' (or 'red'!) then it will not be overridden by the 'parent' style.
|
virtual |
Get value of a parameter.
paramName | Name of the parameter. |
Implements AIDA::IBaseStyle.
|
virtual |
Return to original (construction time) state.
Explicitly set parameters will be set to defaults and may be overridden
Implements AIDA::IBaseStyle.
|
virtual |
Set a parameter.
paramName | Name of the parameter. |
options | String of options. |
Implements AIDA::IBaseStyle.