IMAGEFRAME__DEFINE Name
ImageFrame Purpose
This object implements a class for handling image data. This object is
conceptually identical to a CatImage object, except that the image data
is not stored directly in the object. Rather, a pointer to an ImageStack
object, a frame number, and a slice orientation are used to access the
image data when needed for display. This object was used in a medical
imaging application in support of volumentric image data.
Authors
FANNING SOFTWARE CONSULTING BURRIDGE COMPUTING
1645 Sheely Drive 18 The Green South
Fort Collins Warborough, Oxon
CO 80526 USA OX10 7DN, ENGLAND
Phone: 970-221-0438 Phone: +44 (0)1865 858279
E-mail: davidf@dfanning.com E-mail: davidb@burridgecomputing.co.uk
Superclasses
CATDATAATOM
CATATOM
CATCONTAINER
IDL_CONTAINER Syntax
imageObject = OBJ_NEW ('ImageFrame', imageStack)
CLASS DEFINITION:
class = { ImageFrame, $ ; The ImageFrame object class.
_stack : Obj_New(), $ ; The IMAGESTACK object.
_display_mode : 0B, $ ; A flag indicating which display method to use for drawing.
_inverse : 0B, $ ; If this flag is set, the image is drawn in inverse color.
_keep_aspect : 0L, $ ; Flag: Keep the aspect ratio when calculating image position.
_location : DblArr(6,2), $ ; Location information about the "displayed" image.
_interpolate : 0L, $ ; Flag: When set, bilinear interpolation is used.
_order : 0L, $ ; Image display order.
_out_xsize : 0L, $ ; The output X size of the image. (Display_Mode=1 and Display_Mode=2)
_out_ysize : 0L, $ ; The output Y size of the image. (Display_Mode=1 and Display_Mode=2)
_position : DblArr(4), $ ; The position of the image in the output window. (Display_Mode=0)
_xsize : 0L, $ ; The X size of the image.
_xstart : 0L, $ ; The starting X location for displaying image. (Display_Mode=1)
_ysize : 0L, $ ; The Y size of the image.
_ystart : 0L, $ ; The starting Y location for displaying image. (Display_Mode=1)
_wid : Obj_New(), $ ; The window object where this image should be displayed.
_window_position: 0L, $ ; The window position for displaying this image. (Display_Mode=2)
_orientation : "", $ ; The orientation of the slice: "X", "Y", or "Z" (the default).
_framenumber : 0L, $ ; The frame number.
_thick : 0L, $ ; The "thickness" of the image slice. (See IMAGESTACK documentation.)
INHERITS CatDataAtom $ ; Subclassed from CATDATAATOM.
}
Modification History
Written by: David Fanning, 27 March 2003.