TOC PREV NEXT INDEX

geom_capture

Synopsis

Records, plays back, and encodes collections of images

Input Port

in_view

GDview_ref_templ

Parameters

The following table lists amimator's public parameters stored in the imcapParam subobject. They carry data and flags used by other objects in the macro. They are set by UI controls defined in the imcapUI subobject.

Name

Type

UI panel control

reset

int

UIbutton:
imcapUI.PlaybackControls.GoToStart

reset back

int

UIbutton:
imcapUI.PlaybackControls.GoTo nd

run

int

UI button:
imcapUI.PlaybackControls.Run Forwards

run back

int

UIbutton
imcapUI.PlaybackControls.RunBack

step

int

UIbutton
imcapUI.PlaybackControls.StepForward

step back

int

UIbutton
imcapUI.PlaybackControls.StepBack

run options

int

UIoptionMenu
imcapUI.PlaybackControls.RunOptions

mode

int

UIoptionMenu
imcapUI.ImageCapControls.Mode

capture mode

int

UIoptionMenu
imcapUI.ImageCapControls.CaptureMode

temp file dir

string

UItext
imcapUI.ImageCapControls.TempDir

clear

int

UIbutton:
imcapUI.ImageCapControls.Clear

record

int

UIbutton:
imcapUI.ImageCapControls.Record

delete

int

UIbutton:
imcapUI.ImageCapControls.Delete

movie mode

int

UIoptionMenu
imcapUI.MovieControls.Mode

filename

string

VUIFileSelector
imcapUI.MovieControls.FileSelector

gen movie

int

UIbutton:
imcapUI.MovieControls.Generate

Compress AVI

int

UIToggle
imcapUI.MovieControls.AVIcompress

Choose Compression Codec

 

UIbutton
imcapUI.MovieControls.AVIchooseCodec

current image

int

UIlabel
imcapUI.PlaybackControls.Current

total images

int

UIlabel
imcapUI.ImageCapControls.NumberOfFrames

Output Port

LFrameBuffer

Mesh_Unif+Node_Data

Description

The geom_capture module captures animations of geometries and saves them in a geometry flipbook format.

Input

in_view

GDview_ref_templ. Connection to a view.

Parameters

reset

When reset is set to nonzero, the animation is set to the first frame. If the animation is running, it continues from the first frame. reset is automatically reset to 0 after the reset is done.

reset back

UIbutton:intWhen reset_back is set to nonzero, the animation is set to the last frame. If the animation is running, it continues from the first frame. reset_back is automatically reset to 0 after the reset is done.

run

UIbutton. When nonzero, the animation runs. When the animation reaches the end, the run parameter is automatically set to zero unless the cycle parameter is nonzero. If run is set to zero while the loop is running, it stops at the current value until run is set to one.

run back

int__While run back is set to a non-zero value, the currrent sequence of frames is displayed backwards, from last to first, according to the mode set in the run options parameter. When the animated sequence is complete, run back is automatically reset to 0.
The run back parameter is set to 1 by the Run Backwards UIbutton control, and to 0 by the Stop control.

step

int__When step is set to a non-zero value, the current frame is advanced to the next frame forwards in the animation sequence. When the new frame is set, step is automatically reset to 0.
The step parameter is set by the StepForward UIbutton control in animUI.PlaybackControls.

step back

int__When step back is set to a non-zero value, the current frame is set to the previous frame in the animation sequence. When the new frame is set, step back is automatically reset to 0.
The step parameter is set by the StepBack UIbutton control in animUI.PlaybackControls.

run options

int__The run options parameter specifies one of three modes for running the animation:
·__0 = Once
·__1 = Cycle
·__2 = Bounce
The run options parameter is set by the RunOptions UIoptionMenu control in animUI.PlaybackControls

mode

Mode option menu to one of the capture options:
0 = Inactive
1 = Capture from View
Records images from the view connected to the LGDview port on the image capture object.
2 = Capture from Framebuffer
Records images from the view connected to the LInputFrameBuffer port on the image capture object.
3 = Playback to view
Plays back the images to the view connected to the LGDview port on the image capture object.
4 = Playback to Framebuffer
Plays back the images to the LFrameBuffer output port on the image capture object.

capture mode

0 = Disk
Saves the images to temporary files in the directory specified by filename.
1 = Memory saves the images to your computer's memory.

Temp file dir

The directory where temporary captured images files are stored.

clear

Clears all frames in the current animation.

record

Forces the creation of a frame for the current view.

delete

Deletes the current frame.

Format

Specifies the format of the animation to be created:

filename

Specifies the directory in which to create the animation file.

Output Port

LFrameBuffer

Mesh_Unif+Node_Data

Example

Not available

File

anim_ui.v

See also related modules

geom_replay

TOC PREV NEXT INDEX