CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IBrushStyle.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // AID-GENERATED
00003 // =========================================================================
00004 // This class was generated by AID - Abstract Interface Definition          
00005 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. 
00006 // =========================================================================
00007 #ifndef AIDA_IBRUSHSTYLE_H
00008 #define AIDA_IBRUSHSTYLE_H 1
00009 
00010 //  This file is part of the AIDA library
00011 //  Copyright (C) 2002 by the AIDA team.  All rights reserved.
00012 //  This library is free software and under the terms of the
00013 //  GNU Library General Public License described in the LGPL.txt 
00014 
00015 #include <string>
00016 #include <vector>
00017 
00018 #include "AIDA/IBaseStyle.h"
00019 
00020 namespace AIDA {
00021 
00029 class IBrushStyle : virtual public IBaseStyle {
00030 
00031 public: 
00033     virtual ~IBrushStyle() { /* nop */; }
00034 
00038     virtual std::vector<std::string>  availableColors() const = 0;
00039 
00043     virtual std::string color() const = 0;
00044 
00048     virtual double opacity() const = 0;
00049 
00054     virtual bool setColor(const std::string & newColor) = 0;
00055 
00061     virtual bool setOpacity(double newOpacity) = 0;
00062 }; // class
00063 }; // namespace AIDA
00064 #endif /* ifndef AIDA_IBRUSHSTYLE_H */

Generated at Tue Feb 18 15:48:23 2003 for AIDA_Interfaces by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001