VTK  9.7.20260805
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
18
19#ifndef vtkCompositeDataWriter_h
20#define vtkCompositeDataWriter_h
21
22#include "vtkDataWriter.h"
23#include "vtkIOLegacyModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
33
34class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
42
48
49protected:
52
54
57 bool WriteDataAndReturn() override;
58 int FillInputPortInformation(int port, vtkInformation* info) override;
60
67 bool WriteBlock(ostream* fp, vtkDataObject* block);
68
69private:
71 void operator=(const vtkCompositeDataWriter&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#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:29
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.