VTK  9.1.0
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
50class vtkTable;
51
52class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm
53{
54public:
55 static vtkRISReader* New();
57 void PrintSelf(ostream& os, vtkIndent indent) override;
58
60
66
68
71 vtkGetStringMacro(Delimiter);
72 vtkSetStringMacro(Delimiter);
74
76
79 vtkGetMacro(MaxRecords, int);
80 vtkSetMacro(MaxRecords, int);
82
83protected:
85 ~vtkRISReader() override;
86
88
89 char* FileName;
90 char* Delimiter;
92
93private:
94 vtkRISReader(const vtkRISReader&) = delete;
95 void operator=(const vtkRISReader&) = delete;
96};
97
98#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
reader for RIS files
Definition: vtkRISReader.h:53
static vtkRISReader * New()
char * Delimiter
Definition: vtkRISReader.h:90
vtkSetFilePathMacro(FileName)
Set/get the file to load.
~vtkRISReader() override
vtkGetFilePathMacro(FileName)
Set/get the file to load.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * FileName
Definition: vtkRISReader.h:89
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172