Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/karma/lib/ImageDisplay.html
Дата изменения: Unknown
Дата индексирования: Wed Dec 26 00:06:14 2007
Кодировка:

Поисковые слова: р п р п р п р п р п р п п р п п р п п р п п р п п р п п р п п р п п р п
Widget: ImageDisplay

The "ImageDisplay" Widget

This widget allows you to create an image display application with minimal work. Many other widgets are created by this.

Library: karmawidgets
Link With: -lkarmawidgets

Tables

ImageDisplay_ResourceNamesList of resource names for ImageDisplay widget
ImageDisplay_ResourcesList of resources for ImageDisplay widget

Functions

XkwImageDisplayRefreshRefresh the active display canvas for an ImageDisplay widget.
XkwImageDisplayGetWindowGet/create the KDisplayDataWindow for an ImageDisplay widget.
XkwImageDisplaySetSmoothCallbackKtoggle callback for double buffering for an ImageDisplay widget.


Tables


ImageDisplay_ResourceNames List of resource names for ImageDisplay widget

Name Purpose
XkwNpseudoColourCanvas The PseudoColour world canvas
XkwNdirectColourCanvas The DirectColour world canvas
XkwNtrueColourCanvas The TrueColour world canvas
XkwNpseudoColourLeftCanvas The PseudoColour left world canvas
XkwNpseudoColourRightCanvas The PseudoColour right world canvas
XkwNdirectColourLeftCanvas The DirectColour left world canvas
XkwNdirectColourRightCanvas The DirectColour right world canvas
XkwNtrueColourLeftCanvas The TrueColour left world canvas
XkwNtrueColourRightCanvas The TrueColour right world canvas
XkwNvisibleCanvas The visible world canvas
XkwNmagnifier The magnifier popup
XkwNimageName The name of the image being shown
XkwNenableAnimation If TRUE the AnimateControl widget is created
XkwNshowAnimateButton If TRUE the "Movie" button is created
XkwNshowQuitButton If TRUE the "Quit" button is created
XkwNcmapSize The size of the PseudoColour colourmap
XkwNcmapMaster The location of a colourmap master (server)
XkwNfullscreen If TRUE the main window should be fullscreen
XkwNnumTrackLabels The number of track labels
XkwNview2Datasets If TRUE the View2Datasets widget is created
XkwNnumDatasets The number of datasets
XkwNmainRealisedCallback Callbacks when all main canvases are realised
XkwNafterMainRealisedCallback Callbacks after XkwNmainRealisedCallback called
XkwNdatasetNames The names of each dataset
XkwNnewVisibleCanvasCallback Callbacks for when the visible canvas changes
XkwNpanner The panner popup
XkwNverbose If TRUE verbose output is generated


ImageDisplay_Resources List of resources for ImageDisplay widget

Name Class Rep. Type Default
XkwNpseudoColourCanvas XkwCWorldCanvas XtRPointer NULL
XkwNdirectColourCanvas XkwCWorldCanvas XtRPointer NULL
XkwNtrueColourCanvas XkwCWorldCanvas XtRPointer NULL
XkwNpseudoColourLeftCanvas XkwCWorldCanvas XtRPointer NULL
XkwNpseudoColourRightCanvas XkwCWorldCanvas XtRPointer NULL
XkwNdirectColourLeftCanvas XkwCWorldCanvas XtRPointer NULL
XkwNdirectColourRightCanvas XkwCWorldCanvas XtRPointer NULL
XkwNtrueColourLeftCanvas XkwCWorldCanvas XtRPointer NULL
XkwNtrueColourRightCanvas XkwCWorldCanvas XtRPointer NULL
XkwNvisibleCanvas XkwCWorldCanvas XtRPointer NULL
XkwNcanvasList XkwCWorldCanvas XtRPointer NULL
XkwNmagnifier XtCWidget XtRWidget NULL
XkwNimageName XkwCImageName XtRString NULL
XkwNcreateFilepopup XkwCCreateFilepopup XtRBool True
XkwNenableAnimation XkwCEnableAnimation XtRBool False
XkwNshowQuitButton XkwCShowQuitButton XtRBool True
XkwNcmapSize XkwCCmapSize XtRInt 200
XkwNcmapMaster XkwCCmapMaster XtRString NULL
XkwNfullscreen XkwCFullscreen XtRBool False
XkwNnumTrackLabels XkwCNumTrackLabels XtRInt 0
XkwNviewDatasets XkwCViewDatasets XtRBool False
XkwNnumDatasets XkwCNumDatasets XtRInt 1
XkwNmainRealisedCallback XtCCallback XtRCallback NULL
XkwNafterMainRealisedCallback XtCCallback XtRCallback NULL
XkwNdatasetNames XkwCDatasetNames XtRPointer NULL
XkwNnewVisibleCanvasCallback XtCCallback XtRCallback NULL
XkwNpanner XtCWidget XtRWidget NULL
XkwNfastPanner XkwCFastPanner XtRBool True
XkwNupdateTrackLabels XkwCUpdateTrackLabels XtRBool False
XkwNnewEditorContextCallback XtCCallback XtRCallback NULL
XkwNmultiCanvas XtCWidget XtRWidget NULL
XkwNpseudoCmap XkwCColourmap XtRPointer NULL
XkwNrenzoPseudoCmap XkwCColourmap XtRPointer NULL
XkwNrenzoTrueCmap XkwCColourmap XtRPointer NULL
XkwNhueIntensityCmap XkwCColourmap XtRPointer NULL
XkwNrequestMask XkwCMask XtRInt ~0
XkwNallowedMask XkwCMask XtRInt ~0
XkwNpseudoXColourMap XtCColormap XtRColormap None
XkwNverbose XkwCVerbose XtRBool False


Functions


EXPERIMENTAL FUNCTION: subject to change without notice

void XkwImageDisplayRefresh (Widget W, flag clear)

This routine will refresh the active display canvas for the ImageDisplay widget. If the active canvas is a stereo canvas both the left and right canvases are refreshed.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

KDisplayDataWindow XkwImageDisplayGetWindow (Widget W)

Get/create the KDisplayDataWindow for an ImageDisplay widget.

Parameters:

Returns: The KDisplayDataWindow object.
Multithreading Level: Unsafe
Note:


EXPERIMENTAL FUNCTION: subject to change without notice

void XkwImageDisplaySetSmoothCallback (Widget w, XtPointer client_data, XtPointer call_data)

Ktoggle callback for double buffering for an ImageDisplay widget.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe
Note:


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services