CineInteract
Synopsis
The CineIntercat macro records movements in the Data Viewer and replays them in a loop in a given speed.
Input Ports
| view |
DefaultView+DefaultView |
input for the current view of the data viewer |
Parameters
| capture |
int |
defines record mode on or off |
| playback |
int |
defines playback mode on or off |
| backward |
int |
defines backward mode on or off |
| rate |
float |
defines framerate |
Description
The CineInteract macro records all the movements of the displayed objects in the data viewer. In playback mode the movements are played with the given frame rate. Everything covering the data window, except mouse pointer is recorded. A simple UI macro is included.
Input Ports
view
The current view in the data viewer. The view is cached in the cache module of the CineFunc macro. The Cine_Control module in CineFunc controls the displayed frames in playback mode.
Parameters
capture
Can be controlled by a checkbox and switchs record mode on or off. The capture value is used by the Cine_Control and Image_cache module in the CineFunc macro.
playback
Can be controlled by a checkbox and switchs playback mode on or off. The playback value is used by Cine_Control and Image_cache module in the CineFunc macro.
backward
Can be controlled by a checkbox and switches the backwards mode on or off. The backward value is used by Cine_Control module in the CineFunc macro.
rate
Can be controlled by a slider and defines the current frame rate.
Utility Macros
The User Macro CineInteract combines the Functional Macro CineFunc with the UI Macro CineInteractUI, via the use of the common parameter block CineParams, to provide a usable macro in the visualization library.
Example
An example application CineInteractEg is provided, which uses the AVS/Express sample data file mri.fld, to show the functionality of the macro.
Files
iac_proj/cine/cine_macs.v contains the Functional Macro CineFunc, the User Macro CineInteract, the UI Macro CineInteractUI and the Example Application CineInteractEg.
This file contains the CineLoop macros as well.
Authors
unknown
Modifications
Gorden Tausch
Manchester Visualization Centre
Tobias Schiebeck
Manchester Visualization Centre
Contact
International AVS Centre
Manchester Visualization Centre
Kilburn Building
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
See Also
Image_Cache, Cine_Control and CineLoop.
|