VTK
9.0.1
IO
Infovis
vtkXGMLReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXGMLReader.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
//-------------------------------------------------------------------------
20
34
#ifndef vtkXGMLReader_h
35
#define vtkXGMLReader_h
36
37
#include "vtkIOInfovisModule.h"
// For export macro
38
#include "
vtkUndirectedGraphAlgorithm.h
"
39
40
class
VTKIOINFOVIS_EXPORT
vtkXGMLReader
:
public
vtkUndirectedGraphAlgorithm
41
{
42
public
:
43
static
vtkXGMLReader
*
New
();
44
vtkTypeMacro(
vtkXGMLReader
,
vtkUndirectedGraphAlgorithm
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
46
48
51
vtkGetStringMacro(FileName);
52
vtkSetStringMacro(FileName);
54
55
protected
:
56
vtkXGMLReader
();
57
~
vtkXGMLReader
()
override
;
58
59
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
60
61
private
:
62
char
* FileName;
63
64
vtkXGMLReader
(
const
vtkXGMLReader
&) =
delete
;
65
void
operator=(
const
vtkXGMLReader
&) =
delete
;
66
};
67
68
#endif // vtkXGMLReader_h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkUndirectedGraphAlgorithm::New
static vtkUndirectedGraphAlgorithm * New()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkXGMLReader
Reads XGML graph files. This reader is developed for a simple graph file format based loosely on the ...
Definition:
vtkXGMLReader.h:40
vtkUndirectedGraphAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkUndirectedGraphAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUndirectedGraphAlgorithm
Superclass for algorithms that produce undirected graph as output.
Definition:
vtkUndirectedGraphAlgorithm.h:49
vtkUndirectedGraphAlgorithm.h
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17