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