VTK
vtkPerturbCoincidentVertices.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkPerturbCoincidentVertices.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 2009 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 -------------------------------------------------------------------------*/
31 #ifndef vtkPerturbCoincidentVertices_h
32 #define vtkPerturbCoincidentVertices_h
33 
34 #include "vtkInfovisLayoutModule.h" // For export macro
35 #include "vtkGraphAlgorithm.h"
36 #include "vtkSmartPointer.h" // for ivars
37 
39 class vtkDataSet;
40 
41 class VTKINFOVISLAYOUT_EXPORT vtkPerturbCoincidentVertices : public vtkGraphAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
52  vtkSetMacro(PerturbFactor,double);
53  vtkGetMacro(PerturbFactor,double);
55 
56 protected:
59 
60  int RequestData(
64 
65 private:
66 
67  // This class might have more than one method of coincident resolution
68  void SpiralPerturbation(vtkGraph *input, vtkGraph *output);
69  void SimpleSpiralPerturbation(vtkGraph *input, vtkGraph *output, float perturbFactor);
70 
71  float PerturbFactor;
72 
74  void operator=(const vtkPerturbCoincidentVertices&) VTK_DELETE_FUNCTION;
75 };
76 
77 #endif
78 
static vtkGraphAlgorithm * New()
contains an octree of labels
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:39
Perturbs vertices that are coincident.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.