VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Infovis
Layout
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 "vtkInfovisLayoutModule.h"
// For export macro
42
#include "
vtkEdgeLayoutStrategy.h
"
43
44
class
VTKINFOVISLAYOUT_EXPORT
vtkGeoEdgeStrategy
:
public
vtkEdgeLayoutStrategy
45
{
46
public
:
47
static
vtkGeoEdgeStrategy
*
New
();
48
vtkTypeMacro(
vtkGeoEdgeStrategy
,
vtkEdgeLayoutStrategy
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
52
55
vtkSetMacro(GlobeRadius,
double
);
56
vtkGetMacro(GlobeRadius,
double
);
58
60
64
vtkSetMacro(ExplodeFactor,
double
);
65
vtkGetMacro(ExplodeFactor,
double
);
67
69
70
vtkSetMacro(NumberOfSubdivisions,
int
);
71
vtkGetMacro(NumberOfSubdivisions,
int
);
73
75
virtual
void
Layout
();
76
77
protected
:
78
vtkGeoEdgeStrategy
();
79
~vtkGeoEdgeStrategy
() {}
80
81
double
GlobeRadius
;
82
double
ExplodeFactor
;
83
int
NumberOfSubdivisions
;
84
85
private
:
86
vtkGeoEdgeStrategy
(
const
vtkGeoEdgeStrategy
&);
// Not implemented.
87
void
operator=(
const
vtkGeoEdgeStrategy
&);
// Not implemented.
88
};
89
90
#endif
Generated on Thu May 24 2012 22:22:26 for VTK by
1.8.1