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

#include <ds9context.h>

Public Member Functions

 ds9context (WorldCanvas *wc, RegionToolManager *mgr)
 
std::shared_ptr< RegionTooltool (region::RegionTypes t)
 
double mapAngleFromRef (double, CoordSystem, SkyFrame)
 
double mapAngleToRef (double, CoordSystem, SkyFrame)
 
double mapLenToRef (double d, CoordSystem sys, SkyFormat format=DEGREES)
 from Base::findFits(globalTile)->mapLenToRef(...) More...
 
Vector mapLenToRef (const Vector &, CoordSystem sys, SkyFormat format=DEGREES)
 from Base::findFits(globalTile)->mapLenToRef(...) More...
 
Vector mapToRef (const Vector &v, CoordSystem sys, SkyFrame format=FK5)
 from Base::findFits(globalTile)->mapToRef(...) More...
 
void resetCompositeMarker ()
 
void createContourPolygonCmd (const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCompassCmd (const Vector &, double, const char *, const char *, int, int, CoordSystem, SkyFrame, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCompositeCmd (const Vector &, double, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createVectCmd (const Vector &, const Vector &, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createVectCmd (const Vector &, double, double, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createProjectionCmd (const Vector &, const Vector &, double, const char *, const char *, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createRulerCmd (const Vector &, const Vector &, CoordSystem, SkyFrame, CoordSystem, SkyFormat, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCircle3dCmd (const Vector &, double, const char *, const char *, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createAnnulusCmd (const Vector &, double, double, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createAnnulusCmd (const Vector &, int, double *, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCpandaCmd (const Vector &, double, double, int, double, double, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCpandaCmd (const Vector &, int, double *, int, double *, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createEllipseAnnulusCmd (const Vector &, const Vector &, const Vector &, int, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createEllipseAnnulusCmd (const Vector &, int, Vector *, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createEpandaCmd (const Vector &, double, double, int, const Vector &, const Vector &, int, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createEpandaCmd (const Vector &, int, double *, int, Vector *, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createLineCmd (const Vector &, const Vector &, int, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createBoxAnnulusCmd (const Vector &, const Vector &, const Vector &, int, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createBoxAnnulusCmd (const Vector &, int, Vector *, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createBpandaCmd (const Vector &, double, double, int, const Vector &, const Vector &, int, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createBpandaCmd (const Vector &, int, double *, int, Vector *, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createTextCmd (const Vector &, double, int, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createBoxCmd (const Vector &, const Vector &, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
More...
 
void createEllipseCmd (const Vector &, const Vector &, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createCircleCmd (const Vector &, double, const char *, int *, int, const char *, const char *, unsigned short, const char *, const std::list< Tag > &)
 
void createPolygonCmd (const Vector &center, const Vector &bb, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createPolygonCmd (const std::list< Vertex > &list, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createCirclePointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createBoxPointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createDiamondPointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createCrossPointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createExPointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createArrowPointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void createBoxCirclePointCmd (const Vector &center, int size, const char *color, int *dash, int width, const char *font, const char *text, unsigned short prop, const char *comment, const std::list< Tag > &tag)
 
void markerDeleteLastCmd ()
 
More...
 

Private Attributes

WorldCanvaswc_
 
RegionToolManagertoolmgr
 

Detailed Description

Definition at line 85 of file ds9context.h.

Constructor & Destructor Documentation

casa::viewer::ds9context::ds9context ( WorldCanvas wc,
RegionToolManager mgr 
)
inline

Definition at line 87 of file ds9context.h.

Member Function Documentation

void casa::viewer::ds9context::createAnnulusCmd ( const Vector ,
double  ,
double  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 136 of file ds9context.h.

void casa::viewer::ds9context::createAnnulusCmd ( const Vector ,
int  ,
double *  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 140 of file ds9context.h.

void casa::viewer::ds9context::createArrowPointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createBoxAnnulusCmd ( const Vector ,
const Vector ,
const Vector ,
int  ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 173 of file ds9context.h.

void casa::viewer::ds9context::createBoxAnnulusCmd ( const Vector ,
int  ,
Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 177 of file ds9context.h.

void casa::viewer::ds9context::createBoxCirclePointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createBoxCmd ( const Vector ,
const Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)


void casa::viewer::ds9context::createBoxPointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createBpandaCmd ( const Vector ,
double  ,
double  ,
int  ,
const Vector ,
const Vector ,
int  ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 182 of file ds9context.h.

void casa::viewer::ds9context::createBpandaCmd ( const Vector ,
int  ,
double *  ,
int  ,
Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 187 of file ds9context.h.

void casa::viewer::ds9context::createCircle3dCmd ( const Vector ,
double  ,
const char *  ,
const char *  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 132 of file ds9context.h.

void casa::viewer::ds9context::createCircleCmd ( const Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
void casa::viewer::ds9context::createCirclePointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createCompassCmd ( const Vector ,
double  ,
const char *  ,
const char *  ,
int  ,
int  ,
CoordSystem  ,
SkyFrame  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 110 of file ds9context.h.

void casa::viewer::ds9context::createCompositeCmd ( const Vector ,
double  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 114 of file ds9context.h.

void casa::viewer::ds9context::createContourPolygonCmd ( const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 107 of file ds9context.h.

void casa::viewer::ds9context::createCpandaCmd ( const Vector ,
double  ,
double  ,
int  ,
double  ,
double  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 143 of file ds9context.h.

void casa::viewer::ds9context::createCpandaCmd ( const Vector ,
int  ,
double *  ,
int  ,
double *  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 147 of file ds9context.h.

void casa::viewer::ds9context::createCrossPointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createDiamondPointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createEllipseAnnulusCmd ( const Vector ,
const Vector ,
const Vector ,
int  ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 151 of file ds9context.h.

void casa::viewer::ds9context::createEllipseAnnulusCmd ( const Vector ,
int  ,
Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 156 of file ds9context.h.

void casa::viewer::ds9context::createEllipseCmd ( const Vector ,
const Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
void casa::viewer::ds9context::createEpandaCmd ( const Vector ,
double  ,
double  ,
int  ,
const Vector ,
const Vector ,
int  ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 160 of file ds9context.h.

void casa::viewer::ds9context::createEpandaCmd ( const Vector ,
int  ,
double *  ,
int  ,
Vector ,
double  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 165 of file ds9context.h.

void casa::viewer::ds9context::createExPointCmd ( const Vector center,
int  size,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createLineCmd ( const Vector ,
const Vector ,
int  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 169 of file ds9context.h.

void casa::viewer::ds9context::createPolygonCmd ( const Vector center,
const Vector bb,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createPolygonCmd ( const std::list< Vertex > &  list,
const char *  color,
int *  dash,
int  width,
const char *  font,
const char *  text,
unsigned short  prop,
const char *  comment,
const std::list< Tag > &  tag 
)
void casa::viewer::ds9context::createProjectionCmd ( const Vector ,
const Vector ,
double  ,
const char *  ,
const char *  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 124 of file ds9context.h.

void casa::viewer::ds9context::createRulerCmd ( const Vector ,
const Vector ,
CoordSystem  ,
SkyFrame  ,
CoordSystem  ,
SkyFormat  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 128 of file ds9context.h.

void casa::viewer::ds9context::createTextCmd ( const Vector ,
double  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 192 of file ds9context.h.

void casa::viewer::ds9context::createVectCmd ( const Vector ,
const Vector ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 117 of file ds9context.h.

void casa::viewer::ds9context::createVectCmd ( const Vector ,
double  ,
double  ,
int  ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char *  ,
unsigned  short,
const char *  ,
const std::list< Tag > &   
)
inline

Definition at line 120 of file ds9context.h.

double casa::viewer::ds9context::mapAngleFromRef ( double  ,
CoordSystem  ,
SkyFrame   
)
inline

Definition at line 92 of file ds9context.h.

double casa::viewer::ds9context::mapAngleToRef ( double  ,
CoordSystem  ,
SkyFrame   
)
inline

Definition at line 95 of file ds9context.h.

double casa::viewer::ds9context::mapLenToRef ( double  d,
CoordSystem  sys,
SkyFormat  format = DEGREES 
)

from Base::findFits(globalTile)->mapLenToRef(...)

Vector casa::viewer::ds9context::mapLenToRef ( const Vector ,
CoordSystem  sys,
SkyFormat  format = DEGREES 
)

from Base::findFits(globalTile)->mapLenToRef(...)

Vector casa::viewer::ds9context::mapToRef ( const Vector v,
CoordSystem  sys,
SkyFrame  format = FK5 
)

from Base::findFits(globalTile)->mapToRef(...)

void casa::viewer::ds9context::markerDeleteLastCmd ( )
inline


Definition at line 240 of file ds9context.h.

void casa::viewer::ds9context::resetCompositeMarker ( )
inline

Definition at line 105 of file ds9context.h.

std::shared_ptr<RegionTool> casa::viewer::ds9context::tool ( region::RegionTypes  t)
inline

Definition at line 89 of file ds9context.h.

References casa::viewer::RegionToolManager::tool(), and toolmgr.

Member Data Documentation

RegionToolManager* casa::viewer::ds9context::toolmgr
private

Definition at line 244 of file ds9context.h.

Referenced by tool().

WorldCanvas* casa::viewer::ds9context::wc_
private

Definition at line 243 of file ds9context.h.


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