VTK  9.3.0
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
14#ifndef vtkGeoEdgeStrategy_h
15#define vtkGeoEdgeStrategy_h
16
18#include "vtkInfovisLayoutModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTKINFOVISLAYOUT_EXPORT vtkGeoEdgeStrategy : public vtkEdgeLayoutStrategy
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
29
34 vtkSetMacro(GlobeRadius, double);
35 vtkGetMacro(GlobeRadius, double);
37
39
46 vtkSetMacro(ExplodeFactor, double);
47 vtkGetMacro(ExplodeFactor, double);
49
51
55 vtkSetMacro(NumberOfSubdivisions, int);
56 vtkGetMacro(NumberOfSubdivisions, int);
58
62 void Layout() override;
63
64protected:
66 ~vtkGeoEdgeStrategy() override = default;
67
71
72private:
74 void operator=(const vtkGeoEdgeStrategy&) = delete;
75};
76
77VTK_ABI_NAMESPACE_END
78#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:29