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 -------------------------------------------------------------------------*/
68 #ifndef vtkTulipReader_h
69 #define vtkTulipReader_h
70 
71 #include "vtkIOInfovisModule.h" // For export macro
73 
74 class VTKIOINFOVIS_EXPORT vtkTulipReader : public vtkUndirectedGraphAlgorithm
75 {
76 public:
77  static vtkTulipReader *New();
79  void PrintSelf(ostream& os, vtkIndent indent) override;
80 
82 
85  vtkGetStringMacro(FileName);
86  vtkSetStringMacro(FileName);
88 
89 protected:
91  ~vtkTulipReader() override;
92 
93  int RequestData(
96  vtkInformationVector *) override;
97 
102 
103 private:
104  char* FileName;
105 
106  vtkTulipReader(const vtkTulipReader&) = delete;
107  void operator=(const vtkTulipReader&) = delete;
108 };
109 
110 #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: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.