VTK  9.1.0
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 -------------------------------------------------------------------------*/
42 #ifndef vtkISIReader_h
43 #define vtkISIReader_h
44 
45 #include "vtkIOInfovisModule.h" // For export macro
46 #include "vtkTableAlgorithm.h"
47 
48 class vtkTable;
49 
50 class VTKIOINFOVIS_EXPORT vtkISIReader : public vtkTableAlgorithm
51 {
52 public:
53  static vtkISIReader* New();
55  void PrintSelf(ostream& os, vtkIndent indent) override;
56 
58 
64 
66 
69  vtkGetStringMacro(Delimiter);
70  vtkSetStringMacro(Delimiter);
72 
74 
77  vtkGetMacro(MaxRecords, int);
78  vtkSetMacro(MaxRecords, int);
80 
81 protected:
83  ~vtkISIReader() override;
84 
86 
87  char* FileName;
88  char* Delimiter;
90 
91 private:
92  vtkISIReader(const vtkISIReader&) = delete;
93  void operator=(const vtkISIReader&) = delete;
94 };
95 
96 #endif
reader for ISI files
Definition: vtkISIReader.h:51
char * FileName
Definition: vtkISIReader.h:87
~vtkISIReader() override
vtkSetFilePathMacro(FileName)
Set/get the file to load.
char * Delimiter
Definition: vtkISIReader.h:88
vtkGetFilePathMacro(FileName)
Set/get the file to load.
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