VTK  9.3.20240418
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:
52 
54 
55 private:
57  void operator=(const vtkArcParallelEdgeStrategy&) = delete;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
routes parallel edges as arcs
~vtkArcParallelEdgeStrategy() override
static vtkArcParallelEdgeStrategy * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
abstract superclass for all edge layout strategies
Base class for graph data types.
Definition: vtkGraph.h:340
a simple class to control print indentation
Definition: vtkIndent.h:108