VTK  9.4.20250102
vtkCompositeDataWriter.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
48#ifndef vtkCompositeDataWriter_h
49#define vtkCompositeDataWriter_h
50
51#include "vtkDataWriter.h"
52#include "vtkIOLegacyModule.h" // For export macro
53
54VTK_ABI_NAMESPACE_BEGIN
63
64class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
65{
66public:
69 void PrintSelf(ostream& os, vtkIndent indent) override;
70
72
78
79protected:
82
84
87 void WriteData() override;
88 int FillInputPortInformation(int port, vtkInformation* info) override;
90
98 bool WriteBlock(ostream* fp, vtkDataObject* block);
99
100private:
102 void operator=(const vtkCompositeDataWriter&) = delete;
103};
104
105VTK_ABI_NAMESPACE_END
106#endif
abstract superclass for composite (multi-block or AMR) datasets
legacy VTK file writer for vtkCompositeDataSet subclasses.
bool WriteCompositeData(ostream *, vtkNonOverlappingAMR *)
int FillInputPortInformation(int port, vtkInformation *info) override
Performs the actual writing.
bool WriteCompositeData(ostream *, vtkPartitionedDataSet *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCompositeDataWriter * New()
bool WriteBlock(ostream *fp, vtkDataObject *block)
vtkCompositeDataSet * GetInput()
Get the input to this writer.
bool WriteCompositeData(ostream *, vtkMultiPieceDataSet *)
bool WriteCompositeData(ostream *, vtkPartitionedDataSetCollection *)
bool WriteCompositeData(ostream *, vtkHierarchicalBoxDataSet *)
void WriteData() override
Performs the actual writing.
bool WriteCompositeData(ostream *, vtkOverlappingAMR *)
vtkCompositeDataSet * GetInput(int port)
Get the input to this writer.
~vtkCompositeDataWriter() override
bool WriteCompositeData(ostream *, vtkMultiBlockDataSet *)
general representation of visualization data
helper class for objects that write VTK data files
Backwards compatibility class.
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
Composite dataset that organizes datasets into blocks.
composite dataset to encapsulates pieces of dataset.
A concrete instance of vtkUniformGridAMR to store uniform grids at different levels of resolution tha...
hierarchical dataset of vtkUniformGrids
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.