VTK  9.3.1
vtkArcParallelEdgeStrategy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3 // SPDX-License-Identifier: BSD-3-Clause
19 #ifndef vtkArcParallelEdgeStrategy_h
20 #define vtkArcParallelEdgeStrategy_h
21 
22 #include "vtkEdgeLayoutStrategy.h"
23 #include "vtkInfovisLayoutModule.h" // For export macro
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class vtkGraph;
27 
28 class VTKINFOVISLAYOUT_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
39  void Layout() override;
40 
42 
45  vtkGetMacro(NumberOfSubdivisions, int);
46  vtkSetMacro(NumberOfSubdivisions, int);
48 
49 protected:
51  ~vtkArcParallelEdgeStrategy() override;
52 
54 
55 private:
57  void operator=(const vtkArcParallelEdgeStrategy&) = delete;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out. ...
Base class for graph data types.
Definition: vtkGraph.h:280
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
routes parallel edges as arcs
abstract superclass for all edge layout strategies
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...