VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Core
vtkMergeGraphs.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMergeGraphs.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
-------------------------------------------------------------------------*/
52
#ifndef __vtkMergeGraphs_h
53
#define __vtkMergeGraphs_h
54
55
#include "vtkInfovisCoreModule.h"
// For export macro
56
#include "
vtkGraphAlgorithm.h
"
57
58
class
vtkBitArray
;
59
class
vtkMutableGraphHelper
;
60
class
vtkStringArray
;
61
class
vtkTable
;
62
63
class
VTKINFOVISCORE_EXPORT
vtkMergeGraphs
:
public
vtkGraphAlgorithm
64
{
65
public
:
66
static
vtkMergeGraphs
*
New
();
67
vtkTypeMacro(
vtkMergeGraphs
,
vtkGraphAlgorithm
);
68
void
PrintSelf
(ostream& os,
vtkIndent
indent);
69
72
int
ExtendGraph(
vtkMutableGraphHelper
* g1,
vtkGraph
* g2);
73
75
77
vtkSetMacro(UseEdgeWindow,
bool
);
78
vtkGetMacro(UseEdgeWindow,
bool
);
79
vtkBooleanMacro(UseEdgeWindow,
bool
);
81
83
84
vtkSetStringMacro(EdgeWindowArrayName);
85
vtkGetStringMacro
(EdgeWindowArrayName);
87
89
92
vtkSetMacro(EdgeWindow,
double
);
93
vtkGetMacro(EdgeWindow,
double
);
95
96
protected
:
97
vtkMergeGraphs
();
98
~
vtkMergeGraphs
();
99
100
virtual
int
RequestData
(
101
vtkInformation
*,
102
vtkInformationVector
**,
103
vtkInformationVector
*);
104
105
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
106
107
bool
UseEdgeWindow
;
108
char
*
EdgeWindowArrayName
;
109
double
EdgeWindow
;
110
111
private
:
112
vtkMergeGraphs
(
const
vtkMergeGraphs
&);
// Not implemented
113
void
operator=(
const
vtkMergeGraphs
&);
// Not implemented
114
};
115
116
#endif
117
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1