VTK
dox/Infovis/vtkISIReader.h
Go to the documentation of this file.
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 "vtkTableAlgorithm.h"
00045 
00046 class vtkTable;
00047 
00048 class VTK_INFOVIS_EXPORT vtkISIReader : public vtkTableAlgorithm
00049 {
00050 public:
00051   static vtkISIReader* New();
00052   vtkTypeMacro(vtkISIReader,vtkTableAlgorithm);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00057   vtkGetStringMacro(FileName);
00058   vtkSetStringMacro(FileName);
00060   
00062 
00064   vtkGetStringMacro(Delimiter);
00065   vtkSetStringMacro(Delimiter);
00067 
00069 
00071   vtkGetMacro(MaxRecords,int);
00072   vtkSetMacro(MaxRecords,int);
00074 
00075  protected:
00076   vtkISIReader();
00077   ~vtkISIReader();
00078 
00079   int RequestData(
00080     vtkInformation*, 
00081     vtkInformationVector**, 
00082     vtkInformationVector*);
00083 
00084   char* FileName;
00085   char* Delimiter;
00086   int MaxRecords;
00087 
00088 private:
00089   vtkISIReader(const vtkISIReader&); // Not implemented
00090   void operator=(const vtkISIReader&);   // Not implemented
00091 };
00092 
00093 #endif