VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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 "
vtkXMLWriter.h
"
38
39
class
vtkCallbackCommand
;
40
41
class
VTK_IO_EXPORT
vtkXMLDataSetWriter
:
public
vtkXMLWriter
42
{
43
public
:
44
vtkTypeMacro(
vtkXMLDataSetWriter
,
vtkXMLWriter
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
static
vtkXMLDataSetWriter
*
New
();
47
48
//BTX
50
51
vtkDataSet
*
GetInput
();
52
//ETX
54
55
protected
:
56
vtkXMLDataSetWriter
();
57
~
vtkXMLDataSetWriter
();
58
59
// see algorithm for more info
60
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
61
62
// Override writing method from superclass.
63
virtual
int
WriteInternal
();
64
65
// Dummies to satisfy pure virtuals from superclass.
66
const
char
*
GetDataSetName
();
67
const
char
*
GetDefaultFileExtension
();
68
69
// Callback registered with the ProgressObserver.
70
static
void
ProgressCallbackFunction(
vtkObject
*,
unsigned
long
,
void
*,
71
void
*);
72
// Progress callback from internal writer.
73
virtual
void
ProgressCallback(
vtkAlgorithm
* w);
74
75
// The observer to report progress from the internal writer.
76
vtkCallbackCommand
*
ProgressObserver
;
77
78
private
:
79
vtkXMLDataSetWriter
(
const
vtkXMLDataSetWriter
&);
// Not implemented.
80
void
operator=(
const
vtkXMLDataSetWriter
&);
// Not implemented.
81
};
82
83
#endif
Generated on Wed May 30 2012 13:22:18 for VTK by
1.8.1