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 
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 
vtkGraphAlgorithm
Superclass for algorithms that produce only graph as output.
Definition: vtkGraphAlgorithm.h:54
vtkPerturbCoincidentVertices::~vtkPerturbCoincidentVertices
~vtkPerturbCoincidentVertices()
vtkPerturbCoincidentVertices::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPerturbCoincidentVertices::vtkPerturbCoincidentVertices
vtkPerturbCoincidentVertices()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkgl::input
GLenum GLenum GLenum input
Definition: vtkgl.h:15941
vtkCoincidentPoints
contains an octree of labels
Definition: vtkCoincidentPoints.h:39
vtkPerturbCoincidentVertices
Perturbs vertices that are coincident.
Definition: vtkPerturbCoincidentVertices.h:41
vtkGraphAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSmartPointer.h
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
VTKINFOVISLAYOUT_EXPORT
#define VTKINFOVISLAYOUT_EXPORT
Definition: vtkInfovisLayoutModule.h:15
vtkInfovisLayoutModule.h
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:289
vtkPerturbCoincidentVertices::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkPerturbCoincidentVertices::New
static vtkPerturbCoincidentVertices * New()