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