VTK  9.3.0
vtkRISReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
28 #ifndef vtkRISReader_h
29 #define vtkRISReader_h
30 
31 #include "vtkIOInfovisModule.h" // For export macro
32 #include "vtkTableAlgorithm.h"
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class vtkTable;
36 
37 class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm
38 {
39 public:
40  static vtkRISReader* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
51 
53 
56  vtkGetStringMacro(Delimiter);
57  vtkSetStringMacro(Delimiter);
59 
61 
64  vtkGetMacro(MaxRecords, int);
65  vtkSetMacro(MaxRecords, int);
67 
68 protected:
70  ~vtkRISReader() override;
71 
73 
74  char* FileName;
75  char* Delimiter;
77 
78 private:
79  vtkRISReader(const vtkRISReader&) = delete;
80  void operator=(const vtkRISReader&) = delete;
81 };
82 
83 VTK_ABI_NAMESPACE_END
84 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
reader for RIS files
Definition: vtkRISReader.h:38
char * Delimiter
Definition: vtkRISReader.h:75
vtkSetFilePathMacro(FileName)
Set/get the file to load.
static vtkRISReader * New()
~vtkRISReader() override
vtkGetFilePathMacro(FileName)
Set/get the file to load.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * FileName
Definition: vtkRISReader.h:74
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68