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

# IO/vtkXMLDataSetWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkXMLDataSetWriter.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 =========================================================================*/
    00045 #ifndef __vtkXMLDataSetWriter_h
    00046 #define __vtkXMLDataSetWriter_h
    00047
    00048 #include "vtkXMLWriter.h"
    00049
    00050 class VTK_IO_EXPORT vtkXMLDataSetWriter : public vtkXMLWriter
    00051 {
    00052 public:
    00053   vtkTypeRevisionMacro(vtkXMLDataSetWriter,vtkXMLWriter);
    00054   void PrintSelf(ostream& os, vtkIndent indent);
    00055   static vtkXMLDataSetWriter* New();
    00056
    00058
    00059   void SetInput(vtkDataSet* input);
    00060   vtkDataSet* GetInput();
    00062
    00064   virtual int Write();
    00065
    00066 protected:
    00067   vtkXMLDataSetWriter();
    00068   ~vtkXMLDataSetWriter();
    00069
    00070   // Dummies to satisfy pure virtuals from superclass.
    00071   int WriteData();
    00072   const char* GetDataSetName();
    00073   const char* GetDefaultFileExtension();
    00074
    00075 private:
    00076   vtkXMLDataSetWriter(const vtkXMLDataSetWriter&);  // Not implemented.
    00077   void operator=(const vtkXMLDataSetWriter&);  // Not implemented.
    00078 };
    00079
    00080 #endif