VTK
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 =========================================================================*/
31 #ifndef vtkCompositeDataWriter_h
32 #define vtkCompositeDataWriter_h
33 
34 #include "vtkIOLegacyModule.h" // For export macro
35 #include "vtkDataWriter.h"
36 
42 class vtkOverlappingAMR;
45 
46 class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
47 {
48 public:
49  static vtkCompositeDataWriter* New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
60 
61 protected:
63  ~vtkCompositeDataWriter() override;
64 
66 
69  void WriteData() override;
72 
73  bool WriteCompositeData(ostream*, vtkMultiBlockDataSet*);
74  bool WriteCompositeData(ostream*, vtkMultiPieceDataSet*);
75  bool WriteCompositeData(ostream*, vtkHierarchicalBoxDataSet*);
76  bool WriteCompositeData(ostream*, vtkOverlappingAMR*);
77  bool WriteCompositeData(ostream*, vtkNonOverlappingAMR*);
78  bool WriteCompositeData(ostream*, vtkPartitionedDataSet*);
79  bool WriteCompositeData(ostream*, vtkPartitionedDataSetCollection*);
80  bool WriteBlock(ostream* fp, vtkDataObject* block);
81 
82 private:
84  void operator=(const vtkCompositeDataWriter&) = delete;
85 
86 };
87 
88 #endif
composite dataset to encapsulates a dataset consisting of partitions.
void WriteData() override
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:45
Backwards compatibility class.
A concrete instance of vtkUniformGridAMR to store uniform grids at different levels of resolution tha...
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkDataObject * GetInput()
legacy VTK file writer for vtkCompositeDataSet subclasses.
composite dataset to encapsulates pieces of dataset.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
Composite dataset that organizes datasets into blocks.
hierarchical dataset of vtkUniformGrids
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataWriter * New()
Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.
general representation of visualization data
Definition: vtkDataObject.h:64
Composite dataset that groups datasets as a collection.