Changeset 3551 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Dec 13, 2008, 11:49:46 PM (17 years ago)
Author:
ansari
Message:

Petites ameliorations aide en ligne, Reza 13/12/2008

Location:
trunk/SophyaPI/PIext
Files:
4 edited

Legend:

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

    r3491 r3551  
    907907void PIABaseExecutor::RegisterCommands()
    908908{
    909 string kw, usage, grp;
     909string kw, usage, grp, gdesc;
    910910//--------- Commandes du groupe modules externes
     911
    911912grp = "External Modules";
    912 string gdesc = "Dynamic load (shared object modules) management command group";
     913gdesc = "Dynmamic shared library load (DLL) and external (add-on) module management";
    913914mpiac->AddHelpGroup(grp, gdesc);
     915
    914916kw = "loadmodule";
    915917usage = "To load and initialize modules \n  Usage: loadmodule fnameso modulename";
     
    11901192usage += "\n         projh1d projh2d  projprof fillvec fillmtx ";
    11911193usage += "\n         fillnt fillgd1 fillgd2 ntloop exptovec ... ";
     1194mpiac->RegisterHelp(kw, usage, grp);
     1195
    11921196grp = "Expr. Plotting";
    1193 mpiac->RegisterHelp(kw, usage, grp);
     1197gdesc = "Compute and plot various (c-syntax) expressions of objects \n";
     1198gdesc += "Objects are seen as list of structures (n-tuples)\n";
     1199gdesc += "See ObjectExpressions help item for a list of structure\n";
     1200gdesc += "fields for the different classes managed by piapp";
     1201mpiac->AddHelpGroup(grp, gdesc);
     1202
    11941203kw = "plot2d";
    11951204usage = "Plots (2D) Y=g(Object) vs. X=f(Object) --- Object Variable names (double) :";
  • trunk/SophyaPI/PIext/cxxexecutor.cc

    r3448 r3551  
    3636// On enregistre les nouvelles commandes
    3737string hgrp = "CxxExecutorCmd";
     38string gdesc = "Commands for c++ codelt on the fly compilation and execution";
     39mpiac->AddHelpGroup(hgrp, gdesc);
     40
    3841string usage,kw;
    3942
  • trunk/SophyaPI/PIext/graphexecut.cc

    r3550 r3551  
    505505mpiac->RegisterCommand(kw, usage, this, grp);
    506506
     507grp = "Graphic-Elts";
     508gdesc = "Simple graphic objects (lines, circles, text...) creation and display";
     509mpiac->AddHelpGroup(grp, gdesc);
     510
    507511kw = "addtext";
    508512usage = "Adds a text string to the current graphic object";
     
    519523usage += "\n  Related commands: addctext addline addarrow addrect addfrect";
    520524usage += "\n      addcirc addfcirc addarc addfrac addpoly addfpoly settitle graphicatt"; 
    521 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     525mpiac->RegisterCommand(kw, usage, this, grp);
    522526
    523527kw = "addctext";
     
    528532usage += "\n  Related commands: addtext addline addrect ...";
    529533usage += "\n      (See command addtext and graphicatt for more details)"; 
    530 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     534mpiac->RegisterCommand(kw, usage, this, grp);
    531535
    532536kw = "addline";
     
    539543usage += "\n  Related commands: addarrow addtext addrect addfrect ";
    540544usage += "\n       addmarker addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    541 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     545mpiac->RegisterCommand(kw, usage, this, grp);
    542546
    543547kw = "addarrow";
     
    550554usage += "\n  Related commands: addline addtext addrect addfrect ";
    551555usage += "\n       addmarker addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    552 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     556mpiac->RegisterCommand(kw, usage, this, grp);
    553557kw = "addarrow_nc";
    554558
     
    562566usage += "\n  Related commands: addtext addline addarrow addfrect";
    563567usage += "\n       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    564 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     568mpiac->RegisterCommand(kw, usage, this, grp);
    565569
    566570kw = "addfrect";
     
    573577usage += "\n  Related commands: addtext addline addarrow addrect";
    574578usage += "\n       addcirc addfcirc addpoly addfpoly graphicatt"; 
    575 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     579mpiac->RegisterCommand(kw, usage, this, grp);
    576580
    577581kw = "addmarker";
     
    584588usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    585589usage += "\n       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    586 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     590mpiac->RegisterCommand(kw, usage, this, grp);
    587591
    588592kw = "addcirc";
     
    595599usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    596600usage += "\n       addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    597 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     601mpiac->RegisterCommand(kw, usage, this, grp);
    598602
    599603kw = "addfcirc";
     
    606610usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    607611usage += "\n       addcirc addarc addfarc addpoly addfpoly graphicatt"; 
    608 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     612mpiac->RegisterCommand(kw, usage, this, grp);
    609613
    610614kw = "addoval";
     
    617621usage += "\n  Related commands: addfoval addline addarrow addfrect addcirc addfcirc";
    618622usage += "\n       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    619 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     623mpiac->RegisterCommand(kw, usage, this, grp);
    620624
    621625kw = "addfoval";
     
    628632usage += "\n  Related commands: addoval addline addarrow addfrect addcirc addfcirc";
    629633usage += "\n       addcirc addfcirc addarc addfarc addpoly addfpoly graphicatt"; 
    630 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     634mpiac->RegisterCommand(kw, usage, this, grp);
    631635
    632636kw = "addarca";
     
    637641usage += "\n  if fgnc==true : Normalized 0..1 coordinates specification (def=false)";
    638642usage += "\n  Related commands: addtext addline addfarca addarc ...";
    639 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     643mpiac->RegisterCommand(kw, usage, this, grp);
    640644
    641645kw = "addfarca";
     
    646650usage += "\n  if fgnc==true : Normalized 0..1 coordinates specification (def=false)";
    647651usage += "\n  Related commands: addtext addline addarca addarc ...";
    648 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     652mpiac->RegisterCommand(kw, usage, this, grp);
    649653
    650654kw = "addarc";
     
    657661usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    658662usage += "\n       addcirc addfcirc addfarc addarca addpoly addfpoly graphicatt"; 
    659 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     663mpiac->RegisterCommand(kw, usage, this, grp);
    660664
    661665kw = "addfarc";
     
    668672usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    669673usage += "\n       addcirc addfcirc addfarc addpoly addfpoly graphicatt"; 
    670 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     674mpiac->RegisterCommand(kw, usage, this, grp);
    671675
    672676kw = "addpoly";
     
    677681usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    678682usage += "\n       addcirc addfcirc addfarc  graphicatt"; 
    679 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     683mpiac->RegisterCommand(kw, usage, this, grp);
    680684
    681685kw = "addfpoly";
     
    686690usage += "\n  Related commands: addtext addline addarrow addfrect addfrect";
    687691usage += "\n       addcirc addfcirc addfarc  graphicatt"; 
    688 mpiac->RegisterCommand(kw, usage, this, "Graphic-Elts");
     692mpiac->RegisterCommand(kw, usage, this, grp);
    689693
    690694kw = "settitle";
     
    711715
    712716grp = "Obj. Display";
     717gdesc = "Most useful commands to view and display objects ";
     718mpiac->AddHelpGroup(grp, gdesc);
     719
    713720kw = "disp";
    714721usage = "Displays an object \n Usage: disp nameobj [graphic_attributes]";
     
    781788mpiac->RegisterCommand(kw, usage, this, grp);
    782789
     790// Importation/affichage fichier format PI-RGB
    783791kw = "pirgbdisp";
    784792usage = "Read and display RGB-image object (PIPixRGBArray) from file ";
     
    787795usage += "\n Related commands: win2rgb wdg2rgb "; 
    788796mpiac->RegisterCommand(kw, usage, this, grp);
     797
     798// Export to PI-RGB file
     799grp = "GraphicExport";
     800gdesc = "Commands to export graphics (widget/windows in postscript or PI-RGB image files";
     801mpiac->AddHelpGroup(grp, gdesc);
     802
    789803kw = "win2rgb";
    790804usage = " Export the current window to a PI-RGB file (.rgb)";
     
    799813
    800814// Ceci est maintenant obsolete, on garde pour info.
     815grp = "Obj. Display";
    801816kw = "gfd2d";
    802817usage = "Displays Points (X-Y) with error-bars from a GeneralFit Data ";
  • trunk/SophyaPI/PIext/pawexecut.cc

    r3502 r3551  
    5050string kw, usage;
    5151string hgrp = "pawCmd";
     52string gdesc = "CERN PAW like expression plotting commands ";
     53piac->AddHelpGroup(hgrp, gdesc);
    5254
    5355kw = "reset";
Note: See TracChangeset for help on using the changeset viewer.