VTK
9.1.0
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
53
#ifndef vtkXGMLReader_h
54
#define vtkXGMLReader_h
55
56
#include "vtkIOInfovisModule.h"
// For export macro
57
#include "
vtkUndirectedGraphAlgorithm.h
"
58
59
class
VTKIOINFOVIS_EXPORT
vtkXGMLReader
:
public
vtkUndirectedGraphAlgorithm
60
{
61
public
:
62
static
vtkXGMLReader
*
New
();
63
vtkTypeMacro(
vtkXGMLReader
,
vtkUndirectedGraphAlgorithm
);
64
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
65
67
70
vtkGetFilePathMacro
(FileName);
71
vtkSetFilePathMacro
(FileName);
73
74
protected
:
75
vtkXGMLReader
();
76
~vtkXGMLReader
()
override
;
77
78
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
79
80
private
:
81
char
* FileName;
82
83
vtkXGMLReader
(
const
vtkXGMLReader
&) =
delete
;
84
void
operator=(
const
vtkXGMLReader
&) =
delete
;
85
};
86
87
#endif // vtkXGMLReader_h
vtkXGMLReader::vtkGetFilePathMacro
vtkGetFilePathMacro(FileName)
The XGML file name.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkXGMLReader::vtkSetFilePathMacro
vtkSetFilePathMacro(FileName)
The XGML file name.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkXGMLReader
Reads XGML graph files.
Definition:
vtkXGMLReader.h:60
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkXGMLReader::New
static vtkXGMLReader * New()
vtkXGMLReader::~vtkXGMLReader
~vtkXGMLReader() override
vtkXGMLReader::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:50
vtkUndirectedGraphAlgorithm.h
vtkXGMLReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkXGMLReader::vtkXGMLReader
vtkXGMLReader()
Generated on Fri Nov 5 2021 00:11:13 for VTK by
1.8.20