VTK  9.1.0
vtkXMLPartitionedDataSetCollectionWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLPartitionedDataSetCollectionWriter.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=========================================================================*/
25#ifndef vtkXMLPartitionedDataSetCollectionWriter_h
26#define vtkXMLPartitionedDataSetCollectionWriter_h
27
28#include "vtkIOParallelXMLModule.h" // For export macro
29#include "vtkXMLWriter2.h"
30
32
33class VTKIOPARALLELXML_EXPORT vtkXMLPartitionedDataSetCollectionWriter : public vtkXMLWriter2
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
45
49 const char* GetDefaultFileExtension() override { return "vtpc"; }
50
51protected:
54
56
61 int GetDataSetMajorVersion() override { return 1; }
62 int GetDataSetMinorVersion() override { return 0; }
64
65 int FillInputPortInformation(int port, vtkInformation* info) override;
67
68private:
71 void operator=(const vtkXMLPartitionedDataSetCollectionWriter&) = delete;
72
73 bool WriteSummaryXML(vtkPartitionedDataSetCollection* input,
74 const std::vector<std::vector<std::string>>& allFilenames);
75};
76
77#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Composite dataset that groups datasets as a collection.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Methods for various pipeline passes that can be overridden by subclasses to do the work for the reque...
int GetDataSetMinorVersion() override
Methods to define the file's major and minor version numbers.
static vtkXMLPartitionedDataSetCollectionWriter * New()
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetInputData(vtkPartitionedDataSetCollection *pd)
Primarily for backwards compatibility.
base class for new-style XML Writers
Definition: vtkXMLWriter2.h:49