VTK  9.4.20250202
vtkGeoEdgeStrategy.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
17#ifndef vtkGeoEdgeStrategy_h
18#define vtkGeoEdgeStrategy_h
19
21#include "vtkInfovisLayoutModule.h" // For export macro
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKINFOVISLAYOUT_EXPORT vtkGeoEdgeStrategy : public vtkEdgeLayoutStrategy
25{
26public:
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
32
37 vtkSetMacro(GlobeRadius, double);
38 vtkGetMacro(GlobeRadius, double);
40
42
49 vtkSetMacro(ExplodeFactor, double);
50 vtkGetMacro(ExplodeFactor, double);
52
54
58 vtkSetMacro(NumberOfSubdivisions, int);
59 vtkGetMacro(NumberOfSubdivisions, int);
61
65 void Layout() override;
66
67protected:
69 ~vtkGeoEdgeStrategy() override = default;
70
74
75private:
77 void operator=(const vtkGeoEdgeStrategy&) = delete;
78};
79
80VTK_ABI_NAMESPACE_END
81#endif
abstract superclass for all edge layout strategies
Layout graph edges on a globe as arcs.
void Layout() override
Perform the layout.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkGeoEdgeStrategy() override=default
static vtkGeoEdgeStrategy * New()
a simple class to control print indentation
Definition vtkIndent.h:108