VTK  9.7.20261008
vtkXMLStatisticalModelReader.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
11
12#ifndef vtkXMLStatisticalModelReader_h
13#define vtkXMLStatisticalModelReader_h
14
15#include "vtkIOXMLModule.h" // For export macro
16#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17#include "vtkXMLReader.h"
18
19#include <map> // needed for std::map
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkCellArray;
23class vtkIdTypeArray;
26
28{
29public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
33
35
41
46 void CopyOutputInformation(vtkInformation* outInfo, int port) override;
47
48protected:
51
55 const char* GetDataSetName() override;
56
60 void SetupEmptyOutput() override;
61
65 void SetupOutputInformation(vtkInformation* outInfo) override;
66
70 void ReadXMLData() override;
71
75 int ReadPrimaryElement(vtkXMLDataElement* ePrimary) override;
76
78
79private:
83 int ReadPiece(vtkXMLDataElement* ePiece);
84
88 int ReadPieceData(int);
89
90 // XML elements for the current (lone) piece:
91 vtkXMLDataElement* ParamElement;
92 std::vector<vtkXMLDataElement*> TableGroupElements;
93
95 void operator=(const vtkXMLStatisticalModelReader&) = delete;
96};
97
98VTK_ABI_NAMESPACE_END
99#endif
int idx
Definition HexCnBasis.h:79
object to represent cell connectivity
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
Definition vtkIndent.h:108
Store vtkAlgorithm input/output information.
a base class for statistical modeling of other data
dynamic, self-adjusting array of unsigned char
Represents an XML element and those nested inside.
int ReadPrimaryElement(vtkXMLDataElement *ePrimary) override
Pipeline execute data driver.
vtkStatisticalModel * GetOutput(int idx)
Get the reader's output.
~vtkXMLStatisticalModelReader() override
void SetupOutputInformation(vtkInformation *outInfo) override
Setup the output's information.
vtkStatisticalModel * GetOutput()
Get the reader's output.
void ReadXMLData() override
Pipeline execute data driver.
static vtkXMLStatisticalModelReader * New()
void CopyOutputInformation(vtkInformation *outInfo, int port) override
For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo...
void SetupEmptyOutput() override
Initialize current output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
const char * GetDataSetName() override
Get the name of the data set being read.
#define VTK_MARSHALAUTO