VTK  9.1.0
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=========================================================================*/
57#ifndef vtkCompositeDataWriter_h
58#define vtkCompositeDataWriter_h
59
60#include "vtkDataWriter.h"
61#include "vtkIOLegacyModule.h" // For export macro
62
71
72class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
73{
74public:
77 void PrintSelf(ostream& os, vtkIndent indent) override;
78
80
86
87protected:
90
92
95 void WriteData() override;
98
106 bool WriteBlock(ostream* fp, vtkDataObject* block);
107
108private:
110 void operator=(const vtkCompositeDataWriter&) = delete;
111};
112
113#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
Definition: vtkDataWriter.h:48
Backwards compatibility class.
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453