Changeset 388 in Sophya for trunk/SophyaPI/PIext/basexecut.cc


Ignore:
Timestamp:
Aug 13, 1999, 3:48:47 PM (26 years ago)
Author:
ercodmgr
Message:

Help pour les PIWdg ds piapp Reza 13/08/99

File:
1 edited

Legend:

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

    r384 r388  
    576576}
    577577
     578// Fonction pour enregistrer le Help des Widgets et Windows de piapp
     579static void RegisterPIGraphicsHelp(PIACmd* piac);
     580
    578581/* --Methode-- */
    579582void PIABaseExecutor::RegisterCommands()
     
    597600kw = "zone";
    598601usage = "To Divide the Graphic window \n  Usage: zone [nx=1 ny=1]";
     602usage += "\n  Related commands: newwin"; 
    599603mpiac->RegisterCommand(kw, usage, this, "Graphics");
    600604kw = "newwin";
    601605usage = "To Create a New Graphic window, with zones \n  Usage: newwin nx ny";
     606usage += "\n  Related commands: zone"; 
    602607mpiac->RegisterCommand(kw, usage, this, "Graphics");
    603608kw = "stacknext";
     
    642647usage += "\n  Related commands: gratt"; 
    643648mpiac->RegisterCommand(kw, usage, this, "Graphics");
     649
     650RegisterPIGraphicsHelp(mpiac);
    644651
    645652kw = "openfits";
     
    954961}
    955962
     963/* Nouvelle-Fonction */
     964void RegisterPIGraphicsHelp(PIACmd* piac)
     965{
     966string kw,grp,usage;
     967
     968grp = "Graphics";
     969
     970kw = "PIImage";
     971usage = "Manages the display of a 2-D array (P2DArrayAdapter) as an image \n";
     972usage += "and controls a zoom widget, as well as a global image view widget \n";
     973usage += ">>>> Mouse controls : \n";
     974usage += "o Button-1: Display current coordinates and pixel value\n";
     975usage += "  Position the cursor an refresh the zoom widget\n";
     976usage += "o Button-2: Defines an image zone and positions the cursor \n";
     977usage += "o Button-3: Moves the viewed portion of the array inside the window \n";
     978usage += ">>>> Keyboard controls : \n";
     979usage += "o <Alt>R : Refresh display \n";
     980usage += "o <Alt>O : Shows the PIImageTools (image display parameter controls) \n";
     981usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of overlayed graphics (Drawers)) \n";
     982usage += "o <Alt>V : Copy/Paste / Text paste at the current cursor position \n";
     983usage += "o <Alt>C : Copy/Paste / Copies the selected regions content as text in the copy/paste buffer \n";
     984usage += "o <Alt>X : Show/Hide the Cut Window \n";
     985usage += "o <Alt>Z : Removes signs overlayed on image (Drawer 0) \n";
     986usage += "o Cursor keys : Moves the image cursor \n";
     987piac->RegisterHelp(kw, usage, grp);
     988
     989kw = "PIScDrawWdg";
     990usage = "Manages display of 2-D drawers with interactive zoom \n";
     991usage += ">>>> Mouse controls : \n";
     992usage += "o Button-1: Display current coordinates \n";
     993usage += "o Button-2: Defines a rectangle for zoom \n";
     994usage += "o Button-3: Defines a rectangle for Text-Info (<Alt>I) \n";
     995usage += ">>>> Keyboard controls : \n";
     996usage += "o <Alt>R : Refresh display \n";
     997usage += "o <Alt>O : Displays a specific control window (default: PIDrawerTools) \n";
     998usage += "           Specific controls for 2-D histograms \n";
     999usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers) \n";
     1000usage += "           Drawer 0 manages the axes, as well as the added text \n";
     1001usage += "o <Alt>V : Copy/Paste / Text paste at the current position \n";
     1002usage += "o <Alt>Z : Removes added signs (text) to Drawer 0 \n";
     1003usage += "o <Alt>I : Shows (or updates) a text info window on the selected rectangle\n";
     1004usage += "o <Alt>M : Activate/Deactivate a measurement cursor on Button-1";
     1005usage += "o Cursor keys : Moves the image cursor \n";
     1006piac->RegisterHelp(kw, usage, grp);
     1007
     1008kw = "PIDraw3DWdg";
     1009usage = "Manages display of 3-D objects (drawers)  \n";
     1010usage += ">>>> Mouse controls : \n";
     1011usage += "o Button-2: Rotates the observer (camera) around object \n";
     1012usage += "o Shift-Button-2: Rotates object with camera fixed \n";
     1013usage += "  The object rotation mode can be assigned to Button-2 with <Alt>S \n";
     1014usage += "o Button-3: Zoom control (Camera distance And/Or view angle) \n";
     1015usage += ">>>> Keyboard controls : \n";
     1016usage += "o <Alt>R : Resets the 3-D view and refreshes the display \n";
     1017usage += "o <Alt>G : Show the PIDrawerTools (Graphic attributes of displayed Drawers) \n";
     1018usage += "o <Alt>O : = <Alt>G \n";
     1019usage += "o <Alt>V : Copy/Paste / Text paste at the current position (Drawer 0)\n";
     1020usage += "o <Alt>Z : Removes added signs (text) to Drawer 0 \n";
     1021usage += "o <Alt>A : Activate/Deactivate axes drawing \n";
     1022usage += "o <Alt>S : Activate/Deactivate object rotation mode on Button-2 \n";
     1023piac->RegisterHelp(kw, usage, grp);
     1024
     1025kw = "Windows";
     1026usage = "Objects can be displayed in different windows, or overlayed on the \n";
     1027usage += "previous display. The graphics attributes next,win,stack,same control \n";
     1028usage += "the display window. \n";
     1029usage += "o GraphicWindow : This is the default mode (gr_att=next)\n";
     1030usage += "  Graphic windows can be divided int zones. Object is displayed \n";
     1031usage += "  in the next available position, removing a previously displayed \n";
     1032usage += "  widget if necessary \n";
     1033usage += "o Window : An object is displayed in its own window (gr_att= win) \n";
     1034usage += "o StackWindow : multpile widgets can be stacked in a StackWindow (gr_att= stack) \n";
     1035usage += "  A single widget is displayed a any time. Different widgets in a StackWindow \n";
     1036usage += "  can be displayed using the stacknext command, as well as the StackTools item \n";
     1037usage += "  in the Tools menu (from Menubar). An automatic cyclic display mode can also \n";
     1038usage += "  be activated using the StackTools menu (Blink) \n";
     1039usage += "o Most objects can be also be displayed, overlayed on the last displayed widget (gr_att= same) \n";
     1040usage += "\n  Related commands: newwin zone stacknext gratt"; 
     1041piac->RegisterHelp(kw, usage, grp);
     1042 
     1043}
Note: See TracChangeset for help on using the changeset viewer.