VTK  9.2.6
vtkXMLPDataSetWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPDataSetWriter.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=========================================================================*/
32#ifndef vtkXMLPDataSetWriter_h
33#define vtkXMLPDataSetWriter_h
34
35#include "vtkIOParallelXMLModule.h" // For export macro
36#include "vtkXMLPDataWriter.h"
37
38class VTKIOPARALLELXML_EXPORT vtkXMLPDataSetWriter : public vtkXMLPDataWriter
39{
40public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
44
49
50protected:
53
54 // see algorithm for more info
55 int FillInputPortInformation(int port, vtkInformation* info) override;
56
57 // Override writing method from superclass.
58 int WriteInternal() override;
59
60 // Dummies to satisfy pure virtuals from superclass.
61 const char* GetDataSetName() override;
62 const char* GetDefaultFileExtension() override;
63 vtkXMLWriter* CreatePieceWriter(int index) override;
64
65private:
67 void operator=(const vtkXMLPDataSetWriter&) = delete;
68};
69
70#endif
abstract class to specify dataset behavior
Definition vtkDataSet.h:63
a simple class to control print indentation
Definition vtkIndent.h:40
Store vtkAlgorithm input/output information.
Write any type of PVTK XML file.
const char * GetDataSetName() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int WriteInternal() override
Override writing method from superclass.
vtkDataSet * GetInput()
Get/Set the writer's input.
vtkXMLWriter * CreatePieceWriter(int index) override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkXMLPDataSetWriter * New()
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
~vtkXMLPDataSetWriter() override
Write data in a parallel XML format.
Superclass for VTK's XML file writers.