VTK  9.3.0
vtkXMLPPolyDataWriter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
20 #ifndef vtkXMLPPolyDataWriter_h
21 #define vtkXMLPPolyDataWriter_h
22 
23 #include "vtkIOParallelXMLModule.h" // For export macro
25 
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkPolyData;
28 
29 class VTKIOPARALLELXML_EXPORT vtkXMLPPolyDataWriter : public vtkXMLPUnstructuredDataWriter
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40 
44  const char* GetDefaultFileExtension() override;
45 
46 protected:
49 
50  // see algorithm for more info
52 
53  const char* GetDataSetName() override;
55 
56 private:
58  void operator=(const vtkXMLPPolyDataWriter&) = delete;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:80
Write PVTK XML PolyData files.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
~vtkXMLPPolyDataWriter() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetDataSetName() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkXMLPPolyDataWriter * New()
vtkPolyData * GetInput()
Get/Set the writer's input.
vtkXMLUnstructuredDataWriter * CreateUnstructuredPieceWriter() override
Superclass for PVTK XML unstructured data writers.
Superclass for VTK XML unstructured data writers.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447