VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
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 "
vtkGraphAlgorithm.h
"
34
#include "
vtkSmartPointer.h
"
// for ivars
35
36
class
vtkCoincidentPoints
;
37
class
vtkDataSet
;
38
39
class
VTK_INFOVIS_EXPORT
vtkPerturbCoincidentVertices
:
public
vtkGraphAlgorithm
40
{
41
public
:
42
static
vtkPerturbCoincidentVertices
*
New
();
43
vtkTypeMacro(
vtkPerturbCoincidentVertices
,
vtkGraphAlgorithm
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
47
48
vtkSetMacro(PerturbFactor,
double
);
49
vtkGetMacro(PerturbFactor,
double
);
51
52
protected
:
53
vtkPerturbCoincidentVertices
();
54
~
vtkPerturbCoincidentVertices
();
55
56
int
RequestData
(
57
vtkInformation
*,
58
vtkInformationVector
**,
59
vtkInformationVector
*);
60
61
private
:
62
63
// This class might have more than one method of coincident resolution
64
void
SpiralPerturbation(
vtkGraph
*input,
vtkGraph
*output);
65
void
SimpleSpiralPerturbation(
vtkGraph
*input,
vtkGraph
*output,
float
perturbFactor);
66
67
float
PerturbFactor;
68
69
vtkPerturbCoincidentVertices
(
const
vtkPerturbCoincidentVertices
&);
// Not implemented
70
void
operator=(
const
vtkPerturbCoincidentVertices
&);
// Not implemented
71
};
72
73
#endif
74
Generated on Sun Sep 9 2012 13:03:41 for VTK by
1.8.1.2