1 |
// -*- C++ -*- |
2 |
// AID-GENERATED |
3 |
// ========================================================================= |
4 |
// This class was generated by AID - Abstract Interface Definition |
5 |
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. |
6 |
// ========================================================================= |
7 |
#ifndef AIDA_IPLOTTERLAYOUT_H |
8 |
#define AIDA_IPLOTTERLAYOUT_H 1 |
9 |
|
10 |
// This file is part of the AIDA library |
11 |
// Copyright (C) 2002 by the AIDA team. All rights reserved. |
12 |
// This library is free software and under the terms of the |
13 |
// GNU Library General Public License described in the LGPL.txt |
14 |
|
15 |
#include <string> |
16 |
#include <vector> |
17 |
|
18 |
namespace AIDA { |
19 |
|
20 |
/** |
21 |
* Interface to permit customization of the layout |
22 |
* of scene objects. |
23 |
* |
24 |
* @author The AIDA team (http://aida.freehep.org/) |
25 |
* |
26 |
*/ |
27 |
|
28 |
class IPlotterLayout { |
29 |
|
30 |
public: |
31 |
/// Destructor. |
32 |
virtual ~IPlotterLayout() { /* nop */; } |
33 |
|
34 |
/** |
35 |
* Return to original (construction time) state. Explicitly |
36 |
* set parameters will be set to defaults and may be overridden |
37 |
*/ |
38 |
virtual void reset() = 0; |
39 |
|
40 |
/** |
41 |
* Set a parameter. |
42 |
* @param paramName Name of the parameter. |
43 |
* @param options String of options. |
44 |
* @return false if parameter (or its options) unknown or invalid. |
45 |
*/ |
46 |
virtual bool setParameter(const std::string & paramName, double paramValue) = 0; |
47 |
|
48 |
/** |
49 |
* Get parameter value. |
50 |
*/ |
51 |
virtual double parameterValue(const std::string & paramName) = 0; |
52 |
|
53 |
/** |
54 |
* Get list of the available parameters (implementation-dependent) |
55 |
*/ |
56 |
virtual std::vector<std::string> availableParameters() const = 0; |
57 |
}; // class |
58 |
} // namespace AIDA |
59 |
#endif /* ifndef AIDA_IPLOTTERLAYOUT_H */ |