CONTOUR(3)

PACKAGE
contour - Routines to manipulate contour images

PURPOSE
These routines are meant to provide a high level mechanism to create and manipulate contour images (2-dimensional slices of Karma data structures). These contour images utilise the world canvases available in the <-canvas-> package, hence the resulting code is device independent. NOTE: THIS PACKAGE IS WORK IN PROGRESS. THE INTERFACE MAY CHANGE IN THE NEXT RELEASE, POSSIBLY WITHOUT NOTICE.

LIBRARY
karmagraphics

LINK WITH
-lkarmagraphics

FUNCTIONS

contour_init
    Initialise the package for a particular canvas.

contour_create_group
    Create a container to hold a group of KContourImage objects.

contour_destroy_group
    Destroy a group of KContourImage objects.

contour_create_restr
    Create contour image from 2D slice with restrictions.

contour_create_from_iarray
    Create a contour image from an Intelligent Array.

contour_create_sequence
    Create a sequence of contour images from a 3D slice.

contour_create_sequence_from_iarray
    Create a sequence of contour images from an Intelligent Array.

contour_destroy
    Destroy contour image.

contour_create_viewable_group
    Create container to hold group of KViewableContourImage objects.

contour_destroy_viewable_group
    Destroy a group of KViewableContourImage objects.

contour_create_viewable
    Create viewable contour image.

contour_create_viewable_sequence
    Create a sequence of viewable contour images.

contour_destroy_viewable
    Destroy a viewable contour image.

contour_set_active
    Set active state for a viewable contour image.

contour_set_all_inactive
    Clear active state for all viewable contour images in a group.

contour_register_data_change
    Notify data for contour image has changed.

contour_set_canvas_attributes
    Set the contour image attributes for a world canvas.

contour_set_levels
    Set/update the contour levels for a KContourImage object.

contour_set_group_levels
    Set/update contour levels for a group of KContourImage objects.

contour_set_level_styles
    Set/update contour level styles for KViewableContourImage object.

contour_set_group_level_styles
    Set/update clevel styles for KViewableContourImage objects.

contour_get_worldcanvas
    Get the world canvas for a viewable contour image.

contour_parse_levels
    Parse a textual contour level specification.

contour_unscale_levels
    Unscale contour levels.

TABLE contour_CANVAS_ATTRIBUTES
List of canvas attributes for contourable images
Name Get Type Set Type Meaning
CONTOUR_CANVAS_ATT_END End of varargs list
CONTOUR_CANVAS_ATT_COLOURNAME CONST char * Colour name

TABLE contour_CONTOUR_ATTRIBUTES
List of attributes for contourable images
Name Get Type Set Type Meaning
CONTOUR_CIMAGE_ATT_END End of varargs list
CONTOUR_CIMAGE_ATT_ACTIVE flag * flag Active state

AUTHOR
Richard Gooch (rgooch@atnf.csiro.au)

AVAILABLITY
The Karma Distribution is available for anonymous ftp from: ftp://ftp.atnf.csiro.au/pub/software/karma/ ftp://wuarchive.wustl.edu/graphics/graphics/packages/karma/ ftp://ftp.pwr.wroc.pl/pub/karma/ The Karma Home Page is: http://www.atnf.csiro.au/karma/