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 -------------------------------------------------------------------------*/
38 #ifndef vtkGeoEdgeStrategy_h
39 #define vtkGeoEdgeStrategy_h
40 
41 #include "vtkInfovisLayoutModule.h" // For export macro
42 #include "vtkEdgeLayoutStrategy.h"
43 
45 {
46 public:
47  static vtkGeoEdgeStrategy *New();
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:
80 
81  double GlobeRadius;
82  double ExplodeFactor;
84 
85 private:
86  vtkGeoEdgeStrategy(const vtkGeoEdgeStrategy&); // Not implemented.
87  void operator=(const vtkGeoEdgeStrategy&); // Not implemented.
88 };
89 
90 #endif
#define VTKINFOVISLAYOUT_EXPORT
virtual void Layout()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
void PrintSelf(ostream &os, vtkIndent indent)
abstract superclass for all edge layout strategies
static vtkObject * New()
Layout graph edges on a globe as arcs.