00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkRISReader.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00043 #ifndef __vtkRISReader_h 00044 #define __vtkRISReader_h 00045 00046 #include "vtkTableAlgorithm.h" 00047 00048 class vtkTable; 00049 00050 class VTK_INFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm 00051 { 00052 public: 00053 static vtkRISReader* New(); 00054 vtkTypeMacro(vtkRISReader,vtkTableAlgorithm); 00055 void PrintSelf(ostream& os, vtkIndent indent); 00056 00058 00059 vtkGetStringMacro(FileName); 00060 vtkSetStringMacro(FileName); 00062 00064 00066 vtkGetStringMacro(Delimiter); 00067 vtkSetStringMacro(Delimiter); 00069 00071 00073 vtkGetMacro(MaxRecords,int); 00074 vtkSetMacro(MaxRecords,int); 00076 00077 protected: 00078 vtkRISReader(); 00079 ~vtkRISReader(); 00080 00081 int RequestData( 00082 vtkInformation*, 00083 vtkInformationVector**, 00084 vtkInformationVector*); 00085 00086 char* FileName; 00087 char* Delimiter; 00088 int MaxRecords; 00089 00090 private: 00091 vtkRISReader(const vtkRISReader&); // Not implemented 00092 void operator=(const vtkRISReader&); // Not implemented 00093 }; 00094 00095 #endif