VTK  9.0.3
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 -------------------------------------------------------------------------*/
42 #ifndef vtkStreamGraph_h
43 #define vtkStreamGraph_h
44 
45 #include "vtkGraphAlgorithm.h"
46 #include "vtkInfovisCoreModule.h" // For export macro
47 
48 class vtkBitArray;
49 class vtkMergeGraphs;
52 class vtkStringArray;
53 class vtkTable;
54 
55 class VTKINFOVISCORE_EXPORT vtkStreamGraph : public vtkGraphAlgorithm
56 {
57 public:
58  static vtkStreamGraph* New();
60  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
63 
67  vtkSetMacro(UseEdgeWindow, bool);
68  vtkGetMacro(UseEdgeWindow, bool);
69  vtkBooleanMacro(UseEdgeWindow, bool);
71 
73 
76  vtkSetStringMacro(EdgeWindowArrayName);
77  vtkGetStringMacro(EdgeWindowArrayName);
79 
81 
87  vtkSetMacro(EdgeWindow, double);
88  vtkGetMacro(EdgeWindow, double);
90 
91 protected:
93  ~vtkStreamGraph() override;
94 
96 
100  double EdgeWindow;
102 
103 private:
104  vtkStreamGraph(const vtkStreamGraph&) = delete;
105  void operator=(const vtkStreamGraph&) = delete;
106 };
107 
108 #endif
dynamic, self-adjusting array of bits
Definition: vtkBitArray.h:34
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
combines two graphs
An editable directed graph.
Helper class for building a directed or directed graph.
combines two graphs
~vtkStreamGraph() override
vtkMutableGraphHelper * CurrentGraph
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
char * EdgeWindowArrayName
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMergeGraphs * MergeGraphs
static vtkStreamGraph * New()
a vtkAbstractArray subclass for strings
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:63