Ignore:
Timestamp:
02/10/06 10:39:49 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mastro
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.cc

    r7264 r7491  
    815815          TestBit(kMirrorY) ? -w(1) : w(1));
    816816
     817    v=v.Rotate(fAngle*TMath::DegToRad());
     818
    817819    if (w(2)<0)
    818820        return kERROR;
     
    11471149    const Bool_t white  = o.Contains("white",   TString::kIgnoreCase);
    11481150    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);
    11491154
    11501155    if (white)
    11511156        SetMarkerColor(kWhite);
     1157
     1158    fAngle = 0;
     1159    if (rot90)
     1160        fAngle=90;
     1161    if (rot180)
     1162        fAngle=180;
     1163    if (rot270)
     1164        fAngle=270;
    11521165
    11531166    // X is vice versa, because ra is defined anti-clockwise
  • trunk/MagicSoft/Mars/mastro/MAstroCatalog.h

    r7264 r7491  
    3737
    3838    TGToolTip *fToolTip;    //! The tooltip currently displayed
     39    Double_t   fAngle;      //! Rotation angle of map
    3940
    4041    MAttLine fAttLineSky;   // Line Style and color for sky coordinates
     
    169170    void SetMarkerAttributes();   //*MENU*
    170171
     172    TAttLine &GetAttLineSky() { return fAttLineSky; }
     173    TAttLine &GetAttLineLocal() { return fAttLineLocal; }
     174
    171175    virtual void EventInfo(Int_t event, Int_t px, Int_t py, TObject *selected=0);
    172176
Note: See TracChangeset for help on using the changeset viewer.