VTK
9.6.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
IO
XML
vtkXMLStatisticalModelWriter.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
10
11
#ifndef vtkXMLStatisticalModelWriter_h
12
#define vtkXMLStatisticalModelWriter_h
13
14
#include "
vtkDeprecation.h
"
// For VTK_DEPRECATED_IN_9_5_0
15
#include "vtkIOXMLModule.h"
// For export macro
16
#include "
vtkXMLWriter.h
"
17
18
VTK_ABI_NAMESPACE_BEGIN
19
class
vtkStatisticalModel
;
20
21
class
VTKIOXML_EXPORT
vtkXMLStatisticalModelWriter
:
public
vtkXMLWriter
22
{
23
public
:
24
vtkTypeMacro(
vtkXMLStatisticalModelWriter
,
vtkXMLWriter
);
25
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
26
static
vtkXMLStatisticalModelWriter
*
New
();
27
31
vtkTypeBool
ProcessRequest
(
32
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
33
34
protected
:
35
vtkXMLStatisticalModelWriter
();
36
~vtkXMLStatisticalModelWriter
()
override
;
37
38
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
39
40
vtkStatisticalModel
*
GetModelInput
();
41
const
char
*
GetDataSetName
()
override
;
// vtkTable isn't a DataSet but it's used by vtkXMLWriter
42
46
const
char
*
GetDefaultFileExtension
()
override
;
47
48
private
:
49
void
SetInputUpdateExtent(
int
piece,
int
numPieces);
50
51
int
WriteHeader();
52
int
WriteAPiece();
53
int
WriteFooter();
54
55
int
WriteInlineModel(
vtkIndent
indent);
56
void
WriteInlinePieceAttributes();
57
void
WriteInlinePiece(
vtkIndent
indent);
58
59
void
WriteAppendedPieceData(
int
index);
60
61
void
WriteModelDataInline(
vtkStatisticalModel
* ds,
vtkIndent
indent);
62
63
void
AllocatePositionArrays();
64
void
DeletePositionArrays();
65
66
vtkXMLStatisticalModelWriter
(
const
vtkXMLStatisticalModelWriter
&) =
delete
;
67
void
operator=(
const
vtkXMLStatisticalModelWriter
&) =
delete
;
68
};
69
70
VTK_ABI_NAMESPACE_END
71
#endif
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:29
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:61
vtkStatisticalModel
a base class for statistical modeling of other data