Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkGenericMovieWriter Class Reference

#include <vtkGenericMovieWriter.h>

Inheritance diagram for vtkGenericMovieWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkGenericMovieWriter:

Collaboration graph
[legend]
List of all members.

Detailed Description

an abstract movie writer class.

vtkGenericMovieWriter is the abstract base class for several movie writers. The input type is a vtkImageData. The Start() method will open and create the file, the Write() method will output a frame to the file (i.e. the contents of the vtkImageData), End() will finalize and close the file.

See also:
vtkAVIWriter vtkMPEG2Writer

Definition at line 34 of file vtkGenericMovieWriter.h.

Public Types

typedef vtkProcessObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInput (vtkImageData *input)
virtual vtkImageDataGetInput ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual void Start ()=0
virtual void Write ()=0
virtual void End ()=0
virtual int GetError ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkGenericMovieWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGenericMovieWriter ()
 ~vtkGenericMovieWriter ()

Protected Attributes

char * FileName
int Error


Member Typedef Documentation

typedef vtkProcessObject vtkGenericMovieWriter::Superclass
 

Reimplemented from vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

Definition at line 37 of file vtkGenericMovieWriter.h.


Constructor & Destructor Documentation

vtkGenericMovieWriter::vtkGenericMovieWriter  )  [protected]
 

vtkGenericMovieWriter::~vtkGenericMovieWriter  )  [protected]
 


Member Function Documentation

virtual const char* vtkGenericMovieWriter::GetClassName  )  [virtual]
 

Reimplemented from vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

static int vtkGenericMovieWriter::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

virtual int vtkGenericMovieWriter::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

static vtkGenericMovieWriter* vtkGenericMovieWriter::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

void vtkGenericMovieWriter::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 vtkProcessObject.

Reimplemented in vtkAVIWriter, and vtkMPEG2Writer.

virtual void vtkGenericMovieWriter::SetInput vtkImageData input  )  [virtual]
 

Set/Get the input object from the image pipeline.

virtual vtkImageData* vtkGenericMovieWriter::GetInput  )  [virtual]
 

virtual void vtkGenericMovieWriter::SetFileName const char *   )  [virtual]
 

Specify file name of avi file.

virtual char* vtkGenericMovieWriter::GetFileName  )  [virtual]
 

Specify file name of avi file.

virtual void vtkGenericMovieWriter::Start  )  [pure virtual]
 

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

Implemented in vtkAVIWriter, and vtkMPEG2Writer.

virtual void vtkGenericMovieWriter::Write  )  [pure virtual]
 

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

Implemented in vtkAVIWriter, and vtkMPEG2Writer.

virtual void vtkGenericMovieWriter::End  )  [pure virtual]
 

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

Implemented in vtkAVIWriter, and vtkMPEG2Writer.

virtual int vtkGenericMovieWriter::GetError  )  [virtual]
 

Was there an error on the last read performed?


Member Data Documentation

char* vtkGenericMovieWriter::FileName [protected]
 

Definition at line 69 of file vtkGenericMovieWriter.h.

int vtkGenericMovieWriter::Error [protected]
 

Definition at line 70 of file vtkGenericMovieWriter.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:45:59 2008 for VTK by  doxygen 1.4.3-20050530