VTK  9.3.20240424
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
23#include "vtkInfovisLayoutModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class vtkGraph;
27
28class VTKINFOVISLAYOUT_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
39 void Layout() override;
40
42
45 vtkGetMacro(NumberOfSubdivisions, int);
46 vtkSetMacro(NumberOfSubdivisions, int);
48
49protected:
52
54
55private:
57 void operator=(const vtkArcParallelEdgeStrategy&) = delete;
58};
59
60VTK_ABI_NAMESPACE_END
61#endif
routes parallel edges as arcs
~vtkArcParallelEdgeStrategy() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkArcParallelEdgeStrategy * New()
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