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

write out image data as a TIFF file More...

#include <vtkTIFFWriter.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual int IsA (const char *type)
vtkTIFFWriterNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

void * TIFFPtr
int Compression

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 38 of file vtkTIFFWriter.h.


Member Typedef Documentation

Reimplemented from vtkImageWriter.

Definition at line 42 of file vtkTIFFWriter.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
NoCompression 
PackBits 
JPEG 
Deflate 
LZW 

Definition at line 46 of file vtkTIFFWriter.h.


Constructor & Destructor Documentation

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

Definition at line 70 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.

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

Reimplemented from vtkImageWriter.

Reimplemented from vtkImageWriter.

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

Reimplemented from vtkImageWriter.

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.

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.

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.

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.

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.

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 65 of file vtkTIFFWriter.h.

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

Reimplemented from vtkImageWriter.

virtual void vtkTIFFWriter::WriteFileHeader ( ofstream *  ,
vtkImageData ,
int  wExt[6] 
) [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 76 of file vtkTIFFWriter.h.

Definition at line 77 of file vtkTIFFWriter.h.


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