VTK  9.5.20251216
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 "vtkXMLReader.h"
17
18#include <map> // needed for std::map
19
20VTK_ABI_NAMESPACE_BEGIN
21class vtkCellArray;
22class vtkIdTypeArray;
25
26class VTKIOXML_EXPORT vtkXMLStatisticalModelReader : public vtkXMLReader
27{
28public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
40
45 void CopyOutputInformation(vtkInformation* outInfo, int port) override;
46
47protected:
50
54 const char* GetDataSetName() override;
55
59 void SetupEmptyOutput() override;
60
64 void SetupOutputInformation(vtkInformation* outInfo) override;
65
69 void ReadXMLData() override;
70
74 int ReadPrimaryElement(vtkXMLDataElement* ePrimary) override;
75
77
78private:
82 int ReadPiece(vtkXMLDataElement* ePiece);
83
87 int ReadPieceData(int);
88
89 // XML elements for the current (lone) piece:
90 vtkXMLDataElement* ParamElement;
91 std::vector<vtkXMLDataElement*> TableGroupElements;
92
94 void operator=(const vtkXMLStatisticalModelReader&) = delete;
95};
96
97VTK_ABI_NAMESPACE_END
98#endif
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.