IntroductionThis application allows to play a animation. This is like cuikanimate but shows a dialog that allow to control the animation (play, pause, move to a particular frame). This application produces a stream that must be redirected to actually see the animation. This is automatially done by the cuikplayer script (see the scripts folder). Definition in file cuikplay.c.
Macro Definition Documentation◆ RECORD
Set to 1 if you want to store snapshots during the animation. The snapshots are stored at /tmp/worldname_num.ppm where num is the frame number. Definition at line 62 of file cuikplay.c. Function Documentation◆ main()
Main body of the cuikplay application. Use:
Where:
File extensions are optional.
Definition at line 90 of file cuikplay.c. References Close3dBlock(), ClosePlot3d(), CreateFileName(), TCuikPlayControl::currentFrame, DEFAULT_TIME_DELAY, TCuikPlayControl::defaultDelay, TCuikPlayControl::delay, DeleteBox(), DeleteFileName(), DeleteListOfBoxes(), DeleteParameters(), DeleteTrajectory(), DeleteWorld(), TCuikPlayControl::end, Error(), FALSE, First(), GET_TIME, GetCurrent(), GetFileFullName(), GetFileName(), InitBoxFromPoint(), InitIterator(), InitParametersFromFile(), InitPlot3d(), InitWorldFromFile(), ListSize(), LoadTrajectory(), LookPlot3d(), TCuikPlayControl::maxFrame, TCuikPlayControl::mode, MoveTo(), MoveWorld(), NEW, TCuikPlayControl::nextFrame, TCuikPlayControl::nextTime, PARAM_EXT, PAUSED, PLAYING, PlotWorld(), ReadListOfBoxes(), SOL_EXT, SparsifyTrajectory(), Start3dBlock(), Take3dSnapshot(), TRUE, and WORLD_EXT. |
Follow us!