Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

IDLgrImage


Superclasses | Creation | Properties | Methods | Version History

An image object represents a mapping from a two-dimensional array of data values to a two dimensional array of pixel colors, resulting in a flat 2-D-scaled version of the image, drawn at Z = 0.

An IDLgrImage object is an atomic graphic object; it is one of the basic drawable elements of the IDL Object Graphics system, and it is not a container for other objects.

Transformations of IDLgrImage Objects

IDLgrImage objects are drawn at Z =0 and are positioned and sized with respect to two points:

p1 = [LOCATION(0), LOCATION(1), 0] 
p2 = [LOCATION(0) + DIMENSION(0), LOCATION(1) + DIMENSION(1), 0].  

where LOCATION and DIMENSION are properties of the image object. These points are transformed in three dimensions, resulting in screen space points designated as p1' and p2'. The image data is drawn on the display as a 2-D image within the 2-D rectangle defined by (p1'[0], p1'[1] - p2'[0], p2'[1]). The 2-D image data is scaled in two dimensions (not rotated) to fit into this projected rectangle and then drawn with Z buffering disabled.

Note
Image objects do not take into account the Z locations of other objects that may be included in the view object. This means that objects that are drawn to the destination object (window or printer) after the image is drawn will appear to be in front of the image, even if they are located at a negative Z value (behind the image object). Objects are drawn to a destination device in the order that they are added (via the Add method) to the model, view, or scene that contains them. To rotate or position image objects in three-dimensional space, use the IDLgrPolygon object with texture mapping enabled.

Superclasses

IDLitComponent

Creation

See IDLgrImage::Init.

Properties

Objects of this class have the following properties. See IDLgrImage Properties for details on individual properties.

 

In addition, objects of this class inherit the properties of all superclasses of this class.

Methods

This class has the following methods:

In addition, this class inherits the methods of its superclasses (if any).

Version History

Introduced: 5.0


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]