VTK  9.4.20250130
vtkXMLPartitionedDataSetWriter.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
16#ifndef vtkXMLPartitionedDataSetWriter_h
17#define vtkXMLPartitionedDataSetWriter_h
18
19#include "vtkIOParallelXMLModule.h" // For export macro
20#include "vtkXMLWriter2.h"
21
22#include <string> // for std::string
23#include <vector> // for std::vector
24
25VTK_ABI_NAMESPACE_BEGIN
27
28class VTKIOPARALLELXML_EXPORT vtkXMLPartitionedDataSetWriter : public vtkXMLWriter2
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
40
44 const char* GetDefaultFileExtension() override { return "vtpd"; }
45
46protected:
49
51
56 int GetDataSetMajorVersion() override { return 1; }
57 int GetDataSetMinorVersion() override { return 0; }
59
60 int FillInputPortInformation(int port, vtkInformation* info) override;
62
63private:
65 void operator=(const vtkXMLPartitionedDataSetWriter&) = delete;
66
67 bool WriteSummaryXML(vtkPartitionedDataSet* input, const std::vector<std::string>& allFilenames);
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
composite dataset to encapsulates a dataset consisting of partitions.
XML writer for vtkPartitionedDataSet.
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for various pipeline passes that can be overridden by subclasses to do the work for the reque...
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkXMLPartitionedDataSetWriter * New()
void SetInputData(vtkPartitionedDataSet *pd)
Primarily for backwards compatibility.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int GetDataSetMinorVersion() override
Methods to define the file's major and minor version numbers.
~vtkXMLPartitionedDataSetWriter() override
base class for new-style XML Writers