VTK
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 -------------------------------------------------------------------------*/
36 #ifndef vtkGeoEdgeStrategy_h
37 #define vtkGeoEdgeStrategy_h
38 
39 #include "vtkInfovisLayoutModule.h" // For export macro
40 #include "vtkEdgeLayoutStrategy.h"
41 
42 class VTKINFOVISLAYOUT_EXPORT vtkGeoEdgeStrategy : public vtkEdgeLayoutStrategy
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
55  vtkSetMacro(GlobeRadius, double);
56  vtkGetMacro(GlobeRadius, double);
58 
60 
67  vtkSetMacro(ExplodeFactor, double);
68  vtkGetMacro(ExplodeFactor, double);
70 
72 
76  vtkSetMacro(NumberOfSubdivisions, int);
77  vtkGetMacro(NumberOfSubdivisions, int);
79 
83  virtual void Layout();
84 
85 protected:
88 
89  double GlobeRadius;
90  double ExplodeFactor;
92 
93 private:
94  vtkGeoEdgeStrategy(const vtkGeoEdgeStrategy&) VTK_DELETE_FUNCTION;
95  void operator=(const vtkGeoEdgeStrategy&) VTK_DELETE_FUNCTION;
96 };
97 
98 #endif
vtkGeoEdgeStrategy::ExplodeFactor
double ExplodeFactor
Definition: vtkGeoEdgeStrategy.h:90
vtkGeoEdgeStrategy::vtkGeoEdgeStrategy
vtkGeoEdgeStrategy()
vtkGeoEdgeStrategy::~vtkGeoEdgeStrategy
~vtkGeoEdgeStrategy()
Definition: vtkGeoEdgeStrategy.h:87
vtkGeoEdgeStrategy::GlobeRadius
double GlobeRadius
Definition: vtkGeoEdgeStrategy.h:89
vtkGeoEdgeStrategy::NumberOfSubdivisions
int NumberOfSubdivisions
Definition: vtkGeoEdgeStrategy.h:91
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkGeoEdgeStrategy::New
static vtkGeoEdgeStrategy * New()
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGeoEdgeStrategy::Layout
virtual void Layout()
Perform the layout.
vtkEdgeLayoutStrategy
abstract superclass for all edge layout strategies
Definition: vtkEdgeLayoutStrategy.h:37
vtkGeoEdgeStrategy
Layout graph edges on a globe as arcs.
Definition: vtkGeoEdgeStrategy.h:43
vtkEdgeLayoutStrategy.h
vtkGeoEdgeStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.