VTK  9.4.20241221
vtkPerturbCoincidentVertices.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2009 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
15#ifndef vtkPerturbCoincidentVertices_h
16#define vtkPerturbCoincidentVertices_h
17
18#include "vtkGraphAlgorithm.h"
19#include "vtkInfovisLayoutModule.h" // For export macro
20#include "vtkSmartPointer.h" // for ivars
21
22VTK_ABI_NAMESPACE_BEGIN
24class vtkDataSet;
25
26class VTKINFOVISLAYOUT_EXPORT vtkPerturbCoincidentVertices : public vtkGraphAlgorithm
27{
28public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32
34
37 vtkSetMacro(PerturbFactor, double);
38 vtkGetMacro(PerturbFactor, double);
40
41protected:
44
46
47private:
48 // This class might have more than one method of coincident resolution
49 void SpiralPerturbation(vtkGraph* input, vtkGraph* output);
50 void SimpleSpiralPerturbation(vtkGraph* input, vtkGraph* output, float perturbFactor);
51
52 float PerturbFactor;
53
55 void operator=(const vtkPerturbCoincidentVertices&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif
contains an octree of labels
abstract class to specify dataset behavior
Definition vtkDataSet.h:165
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition vtkGraph.h:340
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Perturbs vertices that are coincident.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkPerturbCoincidentVertices() override
static vtkPerturbCoincidentVertices * New()