casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
casa::viewer Namespace Reference

Namespaces

namespace  hidden
namespace  qt
namespace  region

Classes

class  CleanGui
class  Options
class  options_init_
class  Position
 Why not use MDirection? It's limited by valid astronomical coordinates on the sky Hz vs arcsec does not fly. More...
class  DisplayDataOptions
struct  internal_error
struct  runtime_error
class  ds9context
class  ds9lex
 Scanner is a derived class to add some extra function to the scanner class. More...
class  ds9parser
class  ds9writer
class  Preferences
class  QtOptionsKernel
class  RegionToolManager
 the RegionCreator class now has static members which allow for the retrieval of lists of RegionCreator objects for creating each type of region (currently rectangle, polygon, ellipse, and point). More...
class  SlicerGen
class  Ellipse
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
class  Point
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
class  Polygon
class  Polyline
class  PVLine
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
class  QtRegionDock
class  QtRegionSourceKernel
class  QtRegionSource
class  QtRegionSourceFactory
class  QtRegionState
class  QtPVLineState
class  QtSliceCutState
class  QtRegionStats
class  Rectangle
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
class  ImageRegion_state
class  Region
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
class  PointMarkerState
 used to pass point specific marker information (marker type and scaling) to generic region creation routines RegionTool::create(...) More...
class  RegionCreator
class  RegionInfo
class  MsRegionInfo
class  ImageRegionInfo
class  SliceRegionInfo
class  PVLineRegionInfo
class  RegionSourceKernel
class  RegionSource
class  RegionSourceFactory
class  dtorNotifiee
class  dtorNotifier
class  ImageProperties
 This class provides a priori image information derived from the image itself. More...
class  guiwait
class  StatusSink

Typedefs

typedef std::vector< double > Vertex
typedef std::vector< double > Vector
typedef std::string Tag

Enumerations

enum  CoordSystem {
  IMAGE,
  PHYSICAL,
  AMPLIFIER,
  DETECTOR,
  WCS,
  WCSA,
  WCSB,
  WCSC,
  WCSD,
  WCSE,
  WCSF,
  WCSG,
  WCSH,
  WCSI,
  WCSJ,
  WCSK,
  WCSL,
  WCSM,
  WCSN,
  WCSO,
  WCSP,
  WCSQ,
  WCSR,
  WCSS,
  WCST,
  WCSU,
  WCSV,
  WCSW,
  WCSX,
  WCSY,
  WCSZ,
  WCS0
}
enum  SkyFrame {
  FK4,
  FK5,
  ICRS,
  GALACTIC,
  ECLIPTIC,
  NATIVEWCS
}
enum  SkyFormat {
  DEGREES,
  SEXAGESIMAL,
  ARCMIN,
  ARCSEC
}

Functions

std::ostream & operator<< (std::ostream &out, const casa::viewer::Position &pos)
double degToRad (double)
double radToDeg (double)
double parseSEXStr (const char *d)
double parseHMSStr (const char *str)
double parseDMSStr (const char *str)
std::vector< double > coordtovec (double *)
std::vector< double > doubletovec (double x=1, double y=1, double z=1)
MDirection::Types todirection (SkyFrame frame)
const char * tostr (SkyFrame sf)
const char * tostr (CoordSystem cs)
const char * tostr (SkyFormat f)
void linear_to_screen (WorldCanvas *wc_, double, double, int &, int &)
 convert linear coordinates to viewer screen coordinates...
void linear_to_screen (WorldCanvas *wc_, double, double, double, double, int &, int &, int &, int &)
void linear_to_pixel (WorldCanvas *wc_, double, double, double &, double &)
 convert linear coordinates to casa pixel coordinates...
void linear_to_pixel (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void screen_to_linear (WorldCanvas *wc_, int, int, double &, double &)
 convert viewer screen coordinates to linear coordinates...
void screen_to_linear (WorldCanvas *wc_, int, int, int, int, double &, double &, double &, double &)
void linear_to_world (WorldCanvas *wc_, double, double, double &, double &)
 convert linear coordinates to world coordinates...
void linear_to_world (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void world_to_linear (WorldCanvas *wc_, double, double, double &, double &)
 convert world coordinates to linear coordinates...
void world_to_linear (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void pixel_to_world (WorldCanvas *wc_, double, double, double &, double &)
 convert casa pixel coordinates to world coordinates...
void pixel_to_world (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void pixel_to_linear (WorldCanvas *wc_, double, double, double &, double &)
 convert casa pixel coordinates to linear coordinates...
void pixel_to_linear (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void linear_to_j2000 (WorldCanvas *wc_, double, double, double &, double &)
 convert linear coordinates to specific coordinate systems...
void linear_to_j2000 (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void linear_to_b1950 (WorldCanvas *wc_, double, double, double &, double &)
void linear_to_b1950 (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void linear_to_galactic (WorldCanvas *wc_, double, double, double &, double &)
void linear_to_galactic (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void linear_to_ecliptic (WorldCanvas *wc_, double, double, double &, double &)
void linear_to_ecliptic (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
void to_linear (WorldCanvas *, MDirection::Types in_type, double, double, double &, double &)
void to_linear (WorldCanvas *, MDirection::Types in_type, double, double, double, double, double &, double &, double &, double &)
void to_linear_offset (WorldCanvas *, MDirection::Types in_type, double, double, double &, double &)
void screen_offset_to_linear_offset (WorldCanvas *wc_, int, int, double &, double &)
void pixel_offset_to_linear_offset (WorldCanvas *wc_, double, double, double &, double &)
void linear_offset_to_pixel_offset (WorldCanvas *wc_, double, double, double &, double &)
MDirection::Types get_coordinate_type (const CoordinateSystem &wc)
bool create_dir (const char *path, bool recurse=false)
 ensure that path is a directory, returns true upon success false upon failure...
bool create_dir (const std::string &s, bool recurse=false)
std::string time ()
 get the current time
std::string date ()
 get the current data
Casarcgetrc ()
 get viewer's rc file
bool setrcDir (const std::string &)
 set the path for the viewer's casarc file...
std::string to_string (int i)

Variables

Options options
static class
casa::viewer::options_init_ 
_options_init_object_

Typedef Documentation

typedef std::string casa::viewer::Tag

Definition at line 24 of file ds9context.h.

typedef std::vector<double> casa::viewer::Vector

Definition at line 23 of file ds9context.h.

typedef std::vector<double> casa::viewer::Vertex

Definition at line 22 of file ds9context.h.


Enumeration Type Documentation

Enumerator:
IMAGE 
PHYSICAL 
AMPLIFIER 
DETECTOR 
WCS 
WCSA 
WCSB 
WCSC 
WCSD 
WCSE 
WCSF 
WCSG 
WCSH 
WCSI 
WCSJ 
WCSK 
WCSL 
WCSM 
WCSN 
WCSO 
WCSP 
WCSQ 
WCSR 
WCSS 
WCST 
WCSU 
WCSV 
WCSW 
WCSX 
WCSY 
WCSZ 
WCS0 

Definition at line 26 of file ds9context.h.

Enumerator:
DEGREES 
SEXAGESIMAL 
ARCMIN 
ARCSEC 

Definition at line 32 of file ds9context.h.

Enumerator:
FK4 
FK5 
ICRS 
GALACTIC 
ECLIPTIC 
NATIVEWCS 

Definition at line 31 of file ds9context.h.


Function Documentation

std::vector<double> casa::viewer::coordtovec ( double *  )
bool casa::viewer::create_dir ( const char *  path,
bool  recurse = false 
)

ensure that path is a directory, returns true upon success false upon failure...

Referenced by create_dir().

bool casa::viewer::create_dir ( const std::string &  s,
bool  recurse = false 
) [inline]

Definition at line 37 of file Lowlevel.h.

References create_dir().

std::string casa::viewer::date ( )

get the current data

double casa::viewer::degToRad ( double  )
std::vector<double> casa::viewer::doubletovec ( double  x = 1,
double  y = 1,
double  z = 1 
)
MDirection::Types casa::viewer::get_coordinate_type ( const CoordinateSystem &  wc)

get viewer's rc file

void casa::viewer::linear_offset_to_pixel_offset ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::linear_to_b1950 ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::linear_to_b1950 ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::linear_to_ecliptic ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::linear_to_ecliptic ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::linear_to_galactic ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::linear_to_galactic ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::linear_to_j2000 ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert linear coordinates to specific coordinate systems...

void casa::viewer::linear_to_j2000 ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::linear_to_pixel ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert linear coordinates to casa pixel coordinates...

void casa::viewer::linear_to_pixel ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::linear_to_screen ( WorldCanvas *  wc_,
double  ,
double  ,
int &  ,
int &   
)

convert linear coordinates to viewer screen coordinates...

void casa::viewer::linear_to_screen ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
int &  ,
int &  ,
int &  ,
int &   
)
void casa::viewer::linear_to_world ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert linear coordinates to world coordinates...

void casa::viewer::linear_to_world ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
std::ostream& casa::viewer::operator<< ( std::ostream &  out,
const casa::viewer::Position pos 
) [inline]

Definition at line 61 of file Position.h.

References casa::viewer::Position::show().

double casa::viewer::parseDMSStr ( const char *  str)
double casa::viewer::parseHMSStr ( const char *  str)
double casa::viewer::parseSEXStr ( const char *  d)
void casa::viewer::pixel_offset_to_linear_offset ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::pixel_to_linear ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert casa pixel coordinates to linear coordinates...

void casa::viewer::pixel_to_linear ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::pixel_to_world ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert casa pixel coordinates to world coordinates...

void casa::viewer::pixel_to_world ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
double casa::viewer::radToDeg ( double  )
void casa::viewer::screen_offset_to_linear_offset ( WorldCanvas *  wc_,
int  ,
int  ,
double &  ,
double &   
)
void casa::viewer::screen_to_linear ( WorldCanvas *  wc_,
int  ,
int  ,
double &  ,
double &   
)

convert viewer screen coordinates to linear coordinates...

void casa::viewer::screen_to_linear ( WorldCanvas *  wc_,
int  ,
int  ,
int  ,
int  ,
double &  ,
double &  ,
double &  ,
double &   
)
bool casa::viewer::setrcDir ( const std::string &  )

set the path for the viewer's casarc file...

std::string casa::viewer::time ( )

get the current time

void casa::viewer::to_linear ( WorldCanvas *  ,
MDirection::Types  in_type,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::to_linear ( WorldCanvas *  ,
MDirection::Types  in_type,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::to_linear_offset ( WorldCanvas *  ,
MDirection::Types  in_type,
double  ,
double  ,
double &  ,
double &   
)
std::string casa::viewer::to_string ( int  i) [inline]

Definition at line 36 of file StringUtil.h.

MDirection::Types casa::viewer::todirection ( SkyFrame  frame) [inline]
const char* casa::viewer::tostr ( SkyFrame  sf) [inline]

Definition at line 44 of file ds9context.h.

References ECLIPTIC, FK4, FK5, and ICRS.

const char* casa::viewer::tostr ( CoordSystem  cs) [inline]

Definition at line 51 of file ds9context.h.

References AMPLIFIER, DETECTOR, IMAGE, PHYSICAL, WCS, WCSA, WCSB, WCSC, WCSD, WCSE, WCSF, WCSG, WCSH, WCSI, WCSJ, WCSK, WCSL, WCSM, WCSN, WCSO, WCSP, WCSQ, WCSR, WCSS, WCST, WCSU, WCSV, WCSW, WCSX, WCSY, and WCSZ.

const char* casa::viewer::tostr ( SkyFormat  f) [inline]

Definition at line 72 of file ds9context.h.

References ARCMIN, DEGREES, and SEXAGESIMAL.

void casa::viewer::world_to_linear ( WorldCanvas *  wc_,
double  ,
double  ,
double &  ,
double &   
)

convert world coordinates to linear coordinates...

void casa::viewer::world_to_linear ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)

Variable Documentation