VTK  9.2.6
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-------------------------------------------------------------------------*/
49
50#ifndef vtkMergeGraphs_h
51#define vtkMergeGraphs_h
52
53#include "vtkGraphAlgorithm.h"
54#include "vtkInfovisCoreModule.h" // For export macro
55
56class vtkBitArray;
58class vtkStringArray;
59class vtkTable;
60
61class VTKINFOVISCORE_EXPORT vtkMergeGraphs : public vtkGraphAlgorithm
62{
63public:
66 void PrintSelf(ostream& os, vtkIndent indent) override;
67
73
75
79 vtkSetMacro(UseEdgeWindow, bool);
80 vtkGetMacro(UseEdgeWindow, bool);
81 vtkBooleanMacro(UseEdgeWindow, bool);
83
85
88 vtkSetStringMacro(EdgeWindowArrayName);
89 vtkGetStringMacro(EdgeWindowArrayName);
91
93
99 vtkSetMacro(EdgeWindow, double);
100 vtkGetMacro(EdgeWindow, double);
102
103protected:
105 ~vtkMergeGraphs() override;
106
108
109 int FillInputPortInformation(int port, vtkInformation* info) override;
110
114
115private:
116 vtkMergeGraphs(const vtkMergeGraphs&) = delete;
117 void operator=(const vtkMergeGraphs&) = delete;
118};
119
120#endif
dynamic, self-adjusting array of bits
Definition vtkBitArray.h:37
Base class for graph data types.
Definition vtkGraph.h:296
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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:74