Changeset 7491 for trunk/MagicSoft/Mars/mastro
- Timestamp:
- 02/10/06 10:39:49 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mastro
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc
r7264 r7491 815 815 TestBit(kMirrorY) ? -w(1) : w(1)); 816 816 817 v=v.Rotate(fAngle*TMath::DegToRad()); 818 817 819 if (w(2)<0) 818 820 return kERROR; … … 1147 1149 const Bool_t white = o.Contains("white", TString::kIgnoreCase); 1148 1150 const Bool_t yellow = o.Contains("yellow", TString::kIgnoreCase) && !white; 1151 const Bool_t rot180 = o.Contains("180", TString::kIgnoreCase); 1152 const Bool_t rot270 = o.Contains("270", TString::kIgnoreCase); 1153 const Bool_t rot90 = o.Contains("90", TString::kIgnoreCase); 1149 1154 1150 1155 if (white) 1151 1156 SetMarkerColor(kWhite); 1157 1158 fAngle = 0; 1159 if (rot90) 1160 fAngle=90; 1161 if (rot180) 1162 fAngle=180; 1163 if (rot270) 1164 fAngle=270; 1152 1165 1153 1166 // X is vice versa, because ra is defined anti-clockwise -
trunk/MagicSoft/Mars/mastro/MAstroCatalog.h
r7264 r7491 37 37 38 38 TGToolTip *fToolTip; //! The tooltip currently displayed 39 Double_t fAngle; //! Rotation angle of map 39 40 40 41 MAttLine fAttLineSky; // Line Style and color for sky coordinates … … 169 170 void SetMarkerAttributes(); //*MENU* 170 171 172 TAttLine &GetAttLineSky() { return fAttLineSky; } 173 TAttLine &GetAttLineLocal() { return fAttLineLocal; } 174 171 175 virtual void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected=0); 172 176
Note:
See TracChangeset
for help on using the changeset viewer.