- Timestamp:
- Jul 25, 2000, 12:20:52 PM (25 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomhistadapter.cc
r1057 r1090 38 38 AnyDataObj* NOMAdapter_Histo::GetCopyObj() 39 39 { 40 mHis->UpdateHisto(); // pour le cas ou c'est un HProf 40 41 HProf * hp = dynamic_cast<HProf *>(mHis); 41 if (hp == NULL) return( new Histo(*mHis) ); 42 // C'est un HProf, il faut l'updater si on le copie 43 // car seule la partie "Histo" est copiee! 44 if( !(hp->IsOk()) ) hp->UpdateHisto(); 42 if(hp==NULL) return( new Histo(*mHis) ); 45 43 return( new HProf(*hp) ); 46 44 } -
trunk/SophyaPI/PIext/pawexecut.cc
r1079 r1090 864 864 Histo2D* h2 = dynamic_cast<Histo2D*>(mobjh); 865 865 if( h != NULL ) { // Histo ou HProf 866 HProf* hp = dynamic_cast<HProf*>(mobjh); 867 if(hp!=NULL) if(!(hp->IsOk())) hp->UpdateHisto(); 866 h->UpdateHisto(); // pour le cas ou c'est un HProf 868 867 Vector* v = NULL; 869 868 if(mobjv==NULL) // le vecteur n'existe pas -
trunk/SophyaPI/PIext/pihisto.cc
r1057 r1090 78 78 if(mMrk != PI_NotDefMarker || (typeid(*mHisto) == typeid(HProf)) ) { 79 79 // Marqeurs definis OU HProf => marqueurs+Erreurs si il y en a 80 if(typeid(*mHisto) == typeid(HProf)) 81 { HProf* hp = (HProf*) mHisto; if(!(hp->IsOk())) hp->UpdateHisto();} 80 mHisto->UpdateHisto(); // pour le cas ou c'est un HProf 82 81 if(mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine); 83 82 double x1,y1, x2,y2; -
trunk/SophyaPI/PIext/servnobjm.cc
r1067 r1090 591 591 mOmg->AddObj(hprof, nomprof); 592 592 } 593 if(!(hprof->IsOk()))hprof->UpdateHisto();593 hprof->UpdateHisto(); 594 594 595 595 mOmg->DisplayObj(nomprof, dopt);
Note:
See TracChangeset
for help on using the changeset viewer.