VTK
|
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 "vtkIOInfovisModule.h" // For export macro 00047 #include "vtkTableAlgorithm.h" 00048 00049 class vtkTable; 00050 00051 class VTKIOINFOVIS_EXPORT vtkRISReader : public vtkTableAlgorithm 00052 { 00053 public: 00054 static vtkRISReader* New(); 00055 vtkTypeMacro(vtkRISReader,vtkTableAlgorithm); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 00060 vtkGetStringMacro(FileName); 00061 vtkSetStringMacro(FileName); 00063 00065 00067 vtkGetStringMacro(Delimiter); 00068 vtkSetStringMacro(Delimiter); 00070 00072 00074 vtkGetMacro(MaxRecords,int); 00075 vtkSetMacro(MaxRecords,int); 00077 00078 protected: 00079 vtkRISReader(); 00080 ~vtkRISReader(); 00081 00082 int RequestData( 00083 vtkInformation*, 00084 vtkInformationVector**, 00085 vtkInformationVector*); 00086 00087 char* FileName; 00088 char* Delimiter; 00089 int MaxRecords; 00090 00091 private: 00092 vtkRISReader(const vtkRISReader&); // Not implemented 00093 void operator=(const vtkRISReader&); // Not implemented 00094 }; 00095 00096 #endif