Go up one levelGo to Previous Go to Next

SkyCatHduChooser(n)

NAME

 
 SkyCatHduChooser - Itcl widget for displaying FITS extensions

NAMESPACE

 
 skycat

PARENT CLASS

 
 util::TopLevelWidget

SYNOPSIS

 
 SkyCatHduChooser <path> ?options?

DESCRIPTION

 
 This class defines a widget for displaying the HDUs in the current FITS
 image. The user can select a FITS table or image extension to display
 by clicking on an entry the list or on one of the small images
 displayed in a table.


ITK COMPONENTS

 
 buttons
        Button frame at bottom of window.

 image_table
        Frame (BLT table) used to display images in FITS extensions.

 table
        TableList(n) widget for displaying the list of HDUs.

WIDGET OPTIONS

 
 -catinfo
        Name of the FITS table containing catalog config info.

 -image
        Target SkyCatCtrl itcl class object.

PUBLIC METHODS

 
 show_hdu_list {}
        Update the list of HDUs and the image displays, if needed.

PROTECTED METHODS

 
 add_image_bindings {im hdu name}
        Add bindings to the given RtdImage itcl class object and set it to
        display the given HDU when clicked on.  The image's extension name
        is also given.

 delete_hdu {}
        Select an HDU to display. This makes it the current HDU (XXX TO BE
        DONE: should also delete entry from $catinfo table).

 display_fits_table {name hdu}
        Display the current FITS table.

 get_config_entry_from_fits_table {extname filename}
        Return the catalog config entry for the named FITS table, if
        available, or a default entry. If the current FITS file contains
        an HDU named $catinfo, with an entry for the named catalog
        ($extname), then extract and return that entry as a Tcl keyed
        list.

 init {}
        This method is called after the options have been evaluated.

 make_buttons {}
        Add a row of buttons at bottom.

 make_image_table {}
        Make a subwindow for displaying miniature versions of image
        extensions.

 make_short_help {}
        Add a short help window.

 make_table {}
        Make the table component for displaying the HDU info.

 resize {im new_width new_height}
        This method is called when the image window is resized.  The
        rtdImage widget and the new width and height are given.

 select_hdu {}
        This method is called when a line in the HDU list is selected.
        Update the states of the buttons depending on the selection.

 select_image_hdu {hdu}
        This method is called when the user clicks on an image HDU icon.
        Display the selected image and disable the delete button.

 set_hdu {}
        Set the HDU to display. Makes the currently selected HDU the
        current HDU.

PROTECTED VARIABLES

 
 ext_
        Array(HDUIndex,keyword) of image keyword and widget info.

 filename_
        Name of image file.

 image_
        Internal rtdimage object.

 imagetab_
        Table displaying image extensions.

 num_images_
        Number of image HDUs in the current FITS file.

 table_
        Table displaying the HDUs.

COMMON CLASS VARIABLES

 
 astrocat_
        C++ astrocat object use here to access catalog entries.

SEE ALSO

 
 TopLevelWidget(n)

 


- - - - - -
Last change: 07 May 99

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory