vidl_vil1_movie Class Reference

#include <vidl_vil1_movie.h>

Inheritance diagram for vidl_vil1_movie:

vbl_ref_count List of all members.

Detailed Description

Video movie.

A vidl_vil1_movie is a movie sequence It is basically a list of clips. See also vidl_vil1_frame and vidl_vil1_clip.

Definition at line 25 of file vidl_vil1_movie.h.


Public Member Functions

 vidl_vil1_movie ()
 Constructor.
 vidl_vil1_movie (vidl_vil1_clip_sptr clip)
 Constructor, build a movie with the single given clip.
 ~vidl_vil1_movie ()
 destructor.
 vidl_vil1_movie (vidl_vil1_movie const &x)
vidl_vil1_movieoperator= (const vidl_vil1_movie &)
vidl_vil1_frame_sptr get_frame (int n)
 Get the frame numbered n (frames are numbered from 0 to total-1).
vil1_image get_image (int n)
int length () const
 Give back the number of frames of the movie.
unsigned int frame_rate () const
void set_frame_rate (unsigned int fr)
vcl_list< vidl_vil1_clip_sptrget_clips () const
int width () const
 Return the horizontal size of the frames in the movie.
int height () const
 Return the vertical size of the frames in the movie.
void add_clip (vidl_vil1_clip_sptr clip)
 Add a clip at the end of the movie.
frame_iterator first ()
frame_iterator last ()
frame_iterator begin ()
frame_iterator end ()
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Protected Attributes

vcl_list< vidl_vil1_clip_sptrclip_

Private Attributes

unsigned int frame_rate_

Classes

class  frame_iterator

Constructor & Destructor Documentation

vidl_vil1_movie::vidl_vil1_movie (  ) 

Constructor.

Definition at line 19 of file vidl_vil1_movie.cxx.

vidl_vil1_movie::vidl_vil1_movie ( vidl_vil1_clip_sptr  clip  ) 

Constructor, build a movie with the single given clip.

Definition at line 23 of file vidl_vil1_movie.cxx.

vidl_vil1_movie::~vidl_vil1_movie (  ) 

destructor.

Definition at line 34 of file vidl_vil1_movie.cxx.

vidl_vil1_movie::vidl_vil1_movie ( vidl_vil1_movie const &  x  )  [inline]

Definition at line 34 of file vidl_vil1_movie.h.


Member Function Documentation

vidl_vil1_movie& vidl_vil1_movie::operator= ( const vidl_vil1_movie  ) 

vidl_vil1_frame_sptr vidl_vil1_movie::get_frame ( int  n  ) 

Get the frame numbered n (frames are numbered from 0 to total-1).

Definition at line 39 of file vidl_vil1_movie.cxx.

vil1_image vidl_vil1_movie::get_image ( int  n  ) 

Definition at line 56 of file vidl_vil1_movie.cxx.

int vidl_vil1_movie::length (  )  const

Give back the number of frames of the movie.

Definition at line 69 of file vidl_vil1_movie.cxx.

unsigned int vidl_vil1_movie::frame_rate (  )  const [inline]

Definition at line 44 of file vidl_vil1_movie.h.

void vidl_vil1_movie::set_frame_rate ( unsigned int  fr  )  [inline]

Definition at line 45 of file vidl_vil1_movie.h.

vcl_list<vidl_vil1_clip_sptr> vidl_vil1_movie::get_clips (  )  const [inline]

Definition at line 47 of file vidl_vil1_movie.h.

int vidl_vil1_movie::width (  )  const

Return the horizontal size of the frames in the movie.

Check that all the movies do have the same size, output an error if not

Definition at line 81 of file vidl_vil1_movie.cxx.

int vidl_vil1_movie::height (  )  const

Return the vertical size of the frames in the movie.

Check that all the movies do have the same size, output an error if not

Definition at line 102 of file vidl_vil1_movie.cxx.

void vidl_vil1_movie::add_clip ( vidl_vil1_clip_sptr  clip  ) 

Add a clip at the end of the movie.

Definition at line 62 of file vidl_vil1_movie.cxx.

frame_iterator vidl_vil1_movie::first (  )  [inline]

Definition at line 167 of file vidl_vil1_movie.h.

frame_iterator vidl_vil1_movie::last (  )  [inline]

Definition at line 168 of file vidl_vil1_movie.h.

frame_iterator vidl_vil1_movie::begin (  )  [inline]

Definition at line 169 of file vidl_vil1_movie.h.

frame_iterator vidl_vil1_movie::end (  )  [inline]

Definition at line 170 of file vidl_vil1_movie.h.


Member Data Documentation

unsigned int vidl_vil1_movie::frame_rate_ [private]

Definition at line 56 of file vidl_vil1_movie.h.

vcl_list<vidl_vil1_clip_sptr> vidl_vil1_movie::clip_ [protected]

Definition at line 60 of file vidl_vil1_movie.h.


The documentation for this class was generated from the following files:
Generated on Tue Dec 2 05:09:14 2008 for core/vidl_vil1 by  doxygen 1.5.1