VTK
|
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 "vtkIOInfovisModule.h" // For export macro 00071 #include "vtkUndirectedGraphAlgorithm.h" 00072 00073 class VTKIOINFOVIS_EXPORT vtkTulipReader : public vtkUndirectedGraphAlgorithm 00074 { 00075 public: 00076 static vtkTulipReader *New(); 00077 vtkTypeMacro(vtkTulipReader, vtkUndirectedGraphAlgorithm); 00078 void PrintSelf(ostream& os, vtkIndent indent); 00079 00081 00082 vtkGetStringMacro(FileName); 00083 vtkSetStringMacro(FileName); 00085 00086 protected: 00087 vtkTulipReader(); 00088 ~vtkTulipReader(); 00089 00090 virtual int RequestData( 00091 vtkInformation *, 00092 vtkInformationVector **, 00093 vtkInformationVector *); 00094 00096 virtual int FillOutputPortInformation(int port, vtkInformation* info); 00097 00098 private: 00099 char* FileName; 00100 00101 vtkTulipReader(const vtkTulipReader&); // Not implemented. 00102 void operator=(const vtkTulipReader&); // Not implemented. 00103 }; 00104 00105 #endif // _vtkTulipReader_h 00106