VTK  9.3.20240424
vtkXMLUniformGridAMRWriter.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
15#ifndef vtkXMLUniformGridAMRWriter_h
16#define vtkXMLUniformGridAMRWriter_h
17
18#include "vtkIOXMLModule.h" // For export macro
20
21VTK_ABI_NAMESPACE_BEGIN
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
32 const char* GetDefaultFileExtension() override { return "vth"; }
33
34protected:
37
43 int GetDataSetMajorVersion() override { return 1; }
44 int GetDataSetMinorVersion() override { return 1; }
45
46 int FillInputPortInformation(int port, vtkInformation* info) override;
47
48 // Internal method called recursively to create the xml tree for the children
49 // of compositeData.
51 vtkCompositeDataSet* compositeData, vtkXMLDataElement* parent, int& writerIdx) override;
52
53private:
55 void operator=(const vtkXMLUniformGridAMRWriter&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Writer for multi-group datasets.
Represents an XML element and those nested inside.
writer for vtkUniformGridAMR.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkXMLUniformGridAMRWriter * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkXMLUniformGridAMRWriter() override
int GetDataSetMajorVersion() override
Methods to define the file's major and minor version numbers.
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
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...