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 -------------------------------------------------------------------------*/
30 #ifndef vtkPerturbCoincidentVertices_h
31 #define vtkPerturbCoincidentVertices_h
32 
33 #include "vtkInfovisLayoutModule.h" // For export macro
34 #include "vtkGraphAlgorithm.h"
35 #include "vtkSmartPointer.h" // for ivars
36 
38 class vtkDataSet;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
49  vtkSetMacro(PerturbFactor,double);
50  vtkGetMacro(PerturbFactor,double);
52 
53 protected:
56 
57  int RequestData(
61 
62 private:
63 
64  // This class might have more than one method of coincident resolution
65  void SpiralPerturbation(vtkGraph *input, vtkGraph *output);
66  void SimpleSpiralPerturbation(vtkGraph *input, vtkGraph *output, float perturbFactor);
67 
68  float PerturbFactor;
69 
71  void operator=(const vtkPerturbCoincidentVertices&); // Not implemented
72 };
73 
74 #endif
75 
static vtkGraphAlgorithm * New()
contains an octree of labels
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
#define VTKINFOVISLAYOUT_EXPORT
Superclass for algorithms that produce only graph as output.
Base class for graph data types.
Definition: vtkGraph.h:288
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
Perturbs vertices that are coincident.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.