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
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
vtkISIReader::MaxRecords
int MaxRecords
Definition: vtkISIReader.h:89
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkISIReader
reader for ISI files
Definition: vtkISIReader.h:47
vtkISIReader::Delimiter
char * Delimiter
Definition: vtkISIReader.h:88
vtkISIReader::FileName
char * FileName
Definition: vtkISIReader.h:87
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()