VTK
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
-------------------------------------------------------------------------*/
30
#ifndef vtkGeoEdgeStrategy_h
31
#define vtkGeoEdgeStrategy_h
32
33
#include "vtkInfovisLayoutModule.h"
// For export macro
34
#include "
vtkEdgeLayoutStrategy.h
"
35
36
class
VTKINFOVISLAYOUT_EXPORT
vtkGeoEdgeStrategy
:
public
vtkEdgeLayoutStrategy
37
{
38
public
:
39
static
vtkGeoEdgeStrategy
*
New
();
40
vtkTypeMacro(
vtkGeoEdgeStrategy
,
vtkEdgeLayoutStrategy
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
42
44
49
vtkSetMacro(GlobeRadius,
double
);
50
vtkGetMacro(GlobeRadius,
double
);
52
54
61
vtkSetMacro(ExplodeFactor,
double
);
62
vtkGetMacro(ExplodeFactor,
double
);
64
66
70
vtkSetMacro(NumberOfSubdivisions,
int
);
71
vtkGetMacro(NumberOfSubdivisions,
int
);
73
77
void
Layout
()
override
;
78
79
protected
:
80
vtkGeoEdgeStrategy
();
81
~vtkGeoEdgeStrategy
()
override
{}
82
83
double
GlobeRadius
;
84
double
ExplodeFactor
;
85
int
NumberOfSubdivisions
;
86
87
private
:
88
vtkGeoEdgeStrategy
(
const
vtkGeoEdgeStrategy
&) =
delete
;
89
void
operator=(
const
vtkGeoEdgeStrategy
&) =
delete
;
90
};
91
92
#endif
vtkEdgeLayoutStrategy::Layout
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkGeoEdgeStrategy::ExplodeFactor
double ExplodeFactor
Definition:
vtkGeoEdgeStrategy.h:84
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkGeoEdgeStrategy::GlobeRadius
double GlobeRadius
Definition:
vtkGeoEdgeStrategy.h:83
vtkGeoEdgeStrategy::NumberOfSubdivisions
int NumberOfSubdivisions
Definition:
vtkGeoEdgeStrategy.h:85
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkGeoEdgeStrategy::~vtkGeoEdgeStrategy
~vtkGeoEdgeStrategy() override
Definition:
vtkGeoEdgeStrategy.h:81
vtkEdgeLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition:
vtkEdgeLayoutStrategy.h:36
vtkGeoEdgeStrategy
Layout graph edges on a globe as arcs.
Definition:
vtkGeoEdgeStrategy.h:36
vtkEdgeLayoutStrategy.h
Generated by
1.8.16