VTK
dox
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
40
#ifndef vtkXGMLReader_h
41
#define vtkXGMLReader_h
42
43
#include "vtkIOInfovisModule.h"
// For export macro
44
#include "
vtkUndirectedGraphAlgorithm.h
"
45
46
class
VTKIOINFOVIS_EXPORT
vtkXGMLReader
:
public
vtkUndirectedGraphAlgorithm
47
{
48
public
:
49
static
vtkXGMLReader
*
New
();
50
vtkTypeMacro(
vtkXGMLReader
,
vtkUndirectedGraphAlgorithm
);
51
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
52
54
57
vtkGetStringMacro(FileName);
58
vtkSetStringMacro(FileName);
60
61
protected
:
62
vtkXGMLReader
();
63
~
vtkXGMLReader
()
override
;
64
65
int
RequestData
(
66
vtkInformation
*,
67
vtkInformationVector
**,
68
vtkInformationVector
*)
override
;
69
70
private
:
71
char
* FileName;
72
73
vtkXGMLReader
(
const
vtkXGMLReader
&) =
delete
;
74
void
operator=(
const
vtkXGMLReader
&) =
delete
;
75
};
76
77
#endif // vtkXGMLReader_h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkUndirectedGraphAlgorithm::New
static vtkUndirectedGraphAlgorithm * New()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkXGMLReader
Reads XGML graph files. This reader is developed for a simple graph file format based loosely on the ...
Definition:
vtkXGMLReader.h:46
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:86
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 by
1.8.16