VTK
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
19
37#ifndef vtkTecplotTableReader_h
38#define vtkTecplotTableReader_h
39
40#include "vtkIOTecplotTableModule.h" // For export macro
41#include "vtkTableAlgorithm.h"
42#include "vtkUnicodeString.h" // Needed for vtkUnicodeString
43#include "vtkStdString.h" // Needed for vtkStdString
44
45class VTKIOTECPLOTTABLE_EXPORT vtkTecplotTableReader : public vtkTableAlgorithm
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent);
51
53
57 vtkSetStringMacro(FileName);
59
61
65 vtkGetMacro(MaxRecords, vtkIdType);
66 vtkSetMacro(MaxRecords, vtkIdType);
68
70
73 vtkGetMacro(HeaderLines, vtkIdType);
74 vtkSetMacro(HeaderLines, vtkIdType);
76
78
81 vtkGetMacro(ColumnNamesOnLine, vtkIdType);
82 vtkSetMacro(ColumnNamesOnLine, vtkIdType);
84
86
89 vtkGetMacro(SkipColumnNames, vtkIdType);
90 vtkSetMacro(SkipColumnNames, vtkIdType);
92
93
94
96
100 vtkSetStringMacro(PedigreeIdArrayName);
101 vtkGetStringMacro(PedigreeIdArrayName);
103
105
109 vtkSetMacro(GeneratePedigreeIds, bool);
110 vtkGetMacro(GeneratePedigreeIds, bool);
111 vtkBooleanMacro(GeneratePedigreeIds, bool);
113
115
118 vtkSetMacro(OutputPedigreeIds, bool);
119 vtkGetMacro(OutputPedigreeIds, bool);
120 vtkBooleanMacro(OutputPedigreeIds, bool);
122
129
130protected:
133
138
139 char* FileName;
148
149private:
150 vtkTecplotTableReader(const vtkTecplotTableReader&) VTK_DELETE_FUNCTION;
151 void operator=(const vtkTecplotTableReader&) VTK_DELETE_FUNCTION;
152
153};
154
155#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:49
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.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkTecplotTableReader * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
int vtkIdType
Definition: vtkType.h:287