source: trunk/src/Cubes/Annotation.hh @ 1441

Last change on this file since 1441 was 869, checked in by MatthewWhiting, 13 years ago

New code to handle annotations in an OO manner. TODO - expand to other annotation types.

File size: 528 bytes
Line 
1
2class Annotation {
3public:
4  Annotation(){};
5 
6  virtual void line(float x1, float x2, float y1, float y2)=0;
7  virtual void circle(float x, float y, float r)=0;
8  virtual void ellipse(float x, float y, float maj, float min, float pa)=0;
9  virtual void text(std::string content)=0;
10  virtual void comment(std::string content)=0;
11  void fileComments(Param &par);
12  virtual void fileHeader()=0;
13  void drawCircle(Detection &obj, FitsHeader &header);
14
15  void std::string comment()=0;
16
17protected:
18  std::ofstream itsFile;
19 
20
21
22};
Note: See TracBrowser for help on using the repository browser.