RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IBrushStyleROOT Class Reference

Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect. More...

#include <IBrushStyleROOT.h>

Inheritance diagram for AIDA::IBrushStyleROOT:
AIDA::IBaseStyleROOT AIDA::IBrushStyle AIDA::IBaseStyle AIDA::IBaseStyle AIDA::IFillStyleROOT AIDA::ILineStyleROOT AIDA::IMarkerStyleROOT AIDA::ITextStyleROOT

Public Member Functions

virtual ~IBrushStyleROOT ()
 Destructor.
 
virtual std::vector< std::string > availableColors () const
 Get a list of the colours supported by this implementation.
 
virtual std::string color () const
 Current colour of this brush style.
 
virtual double opacity () const
 Current opacity (alpha) of this brush style.
 
virtual bool setColor (const std::string &newColor)
 Set current colour, e.g. More...
 
virtual bool setOpacity (double newOpacity)
 Set opacity (alpha), e.g. More...
 
- Public Member Functions inherited from AIDA::IBaseStyleROOT
virtual ~IBaseStyleROOT ()
 Destructor.
 
virtual void reset ()
 Return to original (construction time) state. More...
 
virtual bool setParameter (const std::string &paramName, const std::string &options="")
 Set a parameter. More...
 
virtual std::string parameterValue (const std::string &parameter) 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 &paramName) const
 Get list of the available options for a given parameter (implementation-dependent).
 
- Public Member Functions inherited from AIDA::IBaseStyle
virtual ~IBaseStyle ()
 Destructor.
 
- Public Member Functions inherited from AIDA::IBrushStyle
virtual ~IBrushStyle ()
 Destructor.
 

Detailed Description

Superclass for anything which can be drawn in different colours and with (possibly) transparent/opaque/translucent effect.

Author
T. Kraemer, DESY
Version
Id:
IBrushStyleROOT.h,v 1.2 2006-12-18 09:49:56 tkraemer Exp

Member Function Documentation

bool IBrushStyleROOT::setColor ( const std::string &  newColor)
virtual

Set current colour, e.g.

"darkGreen"

Returns
false if colour not recognised by the implementation.

Implements AIDA::IBrushStyle.

bool IBrushStyleROOT::setOpacity ( double  newOpacity)
virtual

Set opacity (alpha), e.g.

0 (transparent), 1 (opaque), 0.5 (halfway).

Returns
false if value not supported by the implementation.

Implements AIDA::IBrushStyle.


The documentation for this class was generated from the following files: