Changeset 2999 in Sophya for trunk/SophyaPI/PIext/servnobjm.cc
- Timestamp:
- Jul 2, 2006, 7:20:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.cc
r2924 r2999 509 509 510 510 /* --Methode-- */ 511 void Services2NObjMgr::DisplayPoints3DW(string& nom, string& expx, string& expy, string& expz, 512 string& expwt, string& expcut, string dopt, string loop) 513 { 514 NObjMgrAdapter* obja=NULL; 515 obja = MyObjMgr()->GetObjAdapter(nom); 516 if (obja == NULL) { 517 cout << "Services2NObjMgr::DisplayPoints3D() Error , No such object " << nom << endl; 518 return; 519 } 520 if (!mImgapp) return; 521 522 char* ntn[4] = {"expx","expy","expz","expw"}; 523 NTuple* nt = new NTuple(4,ntn); // Creation NTuple 524 525 ComputeExpressions(obja, expx, expy, expz, expwt, expcut, loop, nt, NULL, NULL); 526 527 if (nt->NEntry() < 1) { 528 cout << "Services2NObjMgr::DisplayPoints3DW() Warning Zero points satisfy cut !" << endl; 529 delete nt; 530 return; 531 } 532 //DBG nt->Show(); 533 //DBG nt->Print(0,10); 534 PINTuple3D* pin = new PINTuple3D(nt, true); 535 pin->SelectXYZ(ntn[0], ntn[1], ntn[2]); 536 pin->SelectWt(ntn[3]); 537 pin->UseColorScale(true); 538 dopt = "defline " + dopt; 539 540 // Pour plot a partir de DispScDrawer 541 // string nomdisp = "_NT3D_"; 542 // mImgapp->DispScDrawer( (PIDrawer*)pin, nomdisp, opt); 543 // Pour plot a partir de Disp3DDrawer 544 string titre = nom + ":" + expy + "%" + expx + " W=" + expwt; 545 mImgapp->Disp3DDrawer(pin, titre, dopt); 546 547 return; 548 } 549 550 /* --Methode-- */ 511 551 void Services2NObjMgr::ProjectH1(string& nom, string& expx, string& expwt, 512 552 string& expcut, string& nomh1, string dopt, string loop)
Note:
See TracChangeset
for help on using the changeset viewer.