casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
casa::viewer::ds9writer Class Reference

#include <ds9writer.h>

Classes

struct  cs
 

Public Member Functions

 ds9writer (const char *output_path, const char *coord_sys)
 
virtual ~ds9writer ()
 
void setCsysSource (const char *)
 
bool open ()
 
bool rectangle (WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
 
bool ellipse (WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
 
bool polygon (WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
 
bool polyline (WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
 
bool point (WorldCanvas *, const std::vector< std::pair< double, double > > &pts)
 

Private Types

typedef std::map< std::string,
std::string > 
str_map_type
 
typedef std::map< std::string, cscoord_map_type
 

Private Attributes

str_map_type defaults
 
coord_map_type coord_systems
 
char * path
 
char * csys
 
char * csys_file_path
 
bool opened
 
FILE * fptr
 

Detailed Description

Definition at line 38 of file ds9writer.h.

Member Typedef Documentation

typedef std::map<std::string,cs> casa::viewer::ds9writer::coord_map_type
private

Definition at line 64 of file ds9writer.h.

typedef std::map<std::string,std::string> casa::viewer::ds9writer::str_map_type
private

Definition at line 50 of file ds9writer.h.

Constructor & Destructor Documentation

casa::viewer::ds9writer::ds9writer ( const char *  output_path,
const char *  coord_sys 
)
virtual casa::viewer::ds9writer::~ds9writer ( )
virtual

Member Function Documentation

bool casa::viewer::ds9writer::ellipse ( WorldCanvas ,
const std::vector< std::pair< double, double > > &  pts 
)
bool casa::viewer::ds9writer::open ( )
bool casa::viewer::ds9writer::point ( WorldCanvas ,
const std::vector< std::pair< double, double > > &  pts 
)
bool casa::viewer::ds9writer::polygon ( WorldCanvas ,
const std::vector< std::pair< double, double > > &  pts 
)
bool casa::viewer::ds9writer::polyline ( WorldCanvas ,
const std::vector< std::pair< double, double > > &  pts 
)
bool casa::viewer::ds9writer::rectangle ( WorldCanvas ,
const std::vector< std::pair< double, double > > &  pts 
)
void casa::viewer::ds9writer::setCsysSource ( const char *  )

Member Data Documentation

coord_map_type casa::viewer::ds9writer::coord_systems
private

Definition at line 65 of file ds9writer.h.

char* casa::viewer::ds9writer::csys
private

Definition at line 67 of file ds9writer.h.

char* casa::viewer::ds9writer::csys_file_path
private

Definition at line 68 of file ds9writer.h.

str_map_type casa::viewer::ds9writer::defaults
private

Definition at line 51 of file ds9writer.h.

FILE* casa::viewer::ds9writer::fptr
private

Definition at line 70 of file ds9writer.h.

bool casa::viewer::ds9writer::opened
private

Definition at line 69 of file ds9writer.h.

char* casa::viewer::ds9writer::path
private

Definition at line 66 of file ds9writer.h.


The documentation for this class was generated from the following file: