VTK  9.0.3
vtkISIReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkISIReader.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 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
36 #ifndef vtkISIReader_h
37 #define vtkISIReader_h
38 
39 #include "vtkIOInfovisModule.h" // For export macro
40 #include "vtkTableAlgorithm.h"
41 
42 class vtkTable;
43 
44 class VTKIOINFOVIS_EXPORT vtkISIReader : public vtkTableAlgorithm
45 {
46 public:
47  static vtkISIReader* New();
49  void PrintSelf(ostream& os, vtkIndent indent) override;
50 
52 
55  vtkGetStringMacro(FileName);
56  vtkSetStringMacro(FileName);
58 
60 
63  vtkGetStringMacro(Delimiter);
64  vtkSetStringMacro(Delimiter);
66 
68 
71  vtkGetMacro(MaxRecords, int);
72  vtkSetMacro(MaxRecords, int);
74 
75 protected:
77  ~vtkISIReader() override;
78 
80 
81  char* FileName;
82  char* Delimiter;
84 
85 private:
86  vtkISIReader(const vtkISIReader&) = delete;
87  void operator=(const vtkISIReader&) = delete;
88 };
89 
90 #endif
reader for ISI files
Definition: vtkISIReader.h:45
char * FileName
Definition: vtkISIReader.h:81
~vtkISIReader() override
char * Delimiter
Definition: vtkISIReader.h:82
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkISIReader * New()
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63