VTK
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 -------------------------------------------------------------------------*/
38 #ifndef vtkRISReader_h
39 #define vtkRISReader_h
40 
41 #include "vtkIOInfovisModule.h" // For export macro
42 #include "vtkTableAlgorithm.h"
43 
44 class vtkTable;
45 
46 class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm
47 {
48 public:
49  static vtkRISReader* New();
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
54 
57  vtkGetStringMacro(FileName);
58  vtkSetStringMacro(FileName);
60 
62 
65  vtkGetStringMacro(Delimiter);
66  vtkSetStringMacro(Delimiter);
68 
70 
73  vtkGetMacro(MaxRecords,int);
74  vtkSetMacro(MaxRecords,int);
76 
77  protected:
78  vtkRISReader();
79  ~vtkRISReader() override;
80 
81  int RequestData(
84  vtkInformationVector*) override;
85 
86  char* FileName;
87  char* Delimiter;
89 
90 private:
91  vtkRISReader(const vtkRISReader&) = delete;
92  void operator=(const vtkRISReader&) = delete;
93 };
94 
95 #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.
char * FileName
Definition: vtkRISReader.h:86
a simple class to control print indentation
Definition: vtkIndent.h:33
char * Delimiter
Definition: vtkRISReader.h:87
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:62
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.
reader for RIS files
Definition: vtkRISReader.h:46