Animation

Animations, such as point cloud fly-throughs, are generated from keyframes set by the user in the animation panel. The animation panel is accessed by selecting Extras‣Animation from the PYMEVisualize menus.

A populated Animation pane is shown in Fig. 13. Each row in the animation table represents a keyframe. A keyframe marks the end of a transition in the animation. A keyframe is set by rotating, translating, or zooming the data to have a desired look and then pressing Add in the Animation pane. Double-clicking on a row allows editing of the keyframe name, which can be used as a unique descriptor, and duration, which edits the length of the transition from the previous keyframe to this keyframe (note that the duration of the first keyframe is therefore a dummy variable). Selecting a row and pressing Delete removes the selected keyframe from the animation. Keyframes can be saved and loaded in a JSON format using Save and Load, respectively. All keyframes can be removed at once by pressing Clear.

When the play button is pressed, the animation will play in as a seamless transition through the keyframes in order. If Capture is pressed, a dialog will pop up and the user will choose a folder in which to save this animation as a series of image files. Expanding Settings… reveals a dropdown menu labeled Export file type, which allows the user to change the file type of the images exported to JPEG, PNG, or TIFF.

../_images/image_18.png

Fig. 13 Actively editing an animation keyframe in PYMEVisualize. This shows an animation with two keyframes added by rotating the data and pressing Add at each desired rotation. The second keyframe has been double-clicked, revealing an Edit VideoView window, which allows the user to change the name of the keyframe and the duration of the transition from the previous keyframe to this keyframe.