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
39class vtkDataSet;
40
41class VTKINFOVISLAYOUT_EXPORT vtkPerturbCoincidentVertices : public vtkGraphAlgorithm
42{
43public:
46 void PrintSelf(ostream& os, vtkIndent indent);
47
49
52 vtkSetMacro(PerturbFactor,double);
53 vtkGetMacro(PerturbFactor,double);
55
56protected:
59
64
65private:
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
contains an octree of labels
abstract class to specify dataset behavior
Definition: vtkDataSet.h:63
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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Perturbs vertices that are coincident.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkPerturbCoincidentVertices * New()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.