00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkChacoGraphReader.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 -------------------------------------------------------------------------*/ 00050 #ifndef _vtkChacoGraphReader_h 00051 #define _vtkChacoGraphReader_h 00052 00053 #include "vtkUndirectedGraphAlgorithm.h" 00054 00055 class VTK_INFOVIS_EXPORT vtkChacoGraphReader : public vtkUndirectedGraphAlgorithm 00056 { 00057 public: 00058 static vtkChacoGraphReader *New(); 00059 vtkTypeMacro(vtkChacoGraphReader, vtkUndirectedGraphAlgorithm); 00060 void PrintSelf(ostream& os, vtkIndent indent); 00061 00063 00064 vtkGetStringMacro(FileName); 00065 vtkSetStringMacro(FileName); 00067 00068 protected: 00069 vtkChacoGraphReader(); 00070 ~vtkChacoGraphReader(); 00071 00072 virtual int RequestData( 00073 vtkInformation *, 00074 vtkInformationVector **, 00075 vtkInformationVector *); 00076 00077 private: 00078 char* FileName; 00079 00080 vtkChacoGraphReader(const vtkChacoGraphReader&); // Not implemented. 00081 void operator=(const vtkChacoGraphReader&); // Not implemented. 00082 }; 00083 00084 #endif // _vtkChacoGraphReader_h 00085