VTK  9.4.20250208
vtkGraphHierarchicalBundleEdges.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
39#ifndef vtkGraphHierarchicalBundleEdges_h
40#define vtkGraphHierarchicalBundleEdges_h
41
42#include "vtkGraphAlgorithm.h"
43#include "vtkInfovisCoreModule.h" // For export macro
44
45VTK_ABI_NAMESPACE_BEGIN
46class VTKINFOVISCORE_EXPORT vtkGraphHierarchicalBundleEdges : public vtkGraphAlgorithm
47{
48public:
50
52 void PrintSelf(ostream& os, vtkIndent indent) override;
53
55
61 vtkSetClampMacro(BundlingStrength, double, 0.0, 1.0);
62 vtkGetMacro(BundlingStrength, double);
64
66
72 vtkSetMacro(DirectMapping, bool);
73 vtkGetMacro(DirectMapping, bool);
74 vtkBooleanMacro(DirectMapping, bool);
76
80 int FillInputPortInformation(int port, vtkInformation* info) override;
81
82protected:
85
88
93
94private:
96 void operator=(const vtkGraphHierarchicalBundleEdges&) = delete;
97};
98
99VTK_ABI_NAMESPACE_END
100#endif
Superclass for algorithms that produce only graph as output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkGraphHierarchicalBundleEdges * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
int FillInputPortInformation(int port, vtkInformation *info) override
Set the input type of the algorithm to vtkGraph.
~vtkGraphHierarchicalBundleEdges() override=default
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.