VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkISIReader.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 -------------------------------------------------------------------------*/ 00041 #ifndef __vtkISIReader_h 00042 #define __vtkISIReader_h 00043 00044 #include "vtkIOInfovisModule.h" // For export macro 00045 #include "vtkTableAlgorithm.h" 00046 00047 class vtkTable; 00048 00049 class VTKIOINFOVIS_EXPORT vtkISIReader : public vtkTableAlgorithm 00050 { 00051 public: 00052 static vtkISIReader* New(); 00053 vtkTypeMacro(vtkISIReader,vtkTableAlgorithm); 00054 void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 00058 vtkGetStringMacro(FileName); 00059 vtkSetStringMacro(FileName); 00061 00063 00065 vtkGetStringMacro(Delimiter); 00066 vtkSetStringMacro(Delimiter); 00068 00070 00072 vtkGetMacro(MaxRecords,int); 00073 vtkSetMacro(MaxRecords,int); 00075 00076 protected: 00077 vtkISIReader(); 00078 ~vtkISIReader(); 00079 00080 int RequestData( 00081 vtkInformation*, 00082 vtkInformationVector**, 00083 vtkInformationVector*); 00084 00085 char* FileName; 00086 char* Delimiter; 00087 int MaxRecords; 00088 00089 private: 00090 vtkISIReader(const vtkISIReader&); // Not implemented 00091 void operator=(const vtkISIReader&); // Not implemented 00092 }; 00093 00094 #endif