animation_t Derived Type

type, public :: animation_t


Components

Type Visibility Attributes Name Initial
procedure(animate_interface), public, pointer, nopass :: animate_func => null()
integer, public :: frames = 0
integer, public :: interval_ms = DEFAULT_FRAME_INTERVAL_MS
logical, public :: save_frames = .false.
character(len=:), public, allocatable :: frame_pattern
class(figure_t), public, pointer :: fig => null()

Type-Bound Procedures

procedure, public :: run

  • private subroutine run(self)

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self

procedure, public :: save_png_sequence

  • private subroutine save_png_sequence(self, filename_pattern)

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self
    character(len=*), intent(in) :: filename_pattern

procedure, public :: set_save_frames

  • private subroutine set_save_frames(self, pattern)

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self
    character(len=*), intent(in) :: pattern

procedure, public :: save_frame_sequence

  • private subroutine save_frame_sequence(self, pattern)

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self
    character(len=*), intent(in) :: pattern

procedure, public :: set_figure

  • private subroutine set_figure(self, fig)

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self
    class(figure_t), intent(in), target :: fig

procedure, public :: save

  • private subroutine save(self, filename, fps, status)

    Save animation to video file - delegates to full pipeline implementation

    Arguments

    Type IntentOptional Attributes Name
    class(animation_t), intent(inout) :: self
    character(len=*), intent(in) :: filename
    integer, intent(in), optional :: fps
    integer, intent(out), optional :: status