VTK
vtkXMLMultiBlockDataWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLMultiBlockDataWriter.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 =========================================================================*/
22 #ifndef __vtkXMLMultiBlockDataWriter_h
23 #define __vtkXMLMultiBlockDataWriter_h
24 
26 
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
35 
36  virtual const char* GetDefaultFileExtension()
37  { return "vtm"; }
39 
40 //BTX
41 protected:
44 
46 
47  // Internal method called recursively to create the xml tree for the children
48  // of compositeData.
49  virtual int WriteComposite(vtkCompositeDataSet* compositeData,
50  vtkXMLDataElement* parent, int &writerIdx);
51 
52 private:
53  vtkXMLMultiBlockDataWriter(const vtkXMLMultiBlockDataWriter&); // Not implemented.
54  void operator=(const vtkXMLMultiBlockDataWriter&); // Not implemented.
55 //ETX
56 };
57 
58 #endif
59 
60