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 -------------------------------------------------------------------------*/
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:
76  vtkISIReader();
77  ~vtkISIReader() override;
78 
79  int RequestData(
82  vtkInformationVector*) override;
83 
84  char* FileName;
85  char* Delimiter;
87 
88 private:
89  vtkISIReader(const vtkISIReader&) = delete;
90  void operator=(const vtkISIReader&) = delete;
91 };
92 
93 #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:35
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
vtkISIReader::MaxRecords
int MaxRecords
Definition: vtkISIReader.h:86
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:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkISIReader
reader for ISI files
Definition: vtkISIReader.h:44
vtkISIReader::Delimiter
char * Delimiter
Definition: vtkISIReader.h:85
vtkISIReader::FileName
char * FileName
Definition: vtkISIReader.h:84
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()