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 -------------------------------------------------------------------------*/
41 #ifndef vtkRISReader_h
42 #define vtkRISReader_h
43 
44 #include "vtkIOInfovisModule.h" // For export macro
45 #include "vtkTableAlgorithm.h"
46 
47 class vtkTable;
48 
49 class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm
50 {
51 public:
52  static vtkRISReader* New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
60  vtkGetStringMacro(FileName);
61  vtkSetStringMacro(FileName);
63 
65 
68  vtkGetStringMacro(Delimiter);
69  vtkSetStringMacro(Delimiter);
71 
73 
76  vtkGetMacro(MaxRecords,int);
77  vtkSetMacro(MaxRecords,int);
79 
80  protected:
81  vtkRISReader();
82  ~vtkRISReader() override;
83 
84  int RequestData(
87  vtkInformationVector*) override;
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
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:89
a simple class to control print indentation
Definition: vtkIndent.h:39
char * Delimiter
Definition: vtkRISReader.h:90
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.
reader for RIS files
Definition: vtkRISReader.h:49