Changeset 1905 in Sophya for trunk/SophyaPI/PIext/pintup3d.cc
- Timestamp:
- Feb 18, 2002, 11:41:28 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pintup3d.cc
r1856 r1905 179 179 #endif 180 180 181 if ( mLAtt== PI_NotDefLineAtt) g3->SelLine(PI_ThinLine);181 if (GetGraphicAtt().GetLineAtt() == PI_NotDefLineAtt) g3->SelLine(PI_ThinLine); 182 182 183 183 // Pour tracer des markers avec taille fonction de Wt (poids) … … 186 186 int msz,sz; 187 187 188 PIMarker mmrk = GetGraphicAtt().GetMarker(); 188 189 PIMarker mrk; 189 if (wK >= 0) mrk = (m Mrk != PI_NotDefMarker) ? mMrk : PI_CircleMarker;190 else mrk = (m Mrk != PI_NotDefMarker) ? mMrk : PI_DotMarker;191 msz = mMSz;190 if (wK >= 0) mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_CircleMarker; 191 else mrk = (mmrk != PI_NotDefMarker) ? mmrk : PI_DotMarker; 192 msz = GetGraphicAtt().GetMarkerSz(); 192 193 if (msz < 1) msz = 1; 193 194 g->SelMarker(msz, mrk); … … 200 201 yp = mNT->GetCell(i, yK); 201 202 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 ... 203 205 g3->DrawLine3D(xl, yl, zl, xp, yp, zp); 204 206 nok++; … … 225 227 } 226 228 // Trace du marker 227 if ((wK >= 0)||(lK < 0)||(m Mrk != PI_NotDefMarker)) g3->DrawMarker3D(xp, yp, zp);229 if ((wK >= 0)||(lK < 0)||(mmrk != PI_NotDefMarker)) g3->DrawMarker3D(xp, yp, zp); 228 230 // Trace eventuel du label 229 231 if (lK >= 0) g3->DrawString3D(xp, yp, zp, mNT->GetCelltoString(i, lK).c_str());
Note:
See TracChangeset
for help on using the changeset viewer.