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

IO/vtkXMLPPolyDataWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkXMLPPolyDataWriter.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00028 #ifndef __vtkXMLPPolyDataWriter_h
00029 #define __vtkXMLPPolyDataWriter_h
00030 
00031 #include "vtkXMLPUnstructuredDataWriter.h"
00032 
00033 class vtkPolyData;
00034 
00035 class VTK_IO_EXPORT vtkXMLPPolyDataWriter : public vtkXMLPUnstructuredDataWriter
00036 {
00037 public:
00038   static vtkXMLPPolyDataWriter* New();
00039   vtkTypeRevisionMacro(vtkXMLPPolyDataWriter,vtkXMLPUnstructuredDataWriter);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041   
00043 
00044   void SetInput(vtkPolyData* input);
00045   vtkPolyData* GetInput();
00047   
00049   const char* GetDefaultFileExtension();
00050   
00051 protected:
00052   vtkXMLPPolyDataWriter();
00053   ~vtkXMLPPolyDataWriter();
00054   
00055   const char* GetDataSetName();
00056   vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter(); 
00057   
00058 private:
00059   vtkXMLPPolyDataWriter(const vtkXMLPPolyDataWriter&);  // Not implemented.
00060   void operator=(const vtkXMLPPolyDataWriter&);  // Not implemented.
00061 };
00062 
00063 #endif