IO/vtkTIFFWriter.h Source File

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

# IO/vtkTIFFWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkTIFFWriter.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00042 #ifndef __vtkTIFFWriter_h
    00043 #define __vtkTIFFWriter_h
    00044
    00045 #include "vtkImageWriter.h"
    00046
    00047 class VTK_IO_EXPORT vtkTIFFWriter : public vtkImageWriter
    00048 {
    00049 public:
    00050   static vtkTIFFWriter *New();
    00051   vtkTypeRevisionMacro(vtkTIFFWriter,vtkImageWriter);
    00052   virtual void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00054 protected:
    00055   vtkTIFFWriter() {};
    00056   ~vtkTIFFWriter() {};
    00057
    00058   virtual void WriteFile(ofstream *file, vtkImageData *data,
    00059                          int ext[6]);
    00060   virtual void WriteFileHeader(ofstream *, vtkImageData *);
    00061 private:
    00062   vtkTIFFWriter(const vtkTIFFWriter&);  // Not implemented.
    00063   void operator=(const vtkTIFFWriter&);  // Not implemented.
    00064 };
    00065
    00066 #endif
    00067