VTK
dox/Infovis/vtkXGMLReader.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkXGMLReader.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 //-------------------------------------------------------------------------
00020 
00039 #ifndef _vtkXGMLReader_h
00040 #define _vtkXGMLReader_h
00041 
00042 #include "vtkUndirectedGraphAlgorithm.h"
00043 
00044 class VTK_INFOVIS_EXPORT vtkXGMLReader : public vtkUndirectedGraphAlgorithm
00045 {
00046 public:
00047   static vtkXGMLReader *New();
00048   vtkTypeMacro(vtkXGMLReader, vtkUndirectedGraphAlgorithm);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00053   vtkGetStringMacro(FileName);
00054   vtkSetStringMacro(FileName);
00056 
00057 protected:
00058   vtkXGMLReader();
00059   ~vtkXGMLReader();
00060 
00061   virtual int RequestData(
00062     vtkInformation *, 
00063     vtkInformationVector **, 
00064     vtkInformationVector *);
00065 
00066 private:
00067   char* FileName;
00068 
00069   vtkXGMLReader(const vtkXGMLReader&);  // Not implemented.
00070   void operator=(const vtkXGMLReader&);  // Not implemented.
00071 };
00072 
00073 #endif // _vtkXGMLReader_h
00074