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:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
58 
59 protected:
62 
64 
67  virtual void WriteData();
70 
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
abstract superclass for composite (multi-block or AMR) datasets
legacy VTK file writer for vtkCompositeDataSet subclasses.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
bool WriteCompositeData(ostream *, vtkNonOverlappingAMR *)
virtual void WriteData()
Performs the actual writing.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkCompositeDataSet * GetInput()
Get the input to this writer.
bool WriteBlock(ostream *fp, vtkDataObject *block)
bool WriteCompositeData(ostream *, vtkMultiPieceDataSet *)
bool WriteCompositeData(ostream *, vtkHierarchicalBoxDataSet *)
static vtkCompositeDataWriter * New()
bool WriteCompositeData(ostream *, vtkOverlappingAMR *)
vtkCompositeDataSet * GetInput(int port)
bool WriteCompositeData(ostream *, vtkMultiBlockDataSet *)
general representation of visualization data
Definition: vtkDataObject.h:65
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:46
Backwards compatibility class.
a simple class to control print indentation
Definition: vtkIndent.h:40
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
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447