ZoomBox

Synopsis

This module allows to zoom into the scene in the output window using shift + Left Mouse Button.

Input Ports

Name Type Description

obj DataObject Top object to be handled by Zoombox
view Scene Current view onto the object

Description

The Zoombox macro allows to select a rectangular area using Shift + left mouse button of the scene in the Uviewer3D. The Uviewer3D zooms in to the selected area to allow a more detailed view of the objects in the selected area.

It should be noted that as the high level macros require the use of a number of low level AVS/Express modules. These macros will only work with the AVS/Express developer edition.

Inputs

obj

Reference to the DataObject which is manipulated by the Zoombox. By default this input is connected to the Top object of the Uviewer3D.

view

View onto the object manipulated by Zoobox. By default this is connected to the current view of the scene in the Uviewer3D.

Utility Modules

The User Macro ZoomBox makes use of the Functional Macro ZoomBoxFunc.

Example

An example application ZoomBoxEg is provided, which loads a field file and allows to test the zoom functionality.

Files

iac_proj/zoombox/zoommacs.v contains the V definitions of the ZoomBoxFunc Functional Macro and the ZoomBox User Macro.

iac_proj/zoombox/zoomapps.v contains the V definition of the example application ZoomBoxEg.

Prerequisites

This project requires the following components to be installed correctly. Without these components the user level macros will not work correctly.

Other Notes

The ZoomBoxMacs library inherits its process. As this library contains no procedural code, the process is not important.

The high level macros use DV low level objects, and hence these macros require a license for the AVS/Express Developer Edition.

Author

Ali Bitar
Advanced Visual Systems, Inc.

Modifications

Tobias Schiebeck
International AVS Centre

Contact

International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL