casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Member Functions | Private Types | Private Attributes
casa::viewer::ds9writer Class Reference

#include <ds9writer.h>

List of all members.

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::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

Definition at line 65 of file ds9writer.h.

Definition at line 67 of file ds9writer.h.

Definition at line 68 of file ds9writer.h.

Definition at line 51 of file ds9writer.h.

Definition at line 70 of file ds9writer.h.

Definition at line 69 of file ds9writer.h.

Definition at line 66 of file ds9writer.h.


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