Changeset 2198 in Sophya for trunk/SophyaLib/SkyMap/localmap.h


Ignore:
Timestamp:
Sep 24, 2002, 4:05:46 PM (23 years ago)
Author:
lemeur
Message:

toilette d'ete

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/localmap.h

    r2056 r2198  
    3939
    4040LocalMap();
     41LocalMap(int_4 nx, int_4 ny);
    4142LocalMap(int_4 nx, int_4 ny, double angleX,double angleY, double theta0,double phi0,int_4 x0,int_4 y0,double angle=0.);
    4243LocalMap(int_4 nx, int_4 ny, double angleX,double angleY, double theta0,double phi0, double angle=0.);
     
    8687void ReSize(int_4 nx, int_4 ny);
    8788
     89void SetOrigin(double theta=90.,double phi=0.,double angle=0.);
     90void SetOrigin(double theta,double phi,int_4 x0,int_4 y0,double angle=0.);
     91void SetSize(double angleX,double angleY);
     92
     93
    8894inline virtual char* TypeOfMap() const {return "LOCAL";};
    8995 
    9096
    9197/*! Check to see if the local mapping is done */
    92   //inline bool LocalMap_isDone() const {return(originFlag_ && extensFlag_);};
     98inline bool LocalMap_isDone() const {return( originSet_ && angleSized_ && pixelSized_);};
    9399
    94100void PixThetaPhi(int_4 ip,int_4 it, double& theta,double& phi) const;
     
    186192
    187193void InitNul();
    188 void SetOrigin(double theta=90.,double phi=0.,double angle=0.);
    189 void SetOrigin(double theta,double phi,int_4 x0,int_4 y0,double angle=0.);
    190 void SetSize(double angleX,double angleY);
    191194void SetCoorC(double theta0, double phi0);
    192195TMatrix<double> CalculMatricePassage();
     
    196199void recopierVariablesSimples(const LocalMap<T>& lm);
    197200
     201void initializationError() const;
    198202
    199203// ---------- Variables internes ----------------------------
     
    201205
    202206  // variables suffisantes pour reconstruire l'objet
     207
     208  bool pixelSized_;
     209  bool angleSized_;
     210  bool originSet_;
    203211
    204212  int_4 nSzX_;
     
    212220  double angleDegres_;
    213221
     222
    214223  //  NDataBlock<T> pixels_;
    215224  TMatrix<T> pixels_;
Note: See TracChangeset for help on using the changeset viewer.