VTK  9.6.20260422
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
47
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
62
63class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
64{
65public:
68 void PrintSelf(ostream& os, vtkIndent indent) override;
69
71
77
78protected:
81
83
86 bool WriteDataAndReturn() override;
87 int FillInputPortInformation(int port, vtkInformation* info) override;
89
96 bool WriteBlock(ostream* fp, vtkDataObject* block);
97
98private:
100 void operator=(const vtkCompositeDataWriter&) = delete;
101};
102
103VTK_ABI_NAMESPACE_END
104#endif
abstract superclass for composite (multi-block or AMR) datasets
bool WriteCompositeData(ostream *, vtkNonOverlappingAMR *)
int FillInputPortInformation(int port, vtkInformation *info) override
Performs the actual writing.
bool WriteDataAndReturn() 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 *, vtkOverlappingAMR *)
vtkCompositeDataSet * GetInput(int port)
Get the input to this writer.
~vtkCompositeDataWriter() override
bool WriteCompositeData(ostream *, vtkMultiBlockDataSet *)
general representation of visualization data
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 vtkAMRDataObject to store uniform grids at different levels of resolution that...
a multi-resolution dataset based on vtkCartesianGrid allowing overlaps
Composite dataset that groups datasets as a collection.
composite dataset to encapsulates a dataset consisting of partitions.