VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOggTheoraWriter Class Reference

Uses the ogg and theora libraries to write video files. More...

#include <vtkOggTheoraWriter.h>

Inheritance diagram for vtkOggTheoraWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkOggTheoraWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkGenericMovieWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOggTheoraWriterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Start ()
void Write ()
void End ()
virtual void SetQuality (int)
virtual int GetQuality ()
virtual void SetRate (int)
virtual int GetRate ()

Static Public Member Functions

static vtkOggTheoraWriterNew ()
static int IsTypeOf (const char *type)
static vtkOggTheoraWriterSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const

Protected Attributes

vtkOggTheoraWriterInternal * Internals
int Initialized
int Quality
int Rate
int Subsampling
virtual void SetSubsampling (int)
virtual int GetSubsampling ()
virtual void SubsamplingOn ()
virtual void SubsamplingOff ()
 vtkOggTheoraWriter ()
 ~vtkOggTheoraWriter ()

Detailed Description

Uses the ogg and theora libraries to write video files.

vtkOggTheoraWriter is an adapter that allows VTK to use the ogg and theora libraries to write movie files. This class creates .ogv files containing theora encoded video without audio.

This implementation is based on vtkFFMPEGWriter and uses some code derived from the encoder example distributed with libtheora.

Tests:
vtkOggTheoraWriter (Tests)

Definition at line 39 of file vtkOggTheoraWriter.h.


Member Typedef Documentation

Reimplemented from vtkGenericMovieWriter.

Definition at line 43 of file vtkOggTheoraWriter.h.


Constructor & Destructor Documentation

Is the video to be encoded using 4:2:0 subsampling?

Is the video to be encoded using 4:2:0 subsampling?


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

static int vtkOggTheoraWriter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGenericMovieWriter.

virtual int vtkOggTheoraWriter::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGenericMovieWriter.

Reimplemented from vtkGenericMovieWriter.

virtual vtkObjectBase* vtkOggTheoraWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkGenericMovieWriter.

Reimplemented from vtkGenericMovieWriter.

void vtkOggTheoraWriter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkGenericMovieWriter.

void vtkOggTheoraWriter::Start ( ) [virtual]

These methods start writing an Movie file, write a frame to the file and then end the writing process.

Implements vtkGenericMovieWriter.

void vtkOggTheoraWriter::Write ( ) [virtual]

These methods start writing an Movie file, write a frame to the file and then end the writing process.

Implements vtkGenericMovieWriter.

void vtkOggTheoraWriter::End ( ) [virtual]

These methods start writing an Movie file, write a frame to the file and then end the writing process.

Implements vtkGenericMovieWriter.

virtual void vtkOggTheoraWriter::SetQuality ( int  ) [virtual]

Set/Get the compression quality. 0 means worst quality and smallest file size 2 means best quality and largest file size

virtual int vtkOggTheoraWriter::GetQuality ( ) [virtual]

Set/Get the compression quality. 0 means worst quality and smallest file size 2 means best quality and largest file size

virtual void vtkOggTheoraWriter::SetRate ( int  ) [virtual]

Set/Get the frame rate, in frame/s.

virtual int vtkOggTheoraWriter::GetRate ( ) [virtual]

Set/Get the frame rate, in frame/s.

virtual void vtkOggTheoraWriter::SetSubsampling ( int  ) [virtual]

Is the video to be encoded using 4:2:0 subsampling?

virtual int vtkOggTheoraWriter::GetSubsampling ( ) [virtual]

Is the video to be encoded using 4:2:0 subsampling?

virtual void vtkOggTheoraWriter::SubsamplingOn ( ) [virtual]

Is the video to be encoded using 4:2:0 subsampling?

virtual void vtkOggTheoraWriter::SubsamplingOff ( ) [virtual]

Is the video to be encoded using 4:2:0 subsampling?


Member Data Documentation

vtkOggTheoraWriterInternal* vtkOggTheoraWriter::Internals [protected]

Definition at line 77 of file vtkOggTheoraWriter.h.

Definition at line 79 of file vtkOggTheoraWriter.h.

Definition at line 80 of file vtkOggTheoraWriter.h.

Definition at line 81 of file vtkOggTheoraWriter.h.

Definition at line 82 of file vtkOggTheoraWriter.h.


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