vtkTIFFWriter Class Reference

#include <vtkTIFFWriter.h>

Inheritance diagram for vtkTIFFWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkTIFFWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

write out image data as a TIFF file

vtkTIFFWriter writes image data as a TIFF data file. Data can be written uncompressed or compressed. Several forms of compression are supported including packed bits, JPEG, deflation, and LZW. (Note: LZW compression is currently under patent in the US and is disabled until the patent expires. However, the mechanism for supporting this compression is available for those with a valid license or to whom the patent does not apply.)

Examples:
vtkTIFFWriter (Examples)
Tests:
vtkTIFFWriter (Tests)

Definition at line 37 of file vtkTIFFWriter.h.


Public Types

enum  {
  NoCompression, PackBits, JPEG, Deflate,
  LZW
}
typedef vtkImageWriter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetCompression (int)
virtual int GetCompression ()
void SetCompressionToNoCompression ()
void SetCompressionToPackBits ()
void SetCompressionToJPEG ()
void SetCompressionToDeflate ()
void SetCompressionToLZW ()

Static Public Member Functions

static vtkTIFFWriterNew ()
static int IsTypeOf (const char *type)
static vtkTIFFWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTIFFWriter ()
 ~vtkTIFFWriter ()
virtual void WriteFile (ofstream *file, vtkImageData *data, int ext[6])
virtual void WriteFileHeader (ofstream *, vtkImageData *)
virtual void WriteFileTrailer (ofstream *, vtkImageData *)

Protected Attributes

void * TIFFPtr
int Compression

Member Typedef Documentation

Reimplemented from vtkImageWriter.

Definition at line 41 of file vtkTIFFWriter.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NoCompression 
PackBits 
JPEG 
Deflate 
LZW 

Definition at line 45 of file vtkTIFFWriter.h.


Constructor & Destructor Documentation

vtkTIFFWriter::vtkTIFFWriter (  )  [protected]

vtkTIFFWriter::~vtkTIFFWriter (  )  [inline, protected]

Definition at line 69 of file vtkTIFFWriter.h.


Member Function Documentation

static vtkTIFFWriter* vtkTIFFWriter::New (  )  [static]

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

Reimplemented from vtkImageWriter.

virtual const char* vtkTIFFWriter::GetClassName (  )  [virtual]

Reimplemented from vtkImageWriter.

static int vtkTIFFWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageWriter.

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

Reimplemented from vtkImageWriter.

static vtkTIFFWriter* vtkTIFFWriter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkImageWriter.

virtual void vtkTIFFWriter::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 vtkTIFFWriter::SetCompression ( int   )  [virtual]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

virtual int vtkTIFFWriter::GetCompression (  )  [virtual]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

void vtkTIFFWriter::SetCompressionToNoCompression (  )  [inline]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

Definition at line 60 of file vtkTIFFWriter.h.

void vtkTIFFWriter::SetCompressionToPackBits (  )  [inline]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

Definition at line 61 of file vtkTIFFWriter.h.

void vtkTIFFWriter::SetCompressionToJPEG (  )  [inline]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

Definition at line 62 of file vtkTIFFWriter.h.

void vtkTIFFWriter::SetCompressionToDeflate (  )  [inline]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

Definition at line 63 of file vtkTIFFWriter.h.

void vtkTIFFWriter::SetCompressionToLZW (  )  [inline]

Set compression type. Sinze LZW compression is patented outside US, the additional work steps have to be taken in order to use that compression.

Definition at line 64 of file vtkTIFFWriter.h.

virtual void vtkTIFFWriter::WriteFile ( ofstream *  file,
vtkImageData data,
int  ext[6] 
) [protected, virtual]

Reimplemented from vtkImageWriter.

virtual void vtkTIFFWriter::WriteFileHeader ( ofstream *  ,
vtkImageData  
) [protected, virtual]

Reimplemented from vtkImageWriter.

virtual void vtkTIFFWriter::WriteFileTrailer ( ofstream *  ,
vtkImageData  
) [protected, virtual]

Reimplemented from vtkImageWriter.


Member Data Documentation

void* vtkTIFFWriter::TIFFPtr [protected]

Definition at line 75 of file vtkTIFFWriter.h.

int vtkTIFFWriter::Compression [protected]

Definition at line 76 of file vtkTIFFWriter.h.


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

Generated on Sat Dec 27 13:54:22 2008 for VTK by  doxygen 1.5.6