Ignore:
Timestamp:
Dec 22, 1999, 5:57:10 PM (26 years ago)
Author:
ansari
Message:

add loadobj method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsioserver.h

    r663 r689  
    1111#include "cimage.h"
    1212#include "dvlist.h"
    13 
     13#include "anydataobj.h"
    1414#include <fitsio.h>   /* entre <> pour que mkmflib fonctionne correctement  */
    1515
     
    2121public :
    2222
    23   FitsIoServer() : FITS_tab_typ_(0),i_4tab_(NULL),r_4tab_(NULL),r_8tab_(NULL) {;}
     23  FitsIoServer() : FITS_tab_typ_(0),i_4tab_(NULL),r_4tab_(NULL),r_8tab_(NULL)
     24  {;}
    2425 ~FitsIoServer()
    2526   {
     
    5657 void Mollweide_picture_projection(SphericalMap<double>& sph, char flnm[]);
    5758 void picture(LocalMap<double>& lcm, char flnm[]);
    58 
    59 
    60 
    6159 void readheader(char flnm[]);
    6260 
     61 virtual AnyDataObj* loadobj(char flnm[],int hdunum = 1);
     62
    6363 private :
    64  
    6564
    6665 // creer, ecrire une imageformat FITS, a partir des tableaux de donnees
    6766 // dtab_, ftab_ prealablement remplis
    68  void planck_write_img(char flnm[],int naxis,int n1,int n2,int n3,DVList& dvl);
     67 void planck_write_img(char flnm[],int naxis,int n1,int n2,int n3,DVList &dvl);
    6968
    70  void planck_read_img(char flnm[],long& naxis,int& n1,int& n2,int& n3,DVList& dvl);
     69 void planck_read_img(char flnm[],int &naxis,int &n1,int &n2,int &n3,DVList &dvl);
    7170 void planck_read_bntbl(char flnm[], int hdunum, int& npixels, DVList& dvl);
    7271 void planck_write_bntbl(char flnm[], int npixels, char typeOfContent[], char extname[], char comment1[], DVList& dvl);
Note: See TracChangeset for help on using the changeset viewer.