VTK
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 -------------------------------------------------------------------------*/
39 #ifndef vtkISIReader_h
40 #define vtkISIReader_h
41 
42 #include "vtkIOInfovisModule.h" // For export macro
43 #include "vtkTableAlgorithm.h"
44 
45 class vtkTable;
46 
47 class VTKIOINFOVIS_EXPORT vtkISIReader : public vtkTableAlgorithm
48 {
49 public:
50  static vtkISIReader* New();
52  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
55 
58  vtkGetStringMacro(FileName);
59  vtkSetStringMacro(FileName);
61 
63 
66  vtkGetStringMacro(Delimiter);
67  vtkSetStringMacro(Delimiter);
69 
71 
74  vtkGetMacro(MaxRecords,int);
75  vtkSetMacro(MaxRecords,int);
77 
78  protected:
79  vtkISIReader();
80  ~vtkISIReader() override;
81 
82  int RequestData(
85  vtkInformationVector*) override;
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
reader for ISI files
Definition: vtkISIReader.h:47
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
char * Delimiter
Definition: vtkISIReader.h:88
char * FileName
Definition: vtkISIReader.h:87