VTK  9.0.1
vtkRISReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRISReader.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 -------------------------------------------------------------------------*/
44 #ifndef vtkRISReader_h
45 #define vtkRISReader_h
46 
47 #include "vtkIOInfovisModule.h" // For export macro
48 #include "vtkTableAlgorithm.h"
49 
50 class vtkTable;
51 
52 class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm
53 {
54 public:
55  static vtkRISReader* New();
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
60 
63  vtkGetStringMacro(FileName);
64  vtkSetStringMacro(FileName);
66 
68 
71  vtkGetStringMacro(Delimiter);
72  vtkSetStringMacro(Delimiter);
74 
76 
79  vtkGetMacro(MaxRecords, int);
80  vtkSetMacro(MaxRecords, int);
82 
83 protected:
84  vtkRISReader();
85  ~vtkRISReader() override;
86 
88 
89  char* FileName;
90  char* Delimiter;
92 
93 private:
94  vtkRISReader(const vtkRISReader&) = delete;
95  void operator=(const vtkRISReader&) = delete;
96 };
97 
98 #endif
vtkRISReader::MaxRecords
int MaxRecords
Definition: vtkRISReader.h:91
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkRISReader::FileName
char * FileName
Definition: vtkRISReader.h:89
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
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:73
vtkRISReader
reader for RIS files
Definition: vtkRISReader.h:52
vtkTableAlgorithm.h
vtkRISReader::Delimiter
char * Delimiter
Definition: vtkRISReader.h:90
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()