VTK  9.3.20240419
vtkTecplotTableReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2016 Menno Deij - van Rijswijk (MARIN)
3 // SPDX-License-Identifier: BSD-3-Clause
21 #ifndef vtkTecplotTableReader_h
22 #define vtkTecplotTableReader_h
23 
24 #include "vtkIOTecplotTableModule.h" // For export macro
25 #include "vtkStdString.h" // Needed for vtkStdString
26 #include "vtkTableAlgorithm.h"
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKIOTECPLOTTABLE_EXPORT vtkTecplotTableReader : public vtkTableAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
43 
45 
49  vtkGetMacro(MaxRecords, vtkIdType);
50  vtkSetMacro(MaxRecords, vtkIdType);
52 
54 
57  vtkGetMacro(HeaderLines, vtkIdType);
58  vtkSetMacro(HeaderLines, vtkIdType);
60 
62 
65  vtkGetMacro(ColumnNamesOnLine, vtkIdType);
66  vtkSetMacro(ColumnNamesOnLine, vtkIdType);
68 
70 
73  vtkGetMacro(SkipColumnNames, vtkIdType);
74  vtkSetMacro(SkipColumnNames, vtkIdType);
76 
78 
82  vtkSetStringMacro(PedigreeIdArrayName);
83  vtkGetStringMacro(PedigreeIdArrayName);
85 
87 
91  vtkSetMacro(GeneratePedigreeIds, bool);
92  vtkGetMacro(GeneratePedigreeIds, bool);
93  vtkBooleanMacro(GeneratePedigreeIds, bool);
95 
97 
100  vtkSetMacro(OutputPedigreeIds, bool);
101  vtkGetMacro(OutputPedigreeIds, bool);
102  vtkBooleanMacro(OutputPedigreeIds, bool);
104 
111 
112 protected:
115 
117 
118  char* FileName;
127 
128 private:
130  void operator=(const vtkTecplotTableReader&) = delete;
131 };
132 
133 VTK_ABI_NAMESPACE_END
134 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:78
Superclass for algorithms that produce only vtkTables as output.
reads in Tecplot tabular data and outputs a vtkTable data structure.
vtkStdString GetLastError()
Returns a human-readable description of the most recent error, if any.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTecplotTableReader * New()
vtkGetFilePathMacro(FileName)
Specifies the delimited text file to be loaded.
vtkSetFilePathMacro(FileName)
Specifies the delimited text file to be loaded.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkTecplotTableReader() override
int vtkIdType
Definition: vtkType.h:315