MeVisLabToolboxReference
macx::QuickTimeMovie Class Reference

Quicktime encapsulation. More...

#include <macQuickTimeMovie.h>

List of all members.

Public Member Functions

 QuickTimeMovie ()
 C-tor.
 ~QuickTimeMovie ()
 D-tor.
bool create ()
 Create an empty movie container.
bool canAddImages ()
 Returns 'true' if a movie container has been created successfully.
bool addImageFile (const std::string &filename, long durationInMilliSecs, const QTImageEncoderComponentDesc &component=QTImageEncoderComponentDesc(0, 0))
 Add the given image file to the movie (UTF8)
bool addMLImage (void *pagedImg, long durationInMilliSecs, const QTImageEncoderComponentDesc &component=QTImageEncoderComponentDesc(0, 0))
 Add an ML paged image to the movie.
bool save (const std::string &filename)
 Saves the movie (UTF8)
bool saveWithDialog (const std::string &filename, const QTMovieEncoderComponentDesc &component=QTMovieEncoderComponentDesc(0, 0))
 Pops up the chosen component's dialog to adjust settings (UTF8)

Static Public Member Functions

static std::list
< QTMovieEncoderComponentDesc
usefulAvailableMovieEncoderComponents ()
 Returns all available movie encoder components that are universally useable (e.g. avi, mov, mpg)
static std::list
< QTImageEncoderComponentDesc
usefulAvailableImageEncoderComponents ()
 Returns all available image encoder components that are universally useable for movies (e.g. Motion JPEG, MPEG4)
static std::list
< QTMovieEncoderComponentDesc
availableMovieEncoderComponents ()
 Returns all movie encoder components of the current system.
static std::list
< QTImageEncoderComponentDesc
availableImageEncoderComponents ()
 Returns all image encoder components of the current system for movies.
static const std::list
< QTMovieEncoderComponentDesc > & 
usefulMovieEncoderComponents ()
 Returns a static list of generally useful movie encoder components.
static const std::list
< QTImageEncoderComponentDesc > & 
usefulImageEncoderComponents ()
 Returns a static list of generally useful image encoder components for movies.
static std::string movieEncoderComponentName (const QTMovieEncoderComponentDesc &component)
 Return the human readable name of the given component.
static std::string imageEncoderComponentName (const QTImageEncoderComponentDesc &component)
 Return the human readable name of the given component.

Detailed Description

Quicktime encapsulation.

Definition at line 48 of file macQuickTimeMovie.h.


Constructor & Destructor Documentation

macx::QuickTimeMovie::QuickTimeMovie ( )

C-tor.

macx::QuickTimeMovie::~QuickTimeMovie ( )

D-tor.


Member Function Documentation

bool macx::QuickTimeMovie::addImageFile ( const std::string &  filename,
long  durationInMilliSecs,
const QTImageEncoderComponentDesc component = QTImageEncoderComponentDesc(0, 0) 
)

Add the given image file to the movie (UTF8)

bool macx::QuickTimeMovie::addMLImage ( void *  pagedImg,
long  durationInMilliSecs,
const QTImageEncoderComponentDesc component = QTImageEncoderComponentDesc(0, 0) 
)

Add an ML paged image to the movie.

static std::list<QTImageEncoderComponentDesc> macx::QuickTimeMovie::availableImageEncoderComponents ( ) [static]

Returns all image encoder components of the current system for movies.

static std::list<QTMovieEncoderComponentDesc> macx::QuickTimeMovie::availableMovieEncoderComponents ( ) [static]

Returns all movie encoder components of the current system.

bool macx::QuickTimeMovie::canAddImages ( )

Returns 'true' if a movie container has been created successfully.

bool macx::QuickTimeMovie::create ( )

Create an empty movie container.

static std::string macx::QuickTimeMovie::imageEncoderComponentName ( const QTImageEncoderComponentDesc component) [static]

Return the human readable name of the given component.

static std::string macx::QuickTimeMovie::movieEncoderComponentName ( const QTMovieEncoderComponentDesc component) [static]

Return the human readable name of the given component.

bool macx::QuickTimeMovie::save ( const std::string &  filename)

Saves the movie (UTF8)

bool macx::QuickTimeMovie::saveWithDialog ( const std::string &  filename,
const QTMovieEncoderComponentDesc component = QTMovieEncoderComponentDesc(0, 0) 
)

Pops up the chosen component's dialog to adjust settings (UTF8)

static std::list<QTImageEncoderComponentDesc> macx::QuickTimeMovie::usefulAvailableImageEncoderComponents ( ) [static]

Returns all available image encoder components that are universally useable for movies (e.g. Motion JPEG, MPEG4)

static std::list<QTMovieEncoderComponentDesc> macx::QuickTimeMovie::usefulAvailableMovieEncoderComponents ( ) [static]

Returns all available movie encoder components that are universally useable (e.g. avi, mov, mpg)

static const std::list<QTImageEncoderComponentDesc>& macx::QuickTimeMovie::usefulImageEncoderComponents ( ) [static]

Returns a static list of generally useful image encoder components for movies.

static const std::list<QTMovieEncoderComponentDesc>& macx::QuickTimeMovie::usefulMovieEncoderComponents ( ) [static]

Returns a static list of generally useful movie encoder components.


The documentation for this class was generated from the following file: