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;
43 
44 class VTKIOLEGACY_EXPORT vtkCompositeDataWriter : public vtkDataWriter
45 {
46 public:
47  static vtkCompositeDataWriter* New();
49  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 
52 
58 
59 protected:
61  ~vtkCompositeDataWriter() VTK_OVERRIDE;
62 
64 
67  void WriteData() VTK_OVERRIDE;
68  int FillInputPortInformation(int port, vtkInformation *info) VTK_OVERRIDE;
70 
71  bool WriteCompositeData(ostream*, vtkMultiBlockDataSet*);
72  bool WriteCompositeData(ostream*, vtkMultiPieceDataSet*);
73  bool WriteCompositeData(ostream*, vtkHierarchicalBoxDataSet*);
74  bool WriteCompositeData(ostream*, vtkOverlappingAMR*);
75  bool WriteCompositeData(ostream*, vtkNonOverlappingAMR*);
76  bool WriteBlock(ostream* fp, vtkDataObject* block);
77 
78 private:
79  vtkCompositeDataWriter(const vtkCompositeDataWriter&) VTK_DELETE_FUNCTION;
80  void operator=(const vtkCompositeDataWriter&) VTK_DELETE_FUNCTION;
81 
82 };
83 
84 #endif
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.
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