VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
XML
vtkXMLDataSetWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLDataSetWriter.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
=========================================================================*/
34
#ifndef __vtkXMLDataSetWriter_h
35
#define __vtkXMLDataSetWriter_h
36
37
#include "vtkIOXMLModule.h"
// For export macro
38
#include "
vtkXMLWriter.h
"
39
40
class
vtkCallbackCommand
;
41
42
class
VTKIOXML_EXPORT
vtkXMLDataSetWriter
:
public
vtkXMLWriter
43
{
44
public
:
45
vtkTypeMacro(
vtkXMLDataSetWriter
,
vtkXMLWriter
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent);
47
static
vtkXMLDataSetWriter
*
New
();
48
49
//BTX
51
52
vtkDataSet
*
GetInput
();
53
//ETX
55
56
protected
:
57
vtkXMLDataSetWriter
();
58
~
vtkXMLDataSetWriter
();
59
60
// see algorithm for more info
61
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
62
63
// Override writing method from superclass.
64
virtual
int
WriteInternal
();
65
66
// Dummies to satisfy pure virtuals from superclass.
67
const
char
*
GetDataSetName
();
68
const
char
*
GetDefaultFileExtension
();
69
70
// Callback registered with the ProgressObserver.
71
static
void
ProgressCallbackFunction(
vtkObject
*,
unsigned
long
,
void
*,
72
void
*);
73
// Progress callback from internal writer.
74
virtual
void
ProgressCallback(
vtkAlgorithm
* w);
75
76
// The observer to report progress from the internal writer.
77
vtkCallbackCommand
*
ProgressObserver
;
78
79
private
:
80
vtkXMLDataSetWriter
(
const
vtkXMLDataSetWriter
&);
// Not implemented.
81
void
operator=(
const
vtkXMLDataSetWriter
&);
// Not implemented.
82
};
83
84
#endif
Generated on Fri May 25 2012 22:39:32 for VTK by
1.8.1