VTK  9.4.20241221
vtkXMLPRectilinearGridWriter.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
21#ifndef vtkXMLPRectilinearGridWriter_h
22#define vtkXMLPRectilinearGridWriter_h
23
24#include "vtkIOParallelXMLModule.h" // For export macro
26
27VTK_ABI_NAMESPACE_BEGIN
29
30class VTKIOPARALLELXML_EXPORT vtkXMLPRectilinearGridWriter : public vtkXMLPStructuredDataWriter
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
41
45 const char* GetDefaultFileExtension() override;
46
47protected:
50
51 // see algorithm for more info
52 int FillInputPortInformation(int port, vtkInformation* info) override;
53
54 const char* GetDataSetName() override;
56 void WritePData(vtkIndent indent) override;
57
58private:
60 void operator=(const vtkXMLPRectilinearGridWriter&) = delete;
61};
62
63VTK_ABI_NAMESPACE_END
64#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
a dataset that is topologically regular with variable spacing in the three coordinate directions
Write PVTK XML RectilinearGrid files.
vtkRectilinearGrid * GetInput()
Get/Set the writer's input.
void WritePData(vtkIndent indent) override
Write Data associated with the input dataset.
~vtkXMLPRectilinearGridWriter() override
const char * GetDefaultFileExtension() override
Get the default file extension for files written by this writer.
static vtkXMLPRectilinearGridWriter * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetDataSetName() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkXMLStructuredDataWriter * CreateStructuredPieceWriter() override
Superclass for PVTK XML structured data writers.
Superclass for VTK XML structured data writers.