VTK  9.2.6
vtkCompositeDataWriter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkCompositeDataWriter.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
40#ifndef vtkCompositeDataWriter_h
41#define vtkCompositeDataWriter_h
42
43#include "vtkDataWriter.h"
44#include "vtkIOLegacyModule.h" // For export macro
45
54
55class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
56{
57public:
60 void PrintSelf(ostream& os, vtkIndent indent) override;
61
63
69
70protected:
73
75
78 void WriteData() override;
79 int FillInputPortInformation(int port, vtkInformation* info) override;
81
89 bool WriteBlock(ostream* fp, vtkDataObject* block);
90
91private:
93 void operator=(const vtkCompositeDataWriter&) = delete;
94};
95
96#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:49
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.