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 =========================================================================*/
28 #ifndef vtkCompositeDataWriter_h
29 #define vtkCompositeDataWriter_h
30 
31 #include "vtkIOLegacyModule.h" // For export macro
32 #include "vtkDataWriter.h"
33 
39 class vtkOverlappingAMR;
40 
41 class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
42 {
43 public:
44  static vtkCompositeDataWriter* New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
55 
56 protected:
58  ~vtkCompositeDataWriter() override;
59 
61 
64  void WriteData() override;
67 
68  bool WriteCompositeData(ostream*, vtkMultiBlockDataSet*);
69  bool WriteCompositeData(ostream*, vtkMultiPieceDataSet*);
70  bool WriteCompositeData(ostream*, vtkHierarchicalBoxDataSet*);
71  bool WriteCompositeData(ostream*, vtkOverlappingAMR*);
72  bool WriteCompositeData(ostream*, vtkNonOverlappingAMR*);
73  bool WriteBlock(ostream* fp, vtkDataObject* block);
74 
75 private:
77  void operator=(const vtkCompositeDataWriter&) = delete;
78 
79 };
80 
81 #endif
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:33
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:58