VTK  9.2.5
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
43class VTKIOTECPLOTTABLE_EXPORT vtkTecplotTableReader : public vtkTableAlgorithm
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51
57
59
63 vtkGetMacro(MaxRecords, vtkIdType);
64 vtkSetMacro(MaxRecords, vtkIdType);
66
68
71 vtkGetMacro(HeaderLines, vtkIdType);
72 vtkSetMacro(HeaderLines, vtkIdType);
74
76
79 vtkGetMacro(ColumnNamesOnLine, vtkIdType);
80 vtkSetMacro(ColumnNamesOnLine, vtkIdType);
82
84
87 vtkGetMacro(SkipColumnNames, vtkIdType);
88 vtkSetMacro(SkipColumnNames, vtkIdType);
90
92
96 vtkSetStringMacro(PedigreeIdArrayName);
97 vtkGetStringMacro(PedigreeIdArrayName);
99
101
105 vtkSetMacro(GeneratePedigreeIds, bool);
106 vtkGetMacro(GeneratePedigreeIds, bool);
107 vtkBooleanMacro(GeneratePedigreeIds, bool);
109
111
114 vtkSetMacro(OutputPedigreeIds, bool);
115 vtkGetMacro(OutputPedigreeIds, bool);
116 vtkBooleanMacro(OutputPedigreeIds, bool);
118
125
126protected:
129
131
132 char* FileName;
141
142private:
144 void operator=(const vtkTecplotTableReader&) = delete;
145};
146
147#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:39
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