RAIDA  1.9.0
IBrushStyleROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_IBRUSHSTYLEROOT_H
3 #define AIDA_IBRUSHSTYLEROOT_H 1
4 
5 #include <string>
6 #include <vector>
7 
8 #include <RAIDA/IBaseStyleROOT.h>
9 #include <AIDA/IBrushStyle.h>
10 
11 namespace AIDA {
12 
21 class IBrushStyleROOT : public IBaseStyleROOT, virtual public IBrushStyle {
22 
23 public:
25  virtual ~IBrushStyleROOT() { /* nop */; }
26 
27  IBrushStyleROOT() { /* nop */; }
28 
32  virtual std::vector<std::string> availableColors() const ;
33 
37  virtual std::string color() const ;
38 
42  virtual double opacity() const ;
43 
48  virtual bool setColor(const std::string & newColor) ;
49 
55  virtual bool setOpacity(double newOpacity) ;
56 }; // class
57 } // namespace AIDA
58 #endif /* ifndef AIDA_IBRUSHSTYLEROOT_H */
virtual bool setOpacity(double newOpacity)
Set opacity (alpha), e.g.
Definition: IBrushStyleROOT.cc:35
virtual std::string color() const
Current colour of this brush style.
Definition: IBrushStyleROOT.cc:17
virtual ~IBrushStyleROOT()
Destructor.
Definition: IBrushStyleROOT.h:25
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaqu...
Definition: IBrushStyle.h:29
virtual double opacity() const
Current opacity (alpha) of this brush style.
Definition: IBrushStyleROOT.cc:23
virtual std::vector< std::string > availableColors() const
Get a list of the colours supported by this implementation.
Definition: IBrushStyleROOT.cc:8
Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaqu...
Definition: IBrushStyleROOT.h:21
virtual bool setColor(const std::string &newColor)
Set current colour, e.g.
Definition: IBrushStyleROOT.cc:29
Superclass for all styles in AIDA Plotting package.
Definition: IBaseStyleROOT.h:30