VTK
dox/Infovis/vtkTulipReader.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTulipReader.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 -------------------------------------------------------------------------*/
00067 #ifndef _vtkTulipReader_h
00068 #define _vtkTulipReader_h
00069 
00070 #include "vtkUndirectedGraphAlgorithm.h"
00071 
00072 class VTK_INFOVIS_EXPORT vtkTulipReader : public vtkUndirectedGraphAlgorithm
00073 {
00074 public:
00075   static vtkTulipReader *New();
00076   vtkTypeMacro(vtkTulipReader, vtkUndirectedGraphAlgorithm);
00077   void PrintSelf(ostream& os, vtkIndent indent);
00078 
00080 
00081   vtkGetStringMacro(FileName);
00082   vtkSetStringMacro(FileName);
00084 
00085 protected:
00086   vtkTulipReader();
00087   ~vtkTulipReader();
00088 
00089   virtual int RequestData(
00090     vtkInformation *, 
00091     vtkInformationVector **, 
00092     vtkInformationVector *);
00093 
00095   virtual int FillOutputPortInformation(int port, vtkInformation* info);
00096 
00097 private:
00098   char* FileName;
00099 
00100   vtkTulipReader(const vtkTulipReader&);  // Not implemented.
00101   void operator=(const vtkTulipReader&);  // Not implemented.
00102 };
00103 
00104 #endif // _vtkTulipReader_h
00105