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 -------------------------------------------------------------------------*/
43 #ifndef vtkRISReader_h
44 #define vtkRISReader_h
45 
46 #include "vtkIOInfovisModule.h" // For export macro
47 #include "vtkTableAlgorithm.h"
48 
49 class vtkTable;
50 
52 {
53 public:
54  static vtkRISReader* New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
60  vtkGetStringMacro(FileName);
61  vtkSetStringMacro(FileName);
63 
65 
67  vtkGetStringMacro(Delimiter);
68  vtkSetStringMacro(Delimiter);
70 
72 
74  vtkGetMacro(MaxRecords,int);
75  vtkSetMacro(MaxRecords,int);
77 
78  protected:
79  vtkRISReader();
80  ~vtkRISReader();
81 
82  int RequestData(
86 
87  char* FileName;
88  char* Delimiter;
90 
91 private:
92  vtkRISReader(const vtkRISReader&); // Not implemented
93  void operator=(const vtkRISReader&); // Not implemented
94 };
95 
96 #endif
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
#define VTKIOINFOVIS_EXPORT
char * FileName
Definition: vtkRISReader.h:87
a simple class to control print indentation
Definition: vtkIndent.h:38
char * Delimiter
Definition: vtkRISReader.h:88
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
reader for RIS files
Definition: vtkRISReader.h:51