// Copyright (C) 1999-2018 // Smithsonian Astrophysical Observatory, Cambridge, MA, USA // For conditions of distribution and use, see copyright notice in "copyright" #ifndef __box_h__ #define __box_h__ #include "basebox.h" class Box : public BaseBox { protected: int fill_; protected: void renderXDraw(Drawable, GC, XPoint*, RenderMode); void renderPSDraw(int); #ifdef MAC_OSX_TK void renderMACOSXDraw(Vector*); #endif #ifdef __WIN32 void renderWIN32Draw(Vector*); #endif void listNonCel(FitsImage*, ostream&, Coord::CoordSystem); public: Box(Base* p, const Vector& ctr, const Vector& seg, double ang, int fill); Box(Base* p, const Vector& ctr, const Vector& seg, double ang, int fill, const char* clr, int* dsh, int wth, const char* fnt, const char* txt, unsigned short prop, const char* cmt, const List& tg, const List& cb); Box(const Box&); virtual Marker* dup() {return new Box(*this);} void editBegin(int); void edit(const Vector&, int); void editEnd(); void fill(int ff) {fill_ = ff;} int getFill() {return fill_;} 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); virtual void listPost(ostream&, 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); }; #endif