VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Layout
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
37
class
vtkCoincidentPoints
;
38
class
vtkDataSet
;
39
40
class
VTKINFOVISLAYOUT_EXPORT
vtkPerturbCoincidentVertices
:
public
vtkGraphAlgorithm
41
{
42
public
:
43
static
vtkPerturbCoincidentVertices
*
New
();
44
vtkTypeMacro(
vtkPerturbCoincidentVertices
,
vtkGraphAlgorithm
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
48
49
vtkSetMacro(PerturbFactor,
double
);
50
vtkGetMacro(PerturbFactor,
double
);
52
53
protected
:
54
vtkPerturbCoincidentVertices
();
55
~
vtkPerturbCoincidentVertices
();
56
57
int
RequestData
(
58
vtkInformation
*,
59
vtkInformationVector
**,
60
vtkInformationVector
*);
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
70
vtkPerturbCoincidentVertices
(
const
vtkPerturbCoincidentVertices
&);
// Not implemented
71
void
operator=(
const
vtkPerturbCoincidentVertices
&);
// Not implemented
72
};
73
74
#endif
75
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1