VTK  9.1.0
vtkXMLUniformGridAMRWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkXMLUniformGridAMRWriter.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=========================================================================*/
24#ifndef vtkXMLUniformGridAMRWriter_h
25#define vtkXMLUniformGridAMRWriter_h
26
27#include "vtkIOXMLModule.h" // For export macro
29
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
40 const char* GetDefaultFileExtension() override { return "vth"; }
41
42protected:
45
51 int GetDataSetMajorVersion() override { return 1; }
52 int GetDataSetMinorVersion() override { return 1; }
53
55
56 // Internal method called recursively to create the xml tree for the children
57 // of compositeData.
59 vtkCompositeDataSet* compositeData, vtkXMLDataElement* parent, int& writerIdx) override;
60
61private:
63 void operator=(const vtkXMLUniformGridAMRWriter&) = delete;
64};
65
66#endif
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:113
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...
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453