Changeset 1905 in Sophya for trunk/SophyaPI/PIext/pintup3d.cc


Ignore:
Timestamp:
Feb 18, 2002, 11:41:28 PM (24 years ago)
Author:
ansari
Message:

Adaptation a l'introduction de la classe PIGraphicAtt - Reza 18/02/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintup3d.cc

    r1856 r1905  
    179179#endif
    180180
    181 if (mLAtt == PI_NotDefLineAtt)  g3->SelLine(PI_ThinLine);
     181if (GetGraphicAtt().GetLineAtt() == PI_NotDefLineAtt)  g3->SelLine(PI_ThinLine);
    182182
    183183//  Pour tracer des markers avec taille fonction de Wt (poids)
     
    186186int msz,sz;
    187187
     188PIMarker mmrk = GetGraphicAtt().GetMarker();
    188189PIMarker mrk;
    189 if (wK >= 0)  mrk = (mMrk != PI_NotDefMarker) ? mMrk : PI_CircleMarker;
    190 else   mrk = (mMrk != PI_NotDefMarker) ? mMrk : PI_DotMarker;
    191 msz = mMSz;
     190if (wK >= 0)  mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_CircleMarker;
     191else   mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_DotMarker;
     192msz = GetGraphicAtt().GetMarkerSz();
    192193if (msz < 1) msz = 1;
    193194g->SelMarker(msz, mrk);
     
    200201  yp = mNT->GetCell(i, yK);
    201202  zp = mNT->GetCell(i, zK);
    202   if ( (i > 0) && (mLAtt != PI_NotDefLineAtt) )   // On relie les points ...
     203  if ( (i > 0) &&
     204       (GetGraphicAtt().GetLineAtt() != PI_NotDefLineAtt) )   // On relie les points ...
    203205    g3->DrawLine3D(xl, yl, zl, xp, yp, zp);
    204206  nok++;
     
    225227  }
    226228  // Trace du marker
    227   if ((wK >= 0)||(lK < 0)||(mMrk != PI_NotDefMarker))  g3->DrawMarker3D(xp, yp, zp);
     229  if ((wK >= 0)||(lK < 0)||(mmrk != PI_NotDefMarker))  g3->DrawMarker3D(xp, yp, zp);
    228230  // Trace eventuel du label
    229231  if (lK >= 0) g3->DrawString3D(xp, yp, zp, mNT->GetCelltoString(i, lK).c_str());
Note: See TracChangeset for help on using the changeset viewer.