VTK
vtkChacoGraphReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkChacoGraphReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
51 #ifndef vtkChacoGraphReader_h
52 #define vtkChacoGraphReader_h
53 
54 #include "vtkIOInfovisModule.h" // For export macro
56 
57 class VTKIOINFOVIS_EXPORT vtkChacoGraphReader : public vtkUndirectedGraphAlgorithm
58 {
59 public:
60  static vtkChacoGraphReader *New();
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
65 
68  vtkGetStringMacro(FileName);
69  vtkSetStringMacro(FileName);
71 
72 protected:
74  ~vtkChacoGraphReader() override;
75 
76  int RequestData(
79  vtkInformationVector *) override;
80 
81 private:
82  char* FileName;
83 
85  void operator=(const vtkChacoGraphReader&) = delete;
86 };
87 
88 #endif // vtkChacoGraphReader_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
Reads chaco graph files.
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkUndirectedGraphAlgorithm * New()
Store zero or more vtkInformation instances.
Superclass for algorithms that produce undirected graph as output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.