VTK  9.3.0
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
16#ifndef vtkArcParallelEdgeStrategy_h
17#define vtkArcParallelEdgeStrategy_h
18
20#include "vtkInfovisLayoutModule.h" // For export macro
21
22VTK_ABI_NAMESPACE_BEGIN
23class vtkGraph;
24
25class VTKINFOVISLAYOUT_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
36 void Layout() override;
37
39
42 vtkGetMacro(NumberOfSubdivisions, int);
43 vtkSetMacro(NumberOfSubdivisions, int);
45
46protected:
49
51
52private:
54 void operator=(const vtkArcParallelEdgeStrategy&) = delete;
55};
56
57VTK_ABI_NAMESPACE_END
58#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:281
a simple class to control print indentation
Definition vtkIndent.h:29