Go up one levelGo to Previous Go to Next

RtdImageGrid(n)

NAME

 
 RtdImageGrid - itcl class to display an ra,dec grid over an image.

NAMESPACE

 
 rtd

PARENT CLASS

 
 util::FrameWidget

SYNOPSIS

 
 RtdImageGrid <path> ?options?

DESCRIPTION

 
 RtdImageGrid is an itcl class to display an ra,dec grid over the
 image.


WIDGET OPTIONS

 
 -color
        Grid line color.

 -image
        Main RtdImage widget (set by caller).

 -size
        Grid spacing, size of a grid box in arcsecs if not specified, a
        default is chosen based on the image.

PUBLIC METHODS

 
 hide {}
        Hide (stop showing) the grid.

 reset {}
        Reset the grid (redraw it, if needed, probably for a new image).

 show {}
        Show the grid with the current settings.

 size {}
        Return the actual size of the grid (space between lines) in
        arcsecs of degrees.

PROTECTED METHODS

 
 draw {}
        Draw the grid based on the current settings.

 draw_line {points}
        Draw a line with the given points.

 inc_dec {dec inc}
        Return dec + inc in deg.

 inc_ra {ra inc}
        Return ra + inc in deg.

PROTECTED VARIABLES

 
 canvas_
        Canvas window for image.

 image_
        Internal rtdimage widget for main image.

 pi_
        Const PI.

 size_
        Current size of grid in arc secs of deg (same as -size if
        specified, otherwise it is calculated based on the size of the
        image).

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