Rev 1221 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
30 | Werner | 1 | #ifndef ImageStamp_H |
2 | #define ImageStamp_H |
||
3 | Werner | 3 | |
4 | #include <QImage> |
||
5 | |||
30 | Werner | 6 | class ImageStamp |
3 | Werner | 7 | { |
8 | public: |
||
30 | Werner | 9 | ImageStamp() {} |
10 | ImageStamp(const QString& filename) { load(filename); } |
||
3 | Werner | 11 | bool load(const QString& filename); |
12 | float getXY(const float x, const float y); |
||
13 | float get(const float r, const float phi); |
||
14 | void setScale(const float radius, const float intensity) { rScale=radius; hScale=intensity; } |
||
15 | private: |
||
16 | QImage mImage; |
||
17 | float rScale; |
||
18 | float hScale; |
||
19 | |||
20 | }; |
||
21 | |||
30 | Werner | 22 | #endif // ImageStamp_H |