Changeset 2198 in Sophya for trunk/SophyaLib/SkyMap/localmap.h
- Timestamp:
- Sep 24, 2002, 4:05:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/localmap.h
r2056 r2198 39 39 40 40 LocalMap(); 41 LocalMap(int_4 nx, int_4 ny); 41 42 LocalMap(int_4 nx, int_4 ny, double angleX,double angleY, double theta0,double phi0,int_4 x0,int_4 y0,double angle=0.); 42 43 LocalMap(int_4 nx, int_4 ny, double angleX,double angleY, double theta0,double phi0, double angle=0.); … … 86 87 void ReSize(int_4 nx, int_4 ny); 87 88 89 void SetOrigin(double theta=90.,double phi=0.,double angle=0.); 90 void SetOrigin(double theta,double phi,int_4 x0,int_4 y0,double angle=0.); 91 void SetSize(double angleX,double angleY); 92 93 88 94 inline virtual char* TypeOfMap() const {return "LOCAL";}; 89 95 90 96 91 97 /*! Check to see if the local mapping is done */ 92 //inline bool LocalMap_isDone() const {return(originFlag_ && extensFlag_);};98 inline bool LocalMap_isDone() const {return( originSet_ && angleSized_ && pixelSized_);}; 93 99 94 100 void PixThetaPhi(int_4 ip,int_4 it, double& theta,double& phi) const; … … 186 192 187 193 void 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);191 194 void SetCoorC(double theta0, double phi0); 192 195 TMatrix<double> CalculMatricePassage(); … … 196 199 void recopierVariablesSimples(const LocalMap<T>& lm); 197 200 201 void initializationError() const; 198 202 199 203 // ---------- Variables internes ---------------------------- … … 201 205 202 206 // variables suffisantes pour reconstruire l'objet 207 208 bool pixelSized_; 209 bool angleSized_; 210 bool originSet_; 203 211 204 212 int_4 nSzX_; … … 212 220 double angleDegres_; 213 221 222 214 223 // NDataBlock<T> pixels_; 215 224 TMatrix<T> pixels_;
Note:
See TracChangeset
for help on using the changeset viewer.