VTK  9.3.20240415
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 
40 VTK_ABI_NAMESPACE_BEGIN
41 class vtkBitArray;
43 class vtkStringArray;
44 class vtkTable;
45 
46 class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
47 {
48 public:
49  static vtkMergeGraphs* New();
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 
88 protected:
90  ~vtkMergeGraphs() override;
91 
93 
95 
98  double EdgeWindow;
99 
100 private:
101  vtkMergeGraphs(const vtkMergeGraphs&) = delete;
102  void operator=(const vtkMergeGraphs&) = delete;
103 };
104 
105 VTK_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
int ExtendGraph(vtkMutableGraphHelper *g1, vtkGraph *g2)
This is the core functionality of the algorithm.
static vtkMergeGraphs * New()
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:168
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447