VTK
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 -------------------------------------------------------------------------*/
53 #ifndef vtkMergeGraphs_h
54 #define vtkMergeGraphs_h
55 
56 #include "vtkInfovisCoreModule.h" // For export macro
57 #include "vtkGraphAlgorithm.h"
58 
59 class vtkBitArray;
61 class vtkStringArray;
62 class vtkTable;
63 
64 class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
65 {
66 public:
67  static vtkMergeGraphs* New();
69  void PrintSelf(ostream& os, vtkIndent indent) override;
70 
75  int ExtendGraph(vtkMutableGraphHelper* g1, vtkGraph* g2);
76 
78 
82  vtkSetMacro(UseEdgeWindow, bool);
83  vtkGetMacro(UseEdgeWindow, bool);
84  vtkBooleanMacro(UseEdgeWindow, bool);
86 
88 
91  vtkSetStringMacro(EdgeWindowArrayName);
92  vtkGetStringMacro(EdgeWindowArrayName);
94 
96 
102  vtkSetMacro(EdgeWindow, double);
103  vtkGetMacro(EdgeWindow, double);
105 
106 protected:
107  vtkMergeGraphs();
108  ~vtkMergeGraphs() override;
109 
110  int RequestData(
113  vtkInformationVector*) override;
114 
115  int FillInputPortInformation(int port, vtkInformation *info) override;
116 
119  double EdgeWindow;
120 
121 private:
122  vtkMergeGraphs(const vtkMergeGraphs&) = delete;
123  void operator=(const vtkMergeGraphs&) = delete;
124 };
125 
126 #endif
127 
static vtkGraphAlgorithm * New()
Store vtkAlgorithm input/output information.
Helper class for building a directed or directed graph.
a vtkAbstractArray subclass for strings
combines two graphs
Superclass for algorithms that produce only graph as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:36
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.
char * EdgeWindowArrayName