VTK  9.0.2
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 =========================================================================*/
23 #ifndef vtkXMLPartitionedDataSetCollectionWriter_h
24 #define vtkXMLPartitionedDataSetCollectionWriter_h
25 
26 #include "vtkIOXMLModule.h" // For export macro
28 
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
39  const char* GetDefaultFileExtension() override { return "vtpc"; }
40 
41 protected:
44 
46 
47  // Internal method called recursively to create the xml tree for the children
48  // of compositeData.
50  vtkCompositeDataSet* compositeData, vtkXMLDataElement* parent, int& writerIdx) override;
51 
52 private:
55  void operator=(const vtkXMLPartitionedDataSetCollectionWriter&) = delete;
56 };
57 
58 #endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:34
Store vtkAlgorithm input/output information.
Writer for multi-group datasets.
Represents an XML element and those nested inside.
int WriteComposite(vtkCompositeDataSet *compositeData, vtkXMLDataElement *parent, int &writerIdx) override
Internal method called recursively to create the xml tree for the children of compositeData as well a...
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
static vtkXMLPartitionedDataSetCollectionWriter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453