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 =========================================================================*/
23 #ifndef __vtkCompositeDataWriter_h
24 #define __vtkCompositeDataWriter_h
25 
26 #include "vtkDataWriter.h"
27 
32 
34 {
35 public:
36  static vtkCompositeDataWriter* New();
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
45 
46 //BTX
47 protected:
50 
52 
53  virtual void WriteData();
56 
57  bool WriteCompositeData(ostream*, vtkMultiBlockDataSet*);
58  bool WriteCompositeData(ostream*, vtkMultiPieceDataSet*);
59  bool WriteCompositeData(ostream*, vtkHierarchicalBoxDataSet*);
60  bool WriteBlock(ostream* fp, vtkDataObject* block);
61 
62 private:
63  vtkCompositeDataWriter(const vtkCompositeDataWriter&); // Not implemented
64  void operator=(const vtkCompositeDataWriter&); // Not implemented
65 //ETX
66 };
67 
68 #endif
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:41
void PrintSelf(ostream &os, vtkIndent indent)
hierarchical dataset of vtkUniformGrids
abstract superclass for composite (multi-block or AMR) datasets
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * GetInput()
legacy VTK file writer for vtkCompositeDataSet subclasses.
composite dataset to encapsulates pieces of dataset.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Composite dataset that organizes datasets into blocks.
static vtkDataWriter * New()
#define VTK_IO_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:70
void WriteData()