28 #ifndef DISPLAY_DS9_DS9WRITER_H_
29 #define DISPLAY_DS9_DS9WRITER_H_
40 ds9writer(
const char *output_path,
const char *coord_sys );
48 bool point(
WorldCanvas *,
const std::vector<std::pair<double,double> > &pts );
59 const std::string
ds9;
ds9writer(const char *output_path, const char *coord_sys)
cs(const char *ds9_type, casacore::MDirection::Types t, from_linear_2_type func2, from_linear_4_type func4)
void setCsysSource(const char *)
coord_map_type coord_systems
std::map< std::string, cs > coord_map_type
bool polyline(WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
std::map< std::string, std::string > str_map_type
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
bool ellipse(WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
const casacore::MDirection::Types type
void(* from_linear_4_type)(WorldCanvas *wc, double, double, double, double, double &, double &, double &, double &)
void(* from_linear_2_type)(WorldCanvas *wc, double, double, double &, double &)
bool point(WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
Implementation of drawing in world coordinates on top of a PixelCanvas.
bool rectangle(WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
bool polygon(WorldCanvas *, const std::vector< std::pair< double, double > > &pts)