VTK  9.1.0
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
53class vtkBitArray;
55class vtkStringArray;
56class vtkTable;
57
58class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
59{
60public:
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
100protected:
102 ~vtkMergeGraphs() override;
103
105
107
111
112private:
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:339
a simple class to control print indentation
Definition: vtkIndent.h:113
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:172
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453