wtbarr Struct Reference

Extraction of coordinate lookup tables from BINTABLE. More...

#include <getwcstab.h>


Data Fields

int i
int m
int kind
char extnam [72]
int extver
int extlev
char ttype [72]
long row
int ndim
int * dimlen
double ** arrayp


Detailed Description

Function wcstab(), which is invoked automatically by wcspih(), sets up an array of wtbarr structs to assist in extracting coordinate lookup tables from a binary table extension (BINTABLE) and copying them into the tabprm structs stored in wcsprm. Refer to the usage notes for wcspih() and wcstab() in wcshdr.h, and also the prologue to tab.h.

For C++ usage, because of a name space conflict with the wtbarr typedef defined in CFITSIO header fitsio.h, the wtbarr struct is renamed to wtbarr_s by preprocessor macro substitution with scope limited to wcs.h itself.


Field Documentation

int wtbarr::i

(Given) Image axis number.

int wtbarr::m

(Given) wcstab array axis number for index vectors.

(Given) Character identifying the wcstab array type:

  • c: coordinate array,
  • i: index vector.

(Given) EXTNAME identifying the binary table extension.

(Given) EXTVER identifying the binary table extension.

(Given) EXTLEV identifying the binary table extension.

(Given) TTYPEn identifying the column of the binary table that contains the wcstab array.

(Given) Table row number.

(Given) Expected dimensionality of the wcstab array.

(Given) Address of the first element of an array of int of length ndim into which the wcstab array axis lengths are to be written.

double ** wtbarr::arrayp

(Given) Pointer to an array of double which is to be allocated by the user and into which the wcstab array is to be written.


Generated on Mon Feb 6 10:41:58 2012 for WCSLIB 4.10 by  doxygen 1.5.6