VTK  9.0.1
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 -------------------------------------------------------------------------*/
47 #ifndef vtkMergeGraphs_h
48 #define vtkMergeGraphs_h
49 
50 #include "vtkGraphAlgorithm.h"
51 #include "vtkInfovisCoreModule.h" // For export macro
52 
53 class vtkBitArray;
55 class vtkStringArray;
56 class vtkTable;
57 
58 class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
59 {
60 public:
61  static vtkMergeGraphs* New();
63  void PrintSelf(ostream& os, vtkIndent indent) override;
64 
70 
72 
76  vtkSetMacro(UseEdgeWindow, bool);
77  vtkGetMacro(UseEdgeWindow, bool);
78  vtkBooleanMacro(UseEdgeWindow, bool);
80 
82 
85  vtkSetStringMacro(EdgeWindowArrayName);
86  vtkGetStringMacro(EdgeWindowArrayName);
88 
90 
96  vtkSetMacro(EdgeWindow, double);
97  vtkGetMacro(EdgeWindow, double);
99 
100 protected:
102  ~vtkMergeGraphs() override;
103 
105 
107 
110  double EdgeWindow;
111 
112 private:
113  vtkMergeGraphs(const vtkMergeGraphs&) = delete;
114  void operator=(const vtkMergeGraphs&) = delete;
115 };
116 
117 #endif
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:290
a simple class to control print indentation
Definition: vtkIndent.h:34
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:63
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453