summaryrefslogtreecommitdiffstats
path: root/tksao/frame/circle.h
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/circle.h')
-rw-r--r--tksao/frame/circle.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/tksao/frame/circle.h b/tksao/frame/circle.h
new file mode 100644
index 0000000..a8a3c28
--- /dev/null
+++ b/tksao/frame/circle.h
@@ -0,0 +1,47 @@
+// Copyright (C) 1999-2016
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __circle_h__
+#define __circle_h__
+
+#include "baseellipse.h"
+
+class Circle : public BaseEllipse {
+ protected:
+ void listNonCel(FitsImage*, ostream&, Coord::CoordSystem);
+
+public:
+ Circle(Base* p, const Vector& ctr, double r);
+ Circle(Base* p, const Vector& ctr,
+ double r,
+ const char* clr, int *dsh,
+ int wth, const char* fnt, const char* txt,
+ unsigned short prop, const char* cmt,
+ const List<Tag>& tg, const List<CallBack>& cb);
+ Circle(const Circle&);
+
+ virtual Marker* dup() {return new Circle(*this);}
+ void edit(const Vector&, int);
+
+ void rotateBegin() {}
+ void rotate(const Vector& v, int h) {}
+ void rotateEnd() {}
+
+ void analysis(AnalysisTask, int);
+ void analysisHistogram(char*, char*, int);
+ void analysisPlot3d(char*, char*, Coord::CoordSystem, Marker::AnalysisMethod);
+ void analysisStats(Coord::CoordSystem, Coord::SkyFrame sky);
+
+ void list(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat, int, int);
+ void listXML(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat);
+ virtual void listCiao(ostream&, Coord::CoordSystem, int);
+ virtual void listSAOtng(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat, int);
+ virtual void listPros(ostream&, Coord::CoordSystem, Coord::SkyFrame, Coord::SkyFormat, int);
+ virtual void listSAOimage(ostream&, int);
+
+ // special composite funtionality
+ void setComposite(const Matrix&, double);
+};
+
+#endif