Go up one levelGo to Previous Go to Next

RtdImageZoom(n)

NAME

 
 RtdImageZoom - itcl widget managing the RtdImage zoom window

NAMESPACE

 
 rtd

PARENT CLASS

 
 util::FrameWidget

SYNOPSIS

 
 RtdImageZoom <path> ?options?

DESCRIPTION

 
 Note: It is better to use the RtdImageZoomView class, since this class
 is outdated and being phased out.

 This [incr Tk] widget class can be used to display a magnified portion
 of the image while tracking mouse motion events in the image window.
 There are two versions of this widget, see RtdImageZoomView(n) for the
 other one. This version takes a caller supplied Tk frame and zooms
 directly from the main image's XImage to the frame, but does not
 display an accurate image when the main image is "subsampled"
 (shrunk).

 The main part of this widget is implemented in C++ by the rtdimage
 subcommand "zoom".

 This widget is a subclass of FrameWidget, so it inherits its methods
 and options. In addition the options and methods below are defined.


ITK COMPONENTS

 
 check
        Checkbutton to turn zoom on/off.

 frame
        Zoom frame.

WIDGET OPTIONS

 
 -factor
        Zoom factor (window size should be a multiple of this).

 -height
        Height of zoom frame.

 -shelp
        Help text displayed when mouse enters widget.

 -target_image
        Target RtdImage itcl widget.

 -usexshm
        X shared memory option.

 -usexsync
        X synchronisation option.

 -width
        Width of zoom frame.

PUBLIC METHODS

 
 enter_image {image}
        This method is called when the mouse ptr enters an RtdImage.  Set
        the target scale factor from the given rtdimage.

 leave_image {image}
        This method is called when the mouse ptr leaves an RtdImage.
        clear out the zoom image.

 scale {}
        Called when the main image is scaled. .

 zoom {}
        Called when the zoom checkbutton is pressed.

PROTECTED VARIABLES

 
 zoom_
        Internal zoom frame.

SEE ALSO

 
 FrameWidget(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