VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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
25
#include "
vtkXMLCompositeDataWriter.h
"
26
27
class
VTK_IO_EXPORT
vtkXMLMultiBlockDataWriter
:
public
vtkXMLCompositeDataWriter
28
{
29
public
:
30
static
vtkXMLMultiBlockDataWriter
*
New
();
31
vtkTypeMacro(
vtkXMLMultiBlockDataWriter
,
vtkXMLCompositeDataWriter
);
32
void
PrintSelf
(ostream& os,
vtkIndent
indent);
33
35
36
virtual
const
char
*
GetDefaultFileExtension
()
37
{
return
"vtm"
; }
39
40
//BTX
41
protected
:
42
vtkXMLMultiBlockDataWriter
();
43
~
vtkXMLMultiBlockDataWriter
();
44
45
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
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
Generated on Wed May 30 2012 13:22:19 for VTK by
1.8.1