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

# IO/vtkDataSetWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkDataSetWriter.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 __vtkDataSetWriter_h
    00043 #define __vtkDataSetWriter_h
    00044
    00045 #include "vtkDataWriter.h"
    00046
    00047 class VTK_IO_EXPORT vtkDataSetWriter : public vtkDataWriter
    00048 {
    00049 public:
    00050   static vtkDataSetWriter *New();
    00051   vtkTypeRevisionMacro(vtkDataSetWriter,vtkDataWriter);
    00052   void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055
    00056   void SetInput(vtkDataSet *input);
    00057   vtkDataSet *GetInput();
    00059
    00060 protected:
    00061   vtkDataSetWriter() {};
    00062   ~vtkDataSetWriter() {};
    00063
    00064   void WriteData();
    00065
    00066 private:
    00067   vtkDataSetWriter(const vtkDataSetWriter&);  // Not implemented.
    00068   void operator=(const vtkDataSetWriter&);  // Not implemented.
    00069 };
    00070
    00071 #endif
    00072
    00073