VTK  9.0.1
vtkStreamGraph.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkStreamGraph.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 -------------------------------------------------------------------------*/
36 #ifndef vtkStreamGraph_h
37 #define vtkStreamGraph_h
38 
39 #include "vtkGraphAlgorithm.h"
40 #include "vtkInfovisCoreModule.h" // For export macro
41 
42 class vtkBitArray;
43 class vtkMergeGraphs;
46 class vtkStringArray;
47 class vtkTable;
48 
49 class VTKINFOVISCORE_EXPORT vtkStreamGraph : public vtkGraphAlgorithm
50 {
51 public:
52  static vtkStreamGraph* New();
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
61  vtkSetMacro(UseEdgeWindow, bool);
62  vtkGetMacro(UseEdgeWindow, bool);
63  vtkBooleanMacro(UseEdgeWindow, bool);
65 
67 
70  vtkSetStringMacro(EdgeWindowArrayName);
71  vtkGetStringMacro(EdgeWindowArrayName);
73 
75 
81  vtkSetMacro(EdgeWindow, double);
82  vtkGetMacro(EdgeWindow, double);
84 
85 protected:
87  ~vtkStreamGraph() override;
88 
90 
94  double EdgeWindow;
96 
97 private:
98  vtkStreamGraph(const vtkStreamGraph&) = delete;
99  void operator=(const vtkStreamGraph&) = delete;
100 };
101 
102 #endif
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:52
vtkMutableDirectedGraph
An editable directed graph.
Definition: vtkMutableDirectedGraph.h:46
vtkStreamGraph
combines two graphs
Definition: vtkStreamGraph.h:50
vtkStreamGraph::UseEdgeWindow
bool UseEdgeWindow
Definition: vtkStreamGraph.h:93
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkTable
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63
vtkStreamGraph::CurrentGraph
vtkMutableGraphHelper * CurrentGraph
Definition: vtkStreamGraph.h:91
vtkStreamGraph::~vtkStreamGraph
~vtkStreamGraph() override
vtkMutableGraphHelper
Helper class for building a directed or directed graph.
Definition: vtkMutableGraphHelper.h:48
vtkStreamGraph::MergeGraphs
vtkMergeGraphs * MergeGraphs
Definition: vtkStreamGraph.h:92
vtkStreamGraph::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGraphAlgorithm.h
vtkStreamGraph::EdgeWindowArrayName
char * EdgeWindowArrayName
Definition: vtkStreamGraph.h:95
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkStreamGraph::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkStreamGraph::New
static vtkStreamGraph * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:65
vtkMergeGraphs
combines two graphs
Definition: vtkMergeGraphs.h:59
vtkStringArray
a vtkAbstractArray subclass for strings
Definition: vtkStringArray.h:37
vtkBitArray
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
vtkStreamGraph::EdgeWindow
double EdgeWindow
Definition: vtkStreamGraph.h:94
vtkStreamGraph::vtkStreamGraph
vtkStreamGraph()