VTK  9.3.20240423
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
26VTK_ABI_NAMESPACE_BEGIN
27class vtkPolyData;
28
29class VTKIOPARALLELXML_EXPORT vtkXMLPPolyDataWriter : public vtkXMLPUnstructuredDataWriter
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
40
44 const char* GetDefaultFileExtension() override;
45
46protected:
49
50 // see algorithm for more info
51 int FillInputPortInformation(int port, vtkInformation* info) override;
52
53 const char* GetDataSetName() override;
55
56private:
58 void operator=(const vtkXMLPPolyDataWriter&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Write PVTK XML PolyData files.
vtkPolyData * GetInput()
Get/Set the writer's input.
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.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkXMLUnstructuredDataWriter * CreateUnstructuredPieceWriter() override
static vtkXMLPPolyDataWriter * New()
const char * GetDataSetName() override
Superclass for PVTK XML unstructured data writers.
Superclass for VTK XML unstructured data writers.