Changeset 3551 in Sophya for trunk/SophyaPI/PIext/graphexecut.cc


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 ";
Note: See TracChangeset for help on using the changeset viewer.