VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
vtkGeoEdgeStrategy.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoEdgeStrategy.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 2008 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
-------------------------------------------------------------------------*/
38
#ifndef __vtkGeoEdgeStrategy_h
39
#define __vtkGeoEdgeStrategy_h
40
41
#include "
vtkEdgeLayoutStrategy.h
"
42
43
class
VTK_INFOVIS_EXPORT
vtkGeoEdgeStrategy
:
public
vtkEdgeLayoutStrategy
44
{
45
public
:
46
static
vtkGeoEdgeStrategy
*
New
();
47
vtkTypeMacro(
vtkGeoEdgeStrategy
,
vtkEdgeLayoutStrategy
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
54
vtkSetMacro(GlobeRadius,
double
);
55
vtkGetMacro(GlobeRadius,
double
);
57
59
63
vtkSetMacro(ExplodeFactor,
double
);
64
vtkGetMacro(ExplodeFactor,
double
);
66
68
69
vtkSetMacro(NumberOfSubdivisions,
int
);
70
vtkGetMacro(NumberOfSubdivisions,
int
);
72
74
virtual
void
Layout
();
75
76
protected
:
77
vtkGeoEdgeStrategy
();
78
~vtkGeoEdgeStrategy
() {}
79
80
double
GlobeRadius
;
81
double
ExplodeFactor
;
82
int
NumberOfSubdivisions
;
83
84
private
:
85
vtkGeoEdgeStrategy
(
const
vtkGeoEdgeStrategy
&);
// Not implemented.
86
void
operator=(
const
vtkGeoEdgeStrategy
&);
// Not implemented.
87
};
88
89
#endif
Generated on Wed May 30 2012 13:22:15 for VTK by
1.8.1