Changeset 115 in Sophya for trunk/SophyaPI
- Timestamp:
- Jul 3, 1998, 5:34:38 PM (27 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pi3ddrw.cc
r113 r115 121 121 list<int>::iterator it; 122 122 for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 123 #if defined(__GNUC__) && !defined(GCCV28) 124 ((PIDrawer3D*)(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco); 125 #else 123 126 (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco); 127 #endif 124 128 vfixed = true; 125 129 } … … 132 136 list<int>::iterator it; 133 137 for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 138 #if defined(__GNUC__) && !defined(GCCV28) 139 ((PIDrawer3D*)(GetDrawerId(*it)))->Set3DView(xc, yc, zc, xo, yo, zo, dax, day, dco, psi); 140 #else 134 141 (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView(xc, yc, zc, xo, yo, zo, dax, day, dco, psi); 142 #endif 135 143 vfixed = true; 136 144 } … … 152 160 vo = mGr3d->Get3DCS( xc, yc, zc, xo, yo, zo, teta, phi, psi, dax, day, co, dco); 153 161 list<int>::iterator it; 162 #if defined(__GNUC__) && !defined(GCCV28) 163 if (vo) for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 164 ((PIDrawer3D*)(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco); 165 else for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 166 ((PIDrawer3D*)(GetDrawerId(*it)))->Set3DView(xc, yc, zc, xo, yo, zo, dax, day, dco, psi); 167 #else 154 168 if (vo) for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 155 169 (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView_Obs(xo, yo, zo, teta, phi, psi, dax, day, co, dco); 156 170 else for(it = m3DrIl.begin(); it != m3DrIl.end(); it++) 157 171 (dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)))->Set3DView(xc, yc, zc, xo, yo, zo, dax, day, dco, psi); 172 #endif 173 158 174 } 159 175 … … 211 227 SelPointerShape(PI_TDLRArrowPointer); 212 228 lCol = mWGrC->GetForeground(); 213 mWGrC->SelForeground(GetBackgroundColor()); 229 // mWGrC->SelForeground(GetBackgroundColor()); 230 mWGrC->SelForeground(PI_Magenta); 214 231 /* 215 232 { … … 268 285 SelPointerShape(PI_TDLRArrowPointer); 269 286 lCol = mWGrC->GetForeground(); 270 mWGrC->SelForeground(GetBackgroundColor()); 287 // mWGrC->SelForeground(GetBackgroundColor()); 288 mWGrC->SelForeground(PI_Magenta); 271 289 /* 272 290 { … … 353 371 list<int>::iterator it = m3DrIl.begin(); 354 372 if (it == m3DrIl.end()) return; 373 #if defined(__GNUC__) && !defined(GCCV28) 374 PIDrawer3D* dr3 = (PIDrawer3D*)(GetDrawerId(*it)); 375 #else 355 376 PIDrawer3D* dr3 = dynamic_cast<PIDrawer3D*>(GetDrawerId(*it)); 377 #endif 356 378 if (dr3 == NULL) return; 357 379 dr3->UpdateSize(); -
trunk/SophyaPI/PI/pintup3d.cc
r113 r115 83 83 if (!mNT) return; 84 84 if ( (xK < 0) || (yK < 0) || (zK < 0) ) return; 85 86 #if defined(__GNUC__) && !defined(GCCV28) 87 PIGraphic3D* g3 = (PIGraphic3D*)(g); 88 #else 85 89 PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g); 90 #endif 86 91 87 92 nok = 0; -
trunk/SophyaPI/PI/pisurfdr.cc
r113 r115 81 81 { 82 82 if (mArr == NULL) return; 83 84 #if defined(__GNUC__) && !defined(GCCV28) 85 PIGraphic3D* g3 = (PIGraphic3D*)(g); 86 #else 83 87 PIGraphic3D* g3 = dynamic_cast<PIGraphic3D*>(g); 88 #endif 89 84 90 // g3->SelForeground(PI_White); 85 91 g3->SelBackground(PI_White);
Note:
See TracChangeset
for help on using the changeset viewer.