Changeset 339 in Sophya
- Timestamp:
- Jul 27, 1999, 12:17:12 PM (26 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r333 r339 286 286 } 287 287 288 // Obsolete : ne pas virer SVP, cmv 26/7/99 288 289 else if (kw == "gfd2d") { 290 cout<<"----- gfd2d OBSOLETE: utilisez nt2d -----"<<endl; 289 291 if(tokens.size()<2) 290 292 {cout<<"Usage: gfd2d nomobj numvarx erreur=(x y xy) opt"<<endl; … … 298 300 } 299 301 else if (kw == "gfd3d") { 302 cout<<"----- gfd3d OBSOLETE: utilisez nt3d -----"<<endl; 300 303 if(tokens.size()<3) 301 304 {cout<<"Usage: gfd3d nameobj numvarx numvary erreur=(x y z xy xz yz xyz) opt"<<endl; … … 710 713 usage += "\n Usage : nt3d nameobj varx vary varz [errx erry errz] [graphic_attributes]"; 711 714 usage += "\n Related commands: disp surf nt2d nt2dw gfd3d "; 715 usage += "\n Related commands: disp surf nt2d nt2dw "; 712 716 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 717 718 // Ceci est maintenant obsolete, on garde pour info. 713 719 kw = "gfd2d"; 714 720 usage = "Displays Points (X-Y) with error-bars from a GeneralFit Data "; 715 721 usage += "\n Usage : gfd2d nameobj numvarx erreur=(x y xy) [graphic_attributes]"; 716 usage += "\n Related commands: gfd3d nt2d nt3d "; 722 usage += "\n Related commands: gfd3d nt2d nt3d "; 723 usage += "\n ----- OBSOLETE: utilisez nt2d -----"; 717 724 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 718 725 kw = "gfd3d"; … … 720 727 usage += "\n Usage : gfd3d nameobj numvarx numvary erreur=(x y z xy xz yz xyz) [graphic_attributes]"; 721 728 usage += "\n Related commands: gfd2d nt2d nt3d "; 729 usage += "\n ----- OBSOLETE: utilisez nt3d -----"; 722 730 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 723 731 … … 819 827 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 820 828 821 822 829 } 823 830 -
trunk/SophyaPI/PIext/nobjmgr.cc
r335 r339 925 925 } 926 926 927 /* --Methode-- cmv 13/10/98 */927 /* --Methode-- cmv 13/10/98 : Obsolete mais ne pas virer SVP */ 928 928 void NamedObjMgr::DisplayGFD(string& nom, string& numvarx, string& numvary, string& err, string dopt) 929 929 // Pour le display 2D ou 3D d'un ``GeneralFitData''. … … 961 961 } 962 962 // 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 3D963 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 969 969 PIGenFitDat3D* pigfd = new PIGenFitDat3D(((GeneralFitData*)obj),false); 970 970 pigfd->SelectXY(numvx,numvy); 971 971 pigfd->SelectErrBar(errx,erry,errz); 972 972 wrsid = myImgApp->Disp3DDrawer(pigfd,nom,opt); 973 } else { // Display 2D973 } else { // display 2D 974 974 PIGenFitDat* pigfd = new PIGenFitDat(((GeneralFitData*)obj),false); 975 975 pigfd->SelectX(numvx); -
trunk/SophyaPI/PIext/pigfd1.cc
r205 r339 1 // Cette classe est maintenant obsolete: generaldata <==> ntuple pour le dessin 2 1 3 #include <stdio.h> 2 4 #include "pigfd1.h" … … 41 43 double dx, dy; 42 44 double xmin=9.e19, xmax=-9.e19, ymin=9.e19, ymax=-9.e19; 43 mGFD->GetM inMax(10*VarX+2,xmin,xmax);44 mGFD->GetM inMax(0,ymin, ymax);45 mGFD->GetMnMx(10*VarX+2,xmin,xmax); 46 mGFD->GetMnMx(0,ymin, ymax); 45 47 if(xmax<=xmin) xmax = xmin+1.; 46 48 if(ymax<=ymin) ymax = ymin+1.; -
trunk/SophyaPI/PIext/pigfd1.h
r205 r339 1 // Cette classe est maintenant obsolete: generaldata <==> ntuple pour le dessin 2 1 3 #ifndef PIGFD1_H 2 4 #define PIGFD1_H … … 24 26 25 27 #endif 28 -
trunk/SophyaPI/PIext/pigfd2.cc
r205 r339 1 // Cette classe est maintenant obsolete: generaldata <==> ntuple pour le dessin 2 1 3 #include <stdio.h> 2 4 #include "pigfd2.h" … … 41 43 if(VarX<0 || VarY<0) return; 42 44 double xmin=9.e19, xmax=-9.e19, ymin=9.e19, ymax=-9.e19, zmin=9.e19, zmax=-9.e19; 43 mGFD->GetM inMax(10*VarX+2,xmin,xmax);44 mGFD->GetM inMax(10*VarY+2,ymin,ymax);45 mGFD->GetM inMax(0,zmin, zmax);45 mGFD->GetMnMx(10*VarX+2,xmin,xmax); 46 mGFD->GetMnMx(10*VarY+2,ymin,ymax); 47 mGFD->GetMnMx(0,zmin, zmax); 46 48 if(xmax<=xmin) xmax = xmin+1.; 47 49 if(ymax<=ymin) ymax = ymin+1.; … … 103 105 return; 104 106 } 107 -
trunk/SophyaPI/PIext/pigfd2.h
r205 r339 1 // Cette classe est maintenant obsolete: generaldata <==> ntuple pour le dessin 2 1 3 #ifndef PIGFD2_H 2 4 #define PIGFD2_H … … 25 27 26 28 #endif 29 -
trunk/SophyaPI/PIext/piinit.cc
r314 r339 4 4 #include "servnobjm.h" 5 5 #include "nomhistadapter.h" 6 #include "nomgfdadapter.h" 6 7 #include "nommatvecadapter.h" 7 8 #include "nomimagadapter.h" … … 23 24 serv->RegisterClass(new NTuple, new NOMAdapter_NTuple ); 24 25 26 serv->RegisterClass(new GeneralFitData, new NOMAdapter_GeneralFitData ); 27 25 28 serv->RegisterClass(new Vector, new NOMAdapter_Vector ); 26 29 serv->RegisterClass(new Matrix, new NOMAdapter_Matrix ); … … 30 33 serv->RegisterClass(new Image<int_4>, new NOMAdapter_Image<int_4> ); 31 34 serv->RegisterClass(new Image<r_4>, new NOMAdapter_Image<r_4> ); 32 35 33 36 serv->RegisterClass(new FitsImage<uint_2>, new NOMAdapter_Image<uint_2> ); 34 37 serv->RegisterClass(new FitsImage<int_2>, new NOMAdapter_Image<int_2> ); … … 37 40 38 41 serv->RegisterClass(new StarList, new NOMAdapter_StarList ); 39 40 } 42 43 } 41 44 42 45 PIAppInitiator::~PIAppInitiator()
Note:
See TracChangeset
for help on using the changeset viewer.