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