VTK
vtkTulipReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTulipReader.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 -------------------------------------------------------------------------*/
65 #ifndef vtkTulipReader_h
66 #define vtkTulipReader_h
67 
68 #include "vtkIOInfovisModule.h" // For export macro
70 
71 class VTKIOINFOVIS_EXPORT vtkTulipReader : public vtkUndirectedGraphAlgorithm
72 {
73 public:
74  static vtkTulipReader *New();
76  void PrintSelf(ostream& os, vtkIndent indent) override;
77 
79 
82  vtkGetStringMacro(FileName);
83  vtkSetStringMacro(FileName);
85 
86 protected:
88  ~vtkTulipReader() override;
89 
90  int RequestData(
93  vtkInformationVector *) override;
94 
99 
100 private:
101  char* FileName;
102 
103  vtkTulipReader(const vtkTulipReader&) = delete;
104  void operator=(const vtkTulipReader&) = delete;
105 };
106 
107 #endif // vtkTulipReader_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
Reads tulip graph files.
a simple class to control print indentation
Definition: vtkIndent.h:33
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.