Changeset 339 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Jul 27, 1999, 12:17:12 PM (26 years ago)
Author:
ercodmgr
Message:

Pour creer les ADAPTER de GeneralFitData cmv 27/7/99

File:
1 edited

Legend:

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

    r335 r339  
    925925}
    926926
    927 /* --Methode-- cmv 13/10/98 */
     927/* --Methode-- cmv 13/10/98 : Obsolete mais ne pas virer SVP */
    928928void NamedObjMgr::DisplayGFD(string& nom, string& numvarx, string& numvary, string& err, string dopt)
    929929//      Pour le display 2D ou 3D d'un ``GeneralFitData''.
     
    961961}
    962962// Decodage des numeros de variables en abscisse
    963 int numvx=-1, numvy=-1;
    964 if(numvarx.length()>0) numvx = atoi(numvarx.c_str());
    965 if(numvary.length()>0) numvy = atoi(numvary.c_str());
    966 
    967 int wrsid = 0;
    968 if(numvy>=0) {              // Display 3D
     963 int numvx=-1, numvy=-1;
     964 if(numvarx.length()>0) numvx = atoi(numvarx.c_str());
     965 if(numvary.length()>0) numvy = atoi(numvary.c_str());
     966 
     967 int wrsid = 0;
     968 if(numvy>=0) {              // display 3D
    969969  PIGenFitDat3D* pigfd = new PIGenFitDat3D(((GeneralFitData*)obj),false);
    970970  pigfd->SelectXY(numvx,numvy);
    971971  pigfd->SelectErrBar(errx,erry,errz);
    972972  wrsid = myImgApp->Disp3DDrawer(pigfd,nom,opt); 
    973 } else {                   // Display 2D
     973} else {                   // display 2D
    974974  PIGenFitDat* pigfd = new PIGenFitDat(((GeneralFitData*)obj),false);
    975975  pigfd->SelectX(numvx);
Note: See TracChangeset for help on using the changeset viewer.