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

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 =========================================================================*/
00038 #ifndef __vtkXMLPPolyDataWriter_h
00039 #define __vtkXMLPPolyDataWriter_h
00040 
00041 #include "vtkXMLPUnstructuredDataWriter.h"
00042 
00043 class vtkPolyData;
00044 
00045 class VTK_IO_EXPORT vtkXMLPPolyDataWriter : public vtkXMLPUnstructuredDataWriter
00046 {
00047 public:
00048   static vtkXMLPPolyDataWriter* New();
00049   vtkTypeRevisionMacro(vtkXMLPPolyDataWriter,vtkXMLPUnstructuredDataWriter);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051   
00053 
00054   void SetInput(vtkPolyData* input);
00055   vtkPolyData* GetInput();
00057   
00059   const char* GetDefaultFileExtension();
00060   
00061 protected:
00062   vtkXMLPPolyDataWriter();
00063   ~vtkXMLPPolyDataWriter();
00064   
00065   const char* GetDataSetName();
00066   vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter(); 
00067   
00068 private:
00069   vtkXMLPPolyDataWriter(const vtkXMLPPolyDataWriter&);  // Not implemented.
00070   void operator=(const vtkXMLPPolyDataWriter&);  // Not implemented.
00071 };
00072 
00073 #endif