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
74class VTKIOINFOVIS_EXPORT vtkTulipReader : public vtkUndirectedGraphAlgorithm
75{
76public:
79 void PrintSelf(ostream& os, vtkIndent indent);
80
82
86 vtkSetStringMacro(FileName);
88
89protected:
92
93 virtual int RequestData(
97
102
103private:
104 char* FileName;
105
106 vtkTulipReader(const vtkTulipReader&) VTK_DELETE_FUNCTION;
107 void operator=(const vtkTulipReader&) VTK_DELETE_FUNCTION;
108};
109
110#endif // vtkTulipReader_h
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Reads tulip graph files.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual int FillOutputPortInformation(int port, vtkInformation *info)
Set the outputs to vtkUndirectedGraph and vtkAnnotationLayers.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkTulipReader * New()
Superclass for algorithms that produce undirected graph as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.