VTK  9.2.20221001
vtkTecplotTableReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTecplotTableReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2016 Menno Deij - van Rijswijk (MARIN)
17 -------------------------------------------------------------------------*/
18 
36 #ifndef vtkTecplotTableReader_h
37 #define vtkTecplotTableReader_h
38 
39 #include "vtkIOTecplotTableModule.h" // For export macro
40 #include "vtkStdString.h" // Needed for vtkStdString
41 #include "vtkTableAlgorithm.h"
42 
43 VTK_ABI_NAMESPACE_BEGIN
44 class VTKIOTECPLOTTABLE_EXPORT vtkTecplotTableReader : public vtkTableAlgorithm
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
58 
60 
64  vtkGetMacro(MaxRecords, vtkIdType);
65  vtkSetMacro(MaxRecords, vtkIdType);
67 
69 
72  vtkGetMacro(HeaderLines, vtkIdType);
73  vtkSetMacro(HeaderLines, vtkIdType);
75 
77 
80  vtkGetMacro(ColumnNamesOnLine, vtkIdType);
81  vtkSetMacro(ColumnNamesOnLine, vtkIdType);
83 
85 
88  vtkGetMacro(SkipColumnNames, vtkIdType);
89  vtkSetMacro(SkipColumnNames, vtkIdType);
91 
93 
97  vtkSetStringMacro(PedigreeIdArrayName);
98  vtkGetStringMacro(PedigreeIdArrayName);
100 
102 
106  vtkSetMacro(GeneratePedigreeIds, bool);
107  vtkGetMacro(GeneratePedigreeIds, bool);
108  vtkBooleanMacro(GeneratePedigreeIds, bool);
110 
112 
115  vtkSetMacro(OutputPedigreeIds, bool);
116  vtkGetMacro(OutputPedigreeIds, bool);
117  vtkBooleanMacro(OutputPedigreeIds, bool);
119 
126 
127 protected:
130 
132 
133  char* FileName;
142 
143 private:
145  void operator=(const vtkTecplotTableReader&) = delete;
146 };
147 
148 VTK_ABI_NAMESPACE_END
149 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:110
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:326