VTK  9.1.0
vtkGraphHierarchicalBundleEdges.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkGraphHierarchicalBundleEdges.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
55#ifndef vtkGraphHierarchicalBundleEdges_h
56#define vtkGraphHierarchicalBundleEdges_h
57
58#include "vtkGraphAlgorithm.h"
59#include "vtkInfovisCoreModule.h" // For export macro
60
61class VTKINFOVISCORE_EXPORT vtkGraphHierarchicalBundleEdges : public vtkGraphAlgorithm
62{
63public:
65
67 void PrintSelf(ostream& os, vtkIndent indent) override;
68
70
76 vtkSetClampMacro(BundlingStrength, double, 0.0, 1.0);
77 vtkGetMacro(BundlingStrength, double);
79
81
87 vtkSetMacro(DirectMapping, bool);
88 vtkGetMacro(DirectMapping, bool);
89 vtkBooleanMacro(DirectMapping, bool);
91
95 int FillInputPortInformation(int port, vtkInformation* info) override;
96
97protected:
100
103
108
109private:
111 void operator=(const vtkGraphHierarchicalBundleEdges&) = delete;
112};
113
114#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:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.