VTK
vtkPolyDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPolyDataWriter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
27 #ifndef __vtkPolyDataWriter_h
28 #define __vtkPolyDataWriter_h
29 
30 #include "vtkDataWriter.h"
31 
32 class vtkPolyData;
33 
35 {
36 public:
37  static vtkPolyDataWriter *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
46 
47 protected:
50 
51  void WriteData();
52 
54 
55 private:
56  vtkPolyDataWriter(const vtkPolyDataWriter&); // Not implemented.
57  void operator=(const vtkPolyDataWriter&); // Not implemented.
58 };
59 
60 #endif
61 
62 
write vtk polygonal data
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:41
void PrintSelf(ostream &os, vtkIndent indent)
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:81
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkDataWriter * New()
#define VTK_IO_EXPORT
void WriteData()