The Cine_Control module in conjunktion with the Image_Cache module controls and records the displays the objects in data viewer.
module Cine_Control<src_file="cinecntl.c"> { omethod+notify_inst create() = "CreateControl"; omethod+req update(.mode+read+notify+req, .rate+read+notify+req, .start+read+notify+req, .end+read+notify+req, .run+read+notify+req, .shell_visible+read+notify, .value+write, .true_rate+write ) = "UpdateControl"; omethod+notify_deinst destroy() = "DeleteControl"; int mode<NEportLevels={2,0}>; float rate<NEportLevels={2,0}>; int start<NEportLevels={2,0}>; int end<NEportLevels={2,0}>; Boolean run<NEportLevels={2,0}>; int value<NEportLevels={0,2}>; Boolean shell_visible; float true_rate; ptr hidden<NEvisible=0> = 0; };
Cine_Control module records all the movements of the objects displayed in the data viewer. In playback mode the movements are played with a set frame rate. Recorded is everything covering the data window, except the mouse pointer.
mode
Parameter for playing the loop forward (mode=0) or backward (mode=1)
rate
Reference to the frame rate value, via the parameter block, which is referenced by the &CineParams input.
start
Defines the start frame (usually set to 0)
end
Defines the end frame. Used with CineInteract the end frame is set automatically. With CineLoop the end frame has to be set.
run
Reference to the capture value, via the parameter block, which is referenced by the &CineParams input.
value
Value of the currently shown frame.
The Cine_Control module is used in the Functional Macro CineFunc and is cooperating with the Image_cache module.
An example application CineInteractEg and CineLoopEg is provided, which uses the AVS/Express sample data file mri.fld, to show the functionality of the macro.
iac_proj/cine/cine_mods.v contains the CineParams group, the Image_Cache module and the Cine_Control module V definitions.
unknown
Gorden Tausch Manchester Visualization Centre Tobias Schiebeck Manchester Visualization Centre
International AVS Centre Manchester Visualization Centre Kilburn Building University of Manchester Oxford Road Manchester United Kingdom M13 9PL
Image_Cache, CineInteract and CineLoop.