VTK  9.2.6
vtkXMLPartitionedDataSetWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPartitionedDataSetWriter.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
28#ifndef vtkXMLPartitionedDataSetWriter_h
29#define vtkXMLPartitionedDataSetWriter_h
30
31#include "vtkIOParallelXMLModule.h" // For export macro
32#include "vtkXMLWriter2.h"
33
34#include <string> // for std::string
35#include <vector> // for std::vector
36
38
39class VTKIOPARALLELXML_EXPORT vtkXMLPartitionedDataSetWriter : public vtkXMLWriter2
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
51
55 const char* GetDefaultFileExtension() override { return "vtpd"; }
56
57protected:
60
62
67 int GetDataSetMajorVersion() override { return 1; }
68 int GetDataSetMinorVersion() override { return 0; }
70
71 int FillInputPortInformation(int port, vtkInformation* info) override;
73
74private:
76 void operator=(const vtkXMLPartitionedDataSetWriter&) = delete;
77
78 bool WriteSummaryXML(vtkPartitionedDataSet* input, const std::vector<std::string>& allFilenames);
79};
80
81#endif
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
composite dataset to encapsulates a dataset consisting of partitions.
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