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

Contains common enums, constants, and methods for DS9 files. More...

#include <DS9FileReader.h>

Public Types

enum  CoordinateUnit {
  Degrees,
  Radians,
  PhysicalPixels,
  ImagePixels,
  HMS,
  DMS,
  ArcSec,
  ArcMin,
  UNSET
}
 Units. More...
 
enum  CoordinateSystem {
  Physical,
  Image,
  FK4,
  FK5,
  Galactic,
  Ecliptic,
  Linear,
  Amplifier,
  Detector
}
 casacore::Coordinate systems. More...
 
enum  RegionType {
  Circle,
  Annulus,
  Ellipse,
  EllipseAnnulus,
  Box,
  BoxAnnulus,
  Polygon,
  Line,
  Vector,
  Text,
  Ruler,
  CirclePoint,
  BoxPoint,
  DiamondPoint,
  CrossPoint,
  XPoint,
  ArrowPoint,
  BoxCirclePoint,
  Compass,
  Projection,
  Panda,
  EllipticalPanda,
  BoxPanda,
  Composite
}
 Regions. More...
 

Static Public Member Functions

static CoordinateUnit coordinateUnit (const casacore::String &unit)
 
static CoordinateSystem defaultCoordinateSystem ()
 
static QStringList coordinateSystemFirstWords ()
 
static CoordinateSystem coordinateSystem (const QString &cs)
 
static QString coordinateSystem (CoordinateSystem c)
 
static QStringList regionFirstWords ()
 
static QString regionType (RegionType type)
 
static QString pointType (RegionType type)
 

Static Public Attributes

static const casacore::String FILE_ARCMIN
 
static const casacore::String FILE_ARCSEC
 
static const casacore::String FILE_DEGREES
 
static const casacore::String FILE_DELIMITER
 
static const casacore::String FILE_DMS_D
 
static const casacore::String FILE_DMS_M
 
static const casacore::String FILE_DMS_S
 
static const casacore::String FILE_HMS_H
 
static const casacore::String FILE_HMS_M
 
static const casacore::String FILE_HMS_S
 
static const casacore::String FILE_IMAGE_PIXELS
 
static const casacore::String FILE_PHYSICAL_PIXELS
 
static const casacore::String FILE_RADIANS
 
static const QRegExp REGEXP_HDMS
 
static const QRegExp REGEXP_HMS
 
static const QRegExp REGEXP_DMS
 
static const QRegExp REGEXP_NUMSYS
 
static const QString FILE_AMPLIFIER
 
static const QString FILE_B1950
 
static const QString FILE_DETECTOR
 
static const QString FILE_ECLIPTIC
 
static const QString FILE_FK4
 
static const QString FILE_FK5
 
static const QString FILE_GALACTIC
 
static const QString FILE_ICRS
 
static const QString FILE_IMAGE
 
static const QString FILE_J2000
 
static const QString FILE_LINEAR
 
static const QString FILE_PHYSICAL
 
static const QString FILE_ANNULUS
 region types, first word More...
 
static const QString FILE_ARROW
 
static const QString FILE_BOX
 
static const QString FILE_BOXCIRCLE
 
static const QString FILE_BPANDA
 
static const QString FILE_CIRCLE
 
static const QString FILE_COMPASS
 
static const QString FILE_COMPOSITE
 
static const QString FILE_CROSS
 
static const QString FILE_DIAMOND
 
static const QString FILE_ELLIPSE
 
static const QString FILE_EPANDA
 
static const QString FILE_LINE
 
static const QString FILE_PANDA
 
static const QString FILE_POINT
 
static const QString FILE_POLYGON
 
static const QString FILE_PROJECTION
 
static const QString FILE_RULER
 
static const QString FILE_TEXT
 
static const QString FILE_VECTOR
 
static const QString FILE_X
 
static const int MARKER_SIZE
 DS9 defaults. More...
 
static const int ARROW_SIZE
 
static const QString FILE_COMMENT
 Miscellaneous. More...
 
static const QString FILE_COMPOSITE_OR
 
static const QString FILE_EQUAL
 
static const QString FILE_GLOBAL
 
static const QString FILE_LINESEP
 
static const QString FILE_MINUS
 
static const QString FILE_PLUS
 
static const QString FILE_TEXT_END1
 
static const QString FILE_TEXT_END2
 
static const QString FILE_TEXT_END3
 
static const QString FILE_TEXT_START1
 
static const QString FILE_TEXT_START2
 
static const QString FILE_TEXT_START3
 

Detailed Description

Contains common enums, constants, and methods for DS9 files.

Definition at line 41 of file DS9FileReader.h.

Member Enumeration Documentation

casacore::Coordinate systems.

Enumerator
Physical 
Image 
FK4 
FK5 
Galactic 
Ecliptic 
Linear 
Amplifier 
Detector 

Definition at line 84 of file DS9FileReader.h.

Units.

Enumerator
Degrees 
Radians 
PhysicalPixels 
ImagePixels 
HMS 
DMS 
ArcSec 
ArcMin 
UNSET 

Definition at line 45 of file DS9FileReader.h.

Regions.

Enumerator
Circle 
Annulus 
Ellipse 
EllipseAnnulus 
Box 
BoxAnnulus 
Polygon 
Line 
Vector 
Text 
Ruler 
CirclePoint 
BoxPoint 
DiamondPoint 
CrossPoint 
XPoint 
ArrowPoint 
BoxCirclePoint 
Compass 
Projection 
Panda 
EllipticalPanda 
BoxPanda 
Composite 

Definition at line 160 of file DS9FileReader.h.

Member Function Documentation

static CoordinateSystem casa::DS9::coordinateSystem ( const QString &  cs)
inlinestatic
static QString casa::DS9::coordinateSystem ( CoordinateSystem  c)
inlinestatic
static QStringList casa::DS9::coordinateSystemFirstWords ( )
inlinestatic
static CoordinateUnit casa::DS9::coordinateUnit ( const casacore::String unit)
inlinestatic
static CoordinateSystem casa::DS9::defaultCoordinateSystem ( )
inlinestatic

Definition at line 89 of file DS9FileReader.h.

References Physical.

Referenced by coordinateSystem(), and coordinateSystem().

static QString casa::DS9::pointType ( RegionType  type)
inlinestatic
static QStringList casa::DS9::regionFirstWords ( )
inlinestatic
static QString casa::DS9::regionType ( RegionType  type)
inlinestatic

Member Data Documentation

const int casa::DS9::ARROW_SIZE
static

Definition at line 281 of file DS9FileReader.h.

const QString casa::DS9::FILE_AMPLIFIER
static

Definition at line 93 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_ANNULUS
static

region types, first word

Definition at line 168 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const casacore::String casa::DS9::FILE_ARCMIN
static

Definition at line 50 of file DS9FileReader.h.

Referenced by coordinateUnit().

const casacore::String casa::DS9::FILE_ARCSEC
static

Definition at line 51 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_ARROW
static

Definition at line 169 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const QString casa::DS9::FILE_B1950
static

Definition at line 94 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_BOX
static

Definition at line 170 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const QString casa::DS9::FILE_BOXCIRCLE
static

Definition at line 171 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const QString casa::DS9::FILE_BPANDA
static

Definition at line 172 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_CIRCLE
static

Definition at line 173 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const QString casa::DS9::FILE_COMMENT
static

Miscellaneous.

Definition at line 286 of file DS9FileReader.h.

const QString casa::DS9::FILE_COMPASS
static

Definition at line 174 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_COMPOSITE
static

Definition at line 175 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_COMPOSITE_OR
static

Definition at line 287 of file DS9FileReader.h.

const QString casa::DS9::FILE_CROSS
static

Definition at line 176 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const casacore::String casa::DS9::FILE_DEGREES
static

Definition at line 52 of file DS9FileReader.h.

Referenced by coordinateUnit().

const casacore::String casa::DS9::FILE_DELIMITER
static

Definition at line 53 of file DS9FileReader.h.

const QString casa::DS9::FILE_DETECTOR
static

Definition at line 95 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_DIAMOND
static

Definition at line 177 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const casacore::String casa::DS9::FILE_DMS_D
static

Definition at line 54 of file DS9FileReader.h.

const casacore::String casa::DS9::FILE_DMS_M
static

Definition at line 55 of file DS9FileReader.h.

const casacore::String casa::DS9::FILE_DMS_S
static

Definition at line 56 of file DS9FileReader.h.

const QString casa::DS9::FILE_ECLIPTIC
static

Definition at line 96 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_ELLIPSE
static

Definition at line 178 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_EPANDA
static

Definition at line 179 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_EQUAL
static

Definition at line 288 of file DS9FileReader.h.

const QString casa::DS9::FILE_FK4
static

Definition at line 97 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_FK5
static

Definition at line 98 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_GALACTIC
static

Definition at line 99 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_GLOBAL
static

Definition at line 289 of file DS9FileReader.h.

const casacore::String casa::DS9::FILE_HMS_H
static

Definition at line 57 of file DS9FileReader.h.

const casacore::String casa::DS9::FILE_HMS_M
static

Definition at line 58 of file DS9FileReader.h.

const casacore::String casa::DS9::FILE_HMS_S
static

Definition at line 59 of file DS9FileReader.h.

const QString casa::DS9::FILE_ICRS
static

Definition at line 100 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_IMAGE
static

Definition at line 101 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const casacore::String casa::DS9::FILE_IMAGE_PIXELS
static

Definition at line 60 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_J2000
static

Definition at line 102 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_LINE
static

Definition at line 180 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_LINEAR
static

Definition at line 103 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_LINESEP
static

Definition at line 290 of file DS9FileReader.h.

const QString casa::DS9::FILE_MINUS
static

Definition at line 291 of file DS9FileReader.h.

const QString casa::DS9::FILE_PANDA
static

Definition at line 181 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_PHYSICAL
static

Definition at line 104 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const casacore::String casa::DS9::FILE_PHYSICAL_PIXELS
static

Definition at line 61 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_PLUS
static

Definition at line 292 of file DS9FileReader.h.

const QString casa::DS9::FILE_POINT
static

Definition at line 182 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_POLYGON
static

Definition at line 183 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_PROJECTION
static

Definition at line 184 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const casacore::String casa::DS9::FILE_RADIANS
static

Definition at line 62 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_RULER
static

Definition at line 185 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_TEXT
static

Definition at line 186 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_TEXT_END1
static

Definition at line 293 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_END2
static

Definition at line 294 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_END3
static

Definition at line 295 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START1
static

Definition at line 296 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START2
static

Definition at line 297 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START3
static

Definition at line 298 of file DS9FileReader.h.

const QString casa::DS9::FILE_VECTOR
static

Definition at line 187 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_X
static

Definition at line 188 of file DS9FileReader.h.

Referenced by pointType(), regionFirstWords(), and regionType().

const int casa::DS9::MARKER_SIZE
static

DS9 defaults.

Definition at line 280 of file DS9FileReader.h.

Referenced by casa::DS9Region::defaultStringValue().

const QRegExp casa::DS9::REGEXP_DMS
static

Definition at line 77 of file DS9FileReader.h.

const QRegExp casa::DS9::REGEXP_HDMS
static

Definition at line 75 of file DS9FileReader.h.

const QRegExp casa::DS9::REGEXP_HMS
static

Definition at line 76 of file DS9FileReader.h.

const QRegExp casa::DS9::REGEXP_NUMSYS
static

Definition at line 78 of file DS9FileReader.h.


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