Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkJPEGWriter Class Reference

Writes JPEG files. More...

#include <vtkJPEGWriter.h>

Inheritance diagram for vtkJPEGWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkJPEGWriter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Write ()
virtual void SetQuality (unsigned int)
virtual unsigned int GetQuality ()
virtual void SetProgressive (unsigned int)
virtual unsigned int GetProgressive ()
virtual void ProgressiveOn ()
virtual void ProgressiveOff ()

Static Public Methods

vtkJPEGWriter * New ()
int IsTypeOf (const char *type)
vtkJPEGWriter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkJPEGWriter ()
 ~vtkJPEGWriter ()
void WriteSlice (vtkImageData *data)

Detailed Description

Writes JPEG files.

Date:
2001/10/11 13:37:31
Revision:
1.3

vtkJPEGWriter writes JPEG files. It supports 1 and 3 component data of unsigned char. It relies on the IJG's libjpeg. Thanks to IJG for supplying a public jpeg IO library.

See also:
vtkJPEGReader
Tests:
vtkJPEGWriter (Tests)

Definition at line 62 of file vtkJPEGWriter.h.


Constructor & Destructor Documentation

vtkJPEGWriter::vtkJPEGWriter   [protected]
 

vtkJPEGWriter::~vtkJPEGWriter   [inline, protected]
 

Definition at line 87 of file vtkJPEGWriter.h.


Member Function Documentation

vtkJPEGWriter* vtkJPEGWriter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageWriter.

virtual const char* vtkJPEGWriter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

int vtkJPEGWriter::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

virtual int vtkJPEGWriter::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

vtkJPEGWriter* vtkJPEGWriter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

void vtkJPEGWriter::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 vtkImageWriter.

virtual void vtkJPEGWriter::Write   [virtual]
 

The main interface which triggers the writer to start.

Reimplemented from vtkImageWriter.

virtual void vtkJPEGWriter::SetQuality unsigned    int [virtual]
 

Compression quality. 0 = Low quality, 100 = High quality

virtual unsigned int vtkJPEGWriter::GetQuality   [virtual]
 

Compression quality. 0 = Low quality, 100 = High quality

virtual void vtkJPEGWriter::SetProgressive unsigned    int [virtual]
 

Progressive JPEG generation.

virtual unsigned int vtkJPEGWriter::GetProgressive   [virtual]
 

Progressive JPEG generation.

virtual void vtkJPEGWriter::ProgressiveOn   [virtual]
 

Progressive JPEG generation.

virtual void vtkJPEGWriter::ProgressiveOff   [virtual]
 

Progressive JPEG generation.

void vtkJPEGWriter::WriteSlice vtkImageData   data [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:34:27 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001