Loading [MathJax]/extensions/tex2jax.js
VTK  9.4.20250418
vtkMergeGraphs.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
34#ifndef vtkMergeGraphs_h
35#define vtkMergeGraphs_h
36
37#include "vtkGraphAlgorithm.h"
38#include "vtkInfovisCoreModule.h" // For export macro
39
40VTK_ABI_NAMESPACE_BEGIN
41class vtkBitArray;
43class vtkStringArray;
44class vtkTable;
45
46class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
58
60
64 vtkSetMacro(UseEdgeWindow, bool);
65 vtkGetMacro(UseEdgeWindow, bool);
66 vtkBooleanMacro(UseEdgeWindow, bool);
68
70
73 vtkSetStringMacro(EdgeWindowArrayName);
74 vtkGetStringMacro(EdgeWindowArrayName);
76
78
84 vtkSetMacro(EdgeWindow, double);
85 vtkGetMacro(EdgeWindow, double);
87
88protected:
90 ~vtkMergeGraphs() override;
91
93
94 int FillInputPortInformation(int port, vtkInformation* info) override;
95
98 double EdgeWindow;
99
100private:
101 vtkMergeGraphs(const vtkMergeGraphs&) = delete;
102 void operator=(const vtkMergeGraphs&) = delete;
103};
104
105VTK_ABI_NAMESPACE_END
106#endif
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:29
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition vtkGraph.h:340
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
combines two graphs
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkMergeGraphs() override
static vtkMergeGraphs * New()
int ExtendGraph(vtkMutableGraphHelper *g1, vtkGraph *g2)
This is the core functionality of the algorithm.
char * EdgeWindowArrayName
Helper class for building a directed or directed graph.
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition vtkTable.h:169