casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
casa::viewer Namespace Reference

Namespaces

 dvo
 
 hidden
 
 qt
 
 region
 

Classes

class  RangeLimiter
 class for applying a range limit to values... More...
 
class  filter
 
class  ds9context
 
class  ViewerPreferences
 
class  RegionSourceKernel
 
class  RegionSource
 
class  Position
 Why not use casacore::MDirection? It's limited by valid astronomical coordinates on the sky Hz vs arcsec does not fly. 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  QtRegionDock
 
class  ds9parser
 
class  Polyline
 
class  CleanGui
 
class  RegionInfo
 
class  MsRegionInfo
 
class  ImageRegionInfo
 
class  SliceRegionInfo
 
class  PVLineRegionInfo
 
class  dtorNotifiee
 
class  dtorNotifier
 
class  guiwait
 
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  Polygon
 
class  Options
 
class  options_init_
 
class  QtRegionSourceKernel
 
class  QtRegionSource
 
class  DisplayDataOptions
 
class  ds9writer
 
class  PVLine
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
 
class  QtRegionStats
 
class  Rectangle
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
 
class  SlicerGen
 
class  RegionCreator
 
class  Ellipse
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
 
struct  internal_error
 
struct  runtime_error
 
class  ImageProperties
 This class provides a priori image information derived from the image itself. More...
 
class  Point
 All regions are specified in "linear coordinates", not "pixel coordinates". More...
 
class  RegionSourceFactory
 
class  QtRegionState
 
class  QtPVLineState
 
class  QtSliceCutState
 
class  QtPointState
 
class  QtOptionsKernel
 
class  ds9lex
 Scanner is a derived class to add some extra function to the scanner class. More...
 
class  QtRegionSourceFactory
 
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

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)
 
casacore::MDirection::Types todirection (SkyFrame frame)
 
const char * tostr (SkyFrame sf)
 
const char * tostr (CoordSystem cs)
 
const char * tostr (SkyFormat f)
 
std::ostream & operator<< (std::ostream &out, const casa::viewer::Position &pos)
 
std::string to_string (int i)
 
void linear_to_screen (WorldCanvas *wc_, double, double, int &, int &)
 convert linear coordinates to viewer screen coordinates... More...
 
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... More...
 
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... More...
 
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... More...
 
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... More...
 
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... More...
 
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... More...
 
void pixel_to_linear (WorldCanvas *wc_, double, double, double, double, double &, double &, double &, double &)
 
void world_to_screen (WorldCanvas *wc_, double, double, int &, int &)
 convert world coordantes to screen coordinates More...
 
void world_to_screen (WorldCanvas *wc_, double, double, double, double, int &, int &, int &, int &)
 
void world_to_pixel (WorldCanvas *wc_, double, double, int &, int &)
 convert world to pixel coordinates More...
 
void world_to_pixel (WorldCanvas *wc_, double, double, double, double, int &, int &, int &, int &)
 
void linear_to_j2000 (WorldCanvas *wc_, double, double, double &, double &)
 convert linear coordinates to specific coordinate systems... More...
 
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 *, casacore::MDirection::Types in_type, double, double, double &, double &)
 
void to_linear (WorldCanvas *, casacore::MDirection::Types in_type, double, double, double, double, double &, double &, double &, double &)
 
void to_linear_offset (WorldCanvas *, casacore::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 &)
 
casacore::MDirection::Types get_coordinate_type (const DisplayCoordinateSystem &wc)
 
bool create_dir (const char *path, bool recurse=false)
 ensure that path is a directory, returns true upon success false upon failure... More...
 
bool create_dir (const std::string &s, bool recurse=false)
 
std::string time ()
 get the current time More...
 
std::string date ()
 get the current data More...
 
casacore::Casarcgetrc ()
 get viewer's rc file More...
 
bool setrcDir (const std::string &)
 set the path for the viewer's casarc file... More...
 
std::ostream & operator<< (std::ostream &os, const casa::DisplayCoordinateSystem &cs)
 

Variables

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

Typedef Documentation

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

Definition at line 25 of file ds9context.h.

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

Definition at line 24 of file ds9context.h.

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

Definition at line 23 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 27 of file ds9context.h.

Enumerator
DEGREES 
SEXAGESIMAL 
ARCMIN 
ARCSEC 

Definition at line 34 of file ds9context.h.

Enumerator
FK4 
FK5 
ICRS 
GALACTIC 
ECLIPTIC 
NATIVEWCS 

Definition at line 33 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 
)
casacore::MDirection::Types casa::viewer::get_coordinate_type ( const DisplayCoordinateSystem &  wc)
casacore::Casarc& casa::viewer::getrc ( )

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 71 of file Position.h.

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

std::ostream& casa::viewer::operator<< ( std::ostream &  os,
const casa::DisplayCoordinateSystem cs 
)
inline

Definition at line 159 of file ImageProperties.h.

References casa::operator<<().

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 *  ,
casacore::MDirection::Types  in_type,
double  ,
double  ,
double &  ,
double &   
)
void casa::viewer::to_linear ( WorldCanvas *  ,
casacore::MDirection::Types  in_type,
double  ,
double  ,
double  ,
double  ,
double &  ,
double &  ,
double &  ,
double &   
)
void casa::viewer::to_linear_offset ( WorldCanvas *  ,
casacore::MDirection::Types  in_type,
double  ,
double  ,
double &  ,
double &   
)
std::string casa::viewer::to_string ( int  i)
inline
casacore::MDirection::Types casa::viewer::todirection ( SkyFrame  frame)
inline
const char* casa::viewer::tostr ( SkyFrame  sf)
inline

Definition at line 51 of file ds9context.h.

References ECLIPTIC, FK4, FK5, and ICRS.

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

Definition at line 58 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 79 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 &   
)
void casa::viewer::world_to_pixel ( WorldCanvas *  wc_,
double  ,
double  ,
int &  ,
int &   
)

convert world to pixel coordinates

void casa::viewer::world_to_pixel ( WorldCanvas *  wc_,
double  ,
double  ,
double  ,
double  ,
int &  ,
int &  ,
int &  ,
int &   
)
void casa::viewer::world_to_screen ( WorldCanvas *  wc_,
double  ,
double  ,
int &  ,
int &   
)

convert world coordantes to screen coordinates

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

Variable Documentation

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