VTK  9.7.1
vtkLegacyStatisticalModelReader.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
19 #ifndef vtkLegacyStatisticalModelReader_h
20 #define vtkLegacyStatisticalModelReader_h
21 
22 #include "vtkDataReader.h"
23 #include "vtkIOLegacyModule.h" // For export macro
24 #include "vtkNew.h" // For ivar
25 
26 VTK_ABI_NAMESPACE_BEGIN
28 
29 class VTKIOLEGACY_EXPORT vtkLegacyStatisticalModelReader : public vtkDataReader
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
40  vtkStatisticalModel* GetOutput();
41  vtkStatisticalModel* GetOutput(int idx);
42  void SetOutput(vtkStatisticalModel* output);
44 
48  int ReadMeshSimple(VTK_FILEPATH const std::string& fname, vtkDataObject* output) override;
49 
50 protected:
53 
54  int FillOutputPortInformation(int, vtkInformation*) override;
55 
56 private:
58  void operator=(const vtkLegacyStatisticalModelReader&) = delete;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a base class for statistical modeling of other data
Store vtkAlgorithm input/output information.
int ReadMeshSimple(const std::string &, vtkDataObject *) override
Overridden with default implementation of doing nothing so that subclasses only override what is need...
static vtkDataReader * New()
helper superclass for objects that read vtk data files
Definition: vtkDataReader.h:52
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Fill the output port information objects for this algorithm.
read vtk unstructured grid data file
a simple class to control print indentation
Definition: vtkIndent.h:28
#define VTK_FILEPATH
general representation of visualization data
Definition: vtkDataObject.h:55