VTK  9.1.0
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
33#ifndef vtkTecplotTableReader_h
34#define vtkTecplotTableReader_h
35
36#include "vtkIOTecplotTableModule.h" // For export macro
37#include "vtkStdString.h" // Needed for vtkStdString
38#include "vtkTableAlgorithm.h"
39#include "vtkUnicodeString.h" // Needed for vtkUnicodeString
40
41class VTKIOTECPLOTTABLE_EXPORT vtkTecplotTableReader : public vtkTableAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent) override;
47
49
55
57
61 vtkGetMacro(MaxRecords, vtkIdType);
62 vtkSetMacro(MaxRecords, vtkIdType);
64
66
69 vtkGetMacro(HeaderLines, vtkIdType);
70 vtkSetMacro(HeaderLines, vtkIdType);
72
74
77 vtkGetMacro(ColumnNamesOnLine, vtkIdType);
78 vtkSetMacro(ColumnNamesOnLine, vtkIdType);
80
82
85 vtkGetMacro(SkipColumnNames, vtkIdType);
86 vtkSetMacro(SkipColumnNames, vtkIdType);
88
90
94 vtkSetStringMacro(PedigreeIdArrayName);
95 vtkGetStringMacro(PedigreeIdArrayName);
97
99
103 vtkSetMacro(GeneratePedigreeIds, bool);
104 vtkGetMacro(GeneratePedigreeIds, bool);
105 vtkBooleanMacro(GeneratePedigreeIds, bool);
107
109
112 vtkSetMacro(OutputPedigreeIds, bool);
113 vtkGetMacro(OutputPedigreeIds, bool);
114 vtkBooleanMacro(OutputPedigreeIds, bool);
116
123
124protected:
127
129
130 char* FileName;
139
140private:
142 void operator=(const vtkTecplotTableReader&) = delete;
143};
144
145#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:105
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.
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.
static vtkTecplotTableReader * New()
~vtkTecplotTableReader() override
int vtkIdType
Definition: vtkType.h:332