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);
70 
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:
109 
110  virtual int RequestData(
114 
116 
119  double EdgeWindow;
120 
121 private:
122  vtkMergeGraphs(const vtkMergeGraphs&) VTK_DELETE_FUNCTION;
123  void operator=(const vtkMergeGraphs&) VTK_DELETE_FUNCTION;
124 };
125 
126 #endif
127 
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:55
vtkMergeGraphs::New
static vtkMergeGraphs * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:69
vtkMutableGraphHelper
Helper class for building a directed or directed graph.
Definition: vtkMutableGraphHelper.h:48
vtkMergeGraphs::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkMergeGraphs::EdgeWindow
double EdgeWindow
Definition: vtkMergeGraphs.h:119
vtkMergeGraphs::UseEdgeWindow
bool UseEdgeWindow
Definition: vtkMergeGraphs.h:117
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkMergeGraphs::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMergeGraphs::ExtendGraph
int ExtendGraph(vtkMutableGraphHelper *g1, vtkGraph *g2)
This is the core functionality of the algorithm.
vtkMergeGraphs::EdgeWindowArrayName
char * EdgeWindowArrayName
Definition: vtkMergeGraphs.h:118
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkMergeGraphs
combines two graphs
Definition: vtkMergeGraphs.h:65
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:43
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:37
vtkMergeGraphs::~vtkMergeGraphs
~vtkMergeGraphs()
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:288
vtkMergeGraphs::vtkMergeGraphs
vtkMergeGraphs()
vtkMergeGraphs::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.