Developer Documentation
Developer Documentation
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

namespace StdGUI
User Level:
Library: GUIView
Example: ex3DCanvas.cc

Comments:

/////////////////////////////////////////////////////////////////// Specific instances of render classes.

Child Classes:

#include "amma/GUI/VUIWorkArea.hh"

ViewWorkAreaC Work area.
ViewWorkAreaBodyC Work area body.
#include "amma/GUI/VUIObject.hh"

ViewObjectC View object as widget
ViewObjectBodyC View object as widget
#include "amma/GUI/VUIWindow.hh"

ViewWindowBodyC VUI Window.
ViewWindowC
#include "amma/GUI/VUIDisplayMap.hh"

DisplayMapC Mapping between displayable objects and widgets.
DisplayMapBodyC Mapping between displayable objects and widgets.
#include "amma/GUI/VUIGeom.hh"

ViewGeometry2DBodyC Class for displaying 2D geometric objects.
ViewGeometry2DC
#include "amma/GUI/VUIGeomRender.hh"

ViewGeom2dRenderPointBodyC Render geom point.
ViewGeom2dRenderPointListBodyC Render geom point list.
ViewGeom2dRenderPixelBodyC Render geom pixel.
ViewGeom2dRenderPixelListBodyC Render geom pixel list.
ViewGeom2dRenderLine2dPPBodyC Render geom pixel.
ViewGeom2dRenderLineListBodyC Render line with ID.
ViewGeom2dRenderIPEdgeGradMagBodyC Render geom pixel.
ViewGeom2dRenderDListIPEdgeGradMagBodyC Render geom pixel.
ViewGeom2dRenderPCPixMapCPCLineSegCBodyC Render line mapping.
ViewGeom2dRenderImageBaseBodyC Render geom pixel.
ViewGeom2dRenderByteImageBodyC Render geom pixel.
ViewGeom2dRenderDoubleImageBodyC Render geom pixel.
ViewGeom2dRenderByteRGBImageBodyC Render geom pixel.
ViewGeom2dRenderSeqObjectBodyC Render geom point.
#include "amma/GUI/VUIGeomRenderLst.hh"

ViewGeom2dRenderListC
#include "amma/GUI/VUIGeomCanvas.hh"

ViewGeomCanvasBodyC Geometry canvas body.
#include "amma/GUI/VUIGeomRenderLst.hh"

ViewGeom2dRenderBodyC Render geom object base body class.
ViewGeom2dRenderC Render geom object base class.
ViewGeom2dRenderListBodyC
#include "amma/GUI/VUIGeomCanvas.hh"

ViewGeomCanvasC
#include "amma/GUI/ViewManager.hh"

ViewManagerC View manager.
ViewManagerBodyC View manager body.
#include "amma/GUI/PixmapInfo.hh"

ScaledPixmapBodyC Scaled PixmapC body.
ScaledByteRGBPixmapBodyC Scaled RGB PixmapC body. scaled
ScaledBytePixmapBodyC Scaled byte PixmapC body. scaled
ScaledPixmapC PixmapC.
#include "amma/GUI/VUIDisplayMapReg.hh"
SetDefaultDisplayC Class to add display function to default display list.
Typedefs:

#include "amma/GUI/VUIGeomRender.hh"
typedef ViewGeom2dRenderC (*)(FuncArgList) ViewGeometryRenderObjectT;
Table of rendering functions.

Methods:

#include "amma/GUI/Button.hh"
GUIButtonC Button(const char * label,const char * tooltip = 0)
Create a button with no function attached.
here just for consistancy.

GUIButtonC Button(const char * label,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC Button(const char * label,const char * tooltip,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC Button(const GUIPixmapC & pix,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC Button(const GUIPixmapC & pix,const char * label,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC Button(const char * label,const ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC ButtonR(const char * label,ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())
Create button that calls a function.
This does NOT make a refrence to obj.

GUIButtonC Button(const char * label,const char * tooltip,const ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIButtonC Button(const char * label,const ObjT & obj,ScopePath (*)(FuncArgList) func)
Create button that calls a function.

GUIButtonC ButtonR(const char * label,ObjT & obj,ScopePath (*)(FuncArgList) func)
Create button that calls a function.
This does NOT make a refrence to obj.

GUIButtonC Button(const char * label,const char * tooltip,const ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIButtonC Button(const GUIPixmapC & pix,const ObjT & obj,ScopePath (*)(FuncArgList) func)

#include "amma/GUI/LBox.hh"
GUILBoxC VBox(const DListC<GUIWidgetC> & widges,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Layout widgets in a vertical box.
Helper function calls: GUILBoxC(widges,TRUE,boarder,nhomogeneous,nspacing)

GUILBoxC VBox(const GUIWidgetC & widge,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Layout widgets in a vertical box.
Helper function calls: GUILBoxC(widges,TRUE,boarder,nhomogeneous,nspacing)

GUILBoxC HBox(const DListC<GUIWidgetC> & widges,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Layout horzontal in a vertical box.
Helper function calls: GUILBoxC(widges,FALSE,boarder,nhomogeneous,nspacing)

GUILBoxC HBox(const GUIWidgetC & widge,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Layout horzontal in a vertical box.
Helper function calls: GUILBoxC(widges,FALSE,boarder,nhomogeneous,nspacing)

GUILBoxC Box(const GUIWidgetC & widge,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Put a boarder around a widget.
Helper function calls: GUILBoxC(widge,FALSE,boarder,nhomogeneous,nspacing)

GUILBoxC Box(const DListC<GUIWidgetC> & widges,int boarder = 0,BooleanT nhomogeneous = FALSE,IntT nspacing = 0)
Put a boarder around a list of widgets.
Helper function calls: GUILBoxC(widges,FALSE,boarder,nhomogeneous,nspacing)

#include "amma/GUI/Menu.hh"
GUIMenuItemC MenuItem(const StringC & label,ScopePath (*)(FuncArgList) func,const Data1T & dat1 = Data1T(),const Data2T & dat2 = Data2T())
Create new menu item, connect to a function.

GUIMenuItemC MenuItem(const StringC & label,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())
Create new menu item, connect to a function.

GUIMenuItemC MenuItem(const StringC & label,const DataT & dat,ScopePath (*)(FuncArgList) func)
Create new menu item, connect to a function.

GUIMenuItemC MenuItemRef(const StringC & label,DataT & dat,ScopePath (*)(FuncArgList) func)
Create new menu item, connect to a function.
This does NOT hold a refrence to item 'dat' OBSOLETE: Use MenuItemR(...)

GUIMenuItemC MenuItemR(const StringC & label,DataT & dat,ScopePath (*)(FuncArgList) func)
Create new menu item, connect to a function.
This does NOT hold a refrence to item 'dat'

GUIMenuItemC MenuItem(const StringC & label,const ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())
Create new menu item, connect to a function.

GUIMenuItemC MenuItemRef(const StringC & label,ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())
Create new menu item, connect to a function.
This does NOT hold a refrence to item 'dat'

GUIMenuItemC MenuItem(const StringC & label,const ObjT & obj,ScopePath (*)(FuncArgList) func,const Data1T & dat1 = Data1T(),const Data2T & dat2 = Data2T())
Create new menu item, connect to a function.

GUIMenuItemC MenuItemR(const StringC & label,ObjT & obj,ScopePath (*)(FuncArgList) func,const Data1T & dat1 = Data1T(),const Data2T & dat2 = Data2T())
Create new menu item, connect to a function.

GUIMenuItemC MenuItem(const StringC & label)
Do nothing...

GUIMenuItemC MenuItemSeparator()
Do nothing...

GUIMenuItemC MenuItem(const StringC & label,ScopePath (*)(FuncArgList) func)
Simply call a function.

GUIMenuItemC MenuItemShow(const StringC & label,const GUIWidgetC & widge)
Send 'Show' request to a widget, from a menu item.
Calls 'show' of another widget when menu item is selected.

#include "amma/GUI/Label.hh"
GUILabelC Label(const char * label,const char * tooltip = 0)
Create a text label.
With an optional tooltip. (Doesn't work at the moment...)

#include "amma/GUI/FileSelector.hh"
GUIFileSelectorC FileSelector(const StringC & fsname,ScopePath (*)(FuncArgList) func,const FilenameC & filename = StringC())
Call a function.

GUIFileSelectorC FileSelector(const StringC & fsname,const DataT & obj,ScopePath (*)(FuncArgList) func,const StringC & fn = StringC())
Call a function.

GUIFileSelectorC FileSelector(const StringC & fsname,const StringC & filename,ScopePath (*)(FuncArgList) func,const DataT & dat)
Call a method.
Hold only a refrence to the destination class.

GUIFileSelectorC FileSelectorR(const StringC & fsname,DataT & obj,ScopePath (*)(FuncArgList) func,const StringC & fn = StringC())

#include "amma/GUI/TextEntry.hh"
GUITextEntryC TextEntry(const StringC & def,int maxLen = -1)
Create a text entry.

GUITextEntryC TextEntry(const StringC & def,const DataT & dat,ScopePath (*)(FuncArgList) func,int maxLen = -1,BooleanT sigAllChanges = false)

GUITextEntryC TextEntryR(const StringC & def,DataT & dat,ScopePath (*)(FuncArgList) func,int maxLen = -1,BooleanT sigAllChanges = false)

GUITextEntryC TextEntry(const StringC & def,ScopePath (*)(FuncArgList) func,const DataT & dat,int maxLen = -1,BooleanT sigAllChanges = false)

#include "amma/GUI/Slider.hh"
GUISliderC SliderV(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,const DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Vertical slider with call back to class.

GUISliderC SliderV(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,ScopePath (*)(FuncArgList) func,const ParmT & pt = ParmT())
Vertical slider with call back to function.

GUISliderC SliderH(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,const DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Horizontal slider with call back to class.

GUISliderC SliderH(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,ScopePath (*)(FuncArgList) func,const ParmT & pt = ParmT())
Horizontal slider with call back to function.

GUISliderC SliderV(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,ScopePath (*)(FuncArgList) func,const DataT & data = DataT())
Veritical slider with call back to function.

GUISliderC SliderH(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,ScopePath (*)(FuncArgList) func,const DataT & data = DataT())
Horizontal slider with call back to function.

GUISliderC SliderVR(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Vertical slider with refrence call back to class.

GUISliderC SliderHR(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Horizontal slider with refrence call back to class.

#include "amma/GUI/CanvasF.hh"
GUICanvasC Canvas(int x,int y,GUICanvasFBodyC<DataT>::FuncT func,const DataT & dat = DataT())

GUICanvasC Canvas(int x,int y)

#include "amma/GUI/ToggleButton.hh"
GUIToggleButtonC ToggleButton(const char * label,BooleanT initState)
Construct a toggle button.

GUIToggleButtonC ToggleButton(const char * label,BooleanT initState,const ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC CheckButton(const char * label,BooleanT initState)

GUIToggleButtonC CheckButton(const char * label,BooleanT initState,const ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC ToggleButton(const char * label,const char * tooltip,BooleanT initState,const ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC CheckButton(const char * label,const char * tooltip,BooleanT initState,const ObjT & obj,ScopePath (*)(FuncArgList) func)
/// Refrence //////////////////////////

GUIToggleButtonC ToggleButtonR(const char * label,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC ToggleButtonR(const char * label,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat)

GUIToggleButtonC CheckButtonR(const char * label,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC CheckButtonR(const char * label,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat)

GUIToggleButtonC ToggleButtonR(const char * label,const char * tooltip,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIToggleButtonC CheckButtonR(const char * label,const char * tooltip,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func)

#include "amma/GUI/Combo.hh"
GUIComboC Combo(const DListC<StringC> & lst,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT(),BooleanT editable = true)
Contruct a combo box, call back to function.

GUIComboC Combo(const DListC<StringC> & lst,const DataT & dat,ScopePath (*)(FuncArgList) func,BooleanT editable = true)
Contruct a combo box, call back to method in class.

GUIComboC Combo(const DListC<StringC> & lst,const char * tooltip,const DataT & dat,ScopePath (*)(FuncArgList) func,BooleanT editable = true)
Contruct a combo box, call back to method in class.
With tooltip.

GUIComboC ComboR(const DListC<StringC> & lst,DataT & dat,ScopePath (*)(FuncArgList) func,BooleanT editable = true)
Contruct a combo box, call back to method in refrenced class.

GUIComboC ComboR(const DListC<StringC> & lst,char * tooltip,const DataT & dat,ScopePath (*)(FuncArgList) func,BooleanT editable = true)
Contruct a combo box, call back to method in refrenced class.
With tooltip.

#include "amma/GUI/List.hh"
GUIListC List(const DListC<StringC> & lst,ScopePath (*)(FuncArgList) func,const DataT & dat = DataT())

GUIListC List(const DListC<StringC> & lst,const DataT & dat,ScopePath (*)(FuncArgList) func)

#include "amma/GUI/MenuCheck.hh"
GUIMenuCheckItemC MenuCheckItem(const StringC & label,ScopePath (*)(FuncArgList) func,const Data1T & dat1 = Data1T())

GUIMenuCheckItemC MenuCheckItem(const StringC & label,const DataT & obj,ScopePath (*)(FuncArgList) func)

GUIMenuCheckItemC MenuCheckItemRef(const StringC & label,DataT & obj,ScopePath (*)(FuncArgList) func)
Menu check item, call refrenced class's method.
OBSOLETE: Use MenuCheckItermR.

GUIMenuCheckItemC MenuCheckItemR(const StringC & label,DataT & obj,ScopePath (*)(FuncArgList) func)
Menu check item, call refrenced class's method.

GUIMenuCheckItemC MenuCheckItem(const StringC & label,BooleanT initActive,const DataT & obj,ScopePath (*)(FuncArgList) func)

GUIMenuCheckItemC MenuCheckItemRef(const StringC & label,BooleanT initActive,DataT & obj,ScopePath (*)(FuncArgList) func)
OBSOLETE: Use MenuCheckItermR.

GUIMenuCheckItemC MenuCheckItemR(const StringC & label,BooleanT initActive,DataT & obj,ScopePath (*)(FuncArgList) func)

#include "amma/GUI/SpinButton.hh"
GUISpinButtonC SpinButton(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,const DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Construct spin button with callback to class method.

GUISpinButtonC SpinButtonR(RealT nvalue,RealT nlower,RealT nupper,RealT nstep_increment,DataT & obj,ScopePath (*)(FuncArgList) func,RealT defVal = 0)
Construct spin button with callback to refrenced class method.

#include "amma/GUI/Separator.hh"
GUISeparatorC Separator(BooleanT vert)
Create a separator.

GUISeparatorC VSeparator()
Create a vertical separator.

GUISeparatorC HSeparator()
Create a horizontal separator.

#include "amma/GUI/VLabel.hh"
GUIVLabelC VLabel(const char * label,const char * tooltip = 0)
Create a text label.
With an optional tooltip. (Doesn't work at the moment...)

#include "amma/GUI/RadioButton.hh"
GUIRadioButtonC RadioButton(const char * label,const GUIRadioButtonGroupT & group)
Construct a toggle button.

GUIRadioButtonC RadioButton(const char * label,const GUIRadioButtonGroupT & group,const ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIRadioButtonC RadioButton(const char * label,const GUIRadioButtonGroupT & group,ScopePath (*)(FuncArgList) func)

GUIRadioButtonC RadioButton(const char * label,const GUIRadioButtonGroupT & group,ScopePath (*)(FuncArgList) func,const DataT & v)

GUIRadioButtonC RadioButton(const char * label,const char * tooltip,const GUIRadioButtonGroupT & group,const ObjT & obj,ScopePath (*)(FuncArgList) func)
/// Refrence //////////////////////////

GUIRadioButtonC RadioButtonR(const char * label,const GUIRadioButtonGroupT & group,ObjT & obj,ScopePath (*)(FuncArgList) func)

GUIRadioButtonC RadioButtonR(const char * label,const GUIRadioButtonGroupT & group,ObjT & obj,ScopePath (*)(FuncArgList) func,const DataT & dat)

GUIRadioButtonC RadioButtonR(const char * label,const char * tooltip,const GUIRadioButtonGroupT & group,BooleanT initState,ObjT & obj,ScopePath (*)(FuncArgList) func)

#include "amma/GUI/VUIDisplayMap.hh"
DisplayMapC & DefaultDisplayMap()
Access default display map.
Note, in a multithreaded enviroment this should not be modified after the initalisation phase is completed. i.e. After it is possible more than one thread could access it.



#include "amma/GUI/VUIGeomRender.hh"
ViewGeom2dRenderC ViewGeomRenderObject(StdView::ObjectC & obj)
Render geom point.


Documentation by CxxDoc: Tue Mar 20 10:50:54 2001
Centre for Vision, Speech & Signal Processing