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

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

#include <DS9FileReader.h>

List of all members.

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
}
 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 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 String FILE_ARCMIN
static const String FILE_ARCSEC
static const String FILE_DEGREES
static const String FILE_DELIMITER
static const String FILE_DMS_D
static const String FILE_DMS_M
static const String FILE_DMS_S
static const String FILE_HMS_H
static const String FILE_HMS_M
static const String FILE_HMS_S
static const String FILE_IMAGE_PIXELS
static const String FILE_PHYSICAL_PIXELS
static const 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
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.
static const int ARROW_SIZE
static const QString FILE_COMMENT
 Miscellaneous.
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

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 148 of file DS9FileReader.h.


Member Function Documentation

static CoordinateSystem casa::DS9::coordinateSystem ( const QString &  cs) [inline, static]
static QString casa::DS9::coordinateSystem ( CoordinateSystem  c) [inline, static]
static QStringList casa::DS9::coordinateSystemFirstWords ( ) [inline, static]
static CoordinateUnit casa::DS9::coordinateUnit ( const String unit) [inline, static]

Definition at line 89 of file DS9FileReader.h.

References Physical.

Referenced by coordinateSystem(), and coordinateSystem().

static QString casa::DS9::pointType ( RegionType  type) [inline, static]
static QStringList casa::DS9::regionFirstWords ( ) [inline, static]
static QString casa::DS9::regionType ( RegionType  type) [inline, static]

Member Data Documentation

const int casa::DS9::ARROW_SIZE [static]

Definition at line 236 of file DS9FileReader.h.

const QString casa::DS9::FILE_AMPLIFIER [static]

Definition at line 91 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_ANNULUS [static]

region types, first word

Definition at line 156 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

Definition at line 50 of file DS9FileReader.h.

Referenced by coordinateUnit().

Definition at line 51 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_ARROW [static]

Definition at line 157 of file DS9FileReader.h.

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

const QString casa::DS9::FILE_B1950 [static]

Definition at line 92 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_BOX [static]

Definition at line 158 of file DS9FileReader.h.

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

const QString casa::DS9::FILE_BOXCIRCLE [static]

Definition at line 159 of file DS9FileReader.h.

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

const QString casa::DS9::FILE_BPANDA [static]

Definition at line 160 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_CIRCLE [static]

Definition at line 161 of file DS9FileReader.h.

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

const QString casa::DS9::FILE_COMMENT [static]

Miscellaneous.

Definition at line 241 of file DS9FileReader.h.

const QString casa::DS9::FILE_COMPASS [static]

Definition at line 162 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_COMPOSITE [static]

Definition at line 163 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_COMPOSITE_OR [static]

Definition at line 242 of file DS9FileReader.h.

const QString casa::DS9::FILE_CROSS [static]

Definition at line 164 of file DS9FileReader.h.

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

Definition at line 52 of file DS9FileReader.h.

Referenced by coordinateUnit().

Definition at line 53 of file DS9FileReader.h.

const QString casa::DS9::FILE_DETECTOR [static]

Definition at line 93 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_DIAMOND [static]

Definition at line 165 of file DS9FileReader.h.

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

const String casa::DS9::FILE_DMS_D [static]

Definition at line 54 of file DS9FileReader.h.

const String casa::DS9::FILE_DMS_M [static]

Definition at line 55 of file DS9FileReader.h.

const 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 94 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_ELLIPSE [static]

Definition at line 166 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_EPANDA [static]

Definition at line 167 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_EQUAL [static]

Definition at line 243 of file DS9FileReader.h.

const QString casa::DS9::FILE_FK4 [static]

Definition at line 95 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_FK5 [static]

Definition at line 96 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_GALACTIC [static]

Definition at line 97 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_GLOBAL [static]

Definition at line 244 of file DS9FileReader.h.

const String casa::DS9::FILE_HMS_H [static]

Definition at line 57 of file DS9FileReader.h.

const String casa::DS9::FILE_HMS_M [static]

Definition at line 58 of file DS9FileReader.h.

const 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 98 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_IMAGE [static]

Definition at line 99 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

Definition at line 60 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_J2000 [static]

Definition at line 100 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_LINE [static]

Definition at line 168 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_LINEAR [static]

Definition at line 101 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

const QString casa::DS9::FILE_LINESEP [static]

Definition at line 245 of file DS9FileReader.h.

const QString casa::DS9::FILE_MINUS [static]

Definition at line 246 of file DS9FileReader.h.

const QString casa::DS9::FILE_PANDA [static]

Definition at line 169 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_PHYSICAL [static]

Definition at line 102 of file DS9FileReader.h.

Referenced by coordinateSystem(), and coordinateSystemFirstWords().

Definition at line 61 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_PLUS [static]

Definition at line 247 of file DS9FileReader.h.

const QString casa::DS9::FILE_POINT [static]

Definition at line 170 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_POLYGON [static]

Definition at line 171 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_PROJECTION [static]

Definition at line 172 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

Definition at line 62 of file DS9FileReader.h.

Referenced by coordinateUnit().

const QString casa::DS9::FILE_RULER [static]

Definition at line 173 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_TEXT [static]

Definition at line 174 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_TEXT_END1 [static]

Definition at line 248 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_END2 [static]

Definition at line 249 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_END3 [static]

Definition at line 250 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START1 [static]

Definition at line 251 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START2 [static]

Definition at line 252 of file DS9FileReader.h.

const QString casa::DS9::FILE_TEXT_START3 [static]

Definition at line 253 of file DS9FileReader.h.

const QString casa::DS9::FILE_VECTOR [static]

Definition at line 175 of file DS9FileReader.h.

Referenced by regionFirstWords(), and regionType().

const QString casa::DS9::FILE_X [static]

Definition at line 176 of file DS9FileReader.h.

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

const int casa::DS9::MARKER_SIZE [static]

DS9 defaults.

Definition at line 235 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: