The "View2Datasets" Widget

This widget provides a control for viewing two datasets.

Library: karmawidets
Link With: -lkarmawidgets

Tables

View2Datasets_ResourceNamesList of resource names for View2Datasets widget
View2Datasets_ResourcesList of resources for View2Datasets widget

Functions

XkwView2DatasetsRegisterDatasetRegister a dataset.
XkwView2DatasetsInvalidatePlaneRegister the change in data of a plane.
XkwView2DatasetsInvalidateAllRegister the change in data of a dataset.
XkwView2DatasetsCanvasEventHandlerEvent handler provided by View2Datasets widget.


Tables


View2Datasets_ResourceNames

Name Purpose
XkwNcursorChangeCallback Callbacks when cursor moves
XkwNwmtitle The base title string to place above the window
XkwNverbose If TRUE verbose output is displayed


View2Datasets_Resources

Name Class Rep. Type Default
XkwNcursorCallback XtCCallback XtRCallback NULL
XkwNcreateAtInit XkwCCreateAtInit XtRBool FALSE
XkwNverbose XkwCVerbose XtRBool False
XkwNwmtitle XkwCWMtitle XtRString NULL


Functions


EXPERIMENTAL FUNCTION: subject to change without notice

flag XkwView2DatasetsRegisterDataset (Widget W, iarray pseudo, double min, double max, iarray red, iarray green, iarray blue, unsigned int set_number)

Register a dataset.

Parameters:

Returns: TRUE on success, else FALSE.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

void XkwView2DatasetsInvalidatePlane (Widget W, unsigned int set_number, unsigned int dim_index, unsigned long plane_index)

Register the change in data of a plane.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

void XkwView2DatasetsInvalidateAll (Widget W, unsigned int set_number)

Register the change in data of a dataset.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


EXPERIMENTAL FUNCTION: subject to change without notice

flag XkwView2DatasetsCanvasEventHandler (ViewableImage vimage, double x, double y, void *value, unsigned int event_code, void *e_info, void **f_info, double x_lin, double y_lin, unsigned int value_type, double x_im, double y_im, int x_pix, int y_pix)

This routine is a position event consumer for a world canvas which has a number of ViewableImage objects associated with it.

Parameters:

Returns: FALSE indicating that the event is still to be processed.
Multithreading Level: Unsafe


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