AGDataObject


Synopsis

AGDataObject is a macro needed to connect to a 2D viewer

Input Ports

in AGGeometryPrimitive

input group+Node_Data

Output Port

obj DefaultObject

Description

AGDataObject is a modified DataObject from the Graphics Display Kit. It is specialized for the objects in the AG Kit.

Input Ports

in

Used to connect one AG object derived from AGGeometryPrimitive, (i.e., an object that can be rendered).

input

Used only for contouring and connects to a field from which the datamap in AGDataObject can retrieve a data range for correct coloring of contour plots.

Output Port

obj

You connect this to a 2D viewer for drawing. It can connect to a GroupObject or to a 2D camera as exists in the SimpleViewer2D. When connecting to the Viewer or the SimpleViewer, use the second red input port, which is a 2D camera. (See the AVS/Express Visualization Techniques manual for more information on GroupObject and Viewers.)

Examples

Libraries.Examples.Annotation_Graphing.contour2
examples/contour2.v

Libraries.Examples.Annotation_Graphing.logex2
examples/logex2.v

File

v/ag.v

See Also

Related modules

•      AGContour / AGContourObj

•      AGGeometryPrimitive / AGRenderPrimitive