VTK
vtkGeoArcs.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoArcs.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 vtkGeoArcs_h
31 #define vtkGeoArcs_h
32 
33 #include "vtkGeovisCoreModule.h" // For export macro
34 #include "vtkPolyDataAlgorithm.h"
35 
36 #if !defined(VTK_LEGACY_REMOVE)
37 class VTKGEOVISCORE_EXPORT vtkGeoArcs : public vtkPolyDataAlgorithm
38 {
39 public:
40  static vtkGeoArcs *New();
41 
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
50  vtkSetMacro(GlobeRadius, double);
51  vtkGetMacro(GlobeRadius, double);
53 
55 
62  vtkSetMacro(ExplodeFactor, double);
63  vtkGetMacro(ExplodeFactor, double);
65 
67 
71  vtkSetMacro(NumberOfSubdivisions, int);
72  vtkGetMacro(NumberOfSubdivisions, int);
74 
75 protected:
76  vtkGeoArcs();
77  ~vtkGeoArcs() override {}
78 
80 
81  double GlobeRadius;
82  double ExplodeFactor;
84 
85 private:
86  vtkGeoArcs(const vtkGeoArcs&) = delete;
87  void operator=(const vtkGeoArcs&) = delete;
88 };
89 
90 #endif //VTK_LEGACY_REMOVE
91 #endif
Store vtkAlgorithm input/output information.
double GlobeRadius
Definition: vtkGeoArcs.h:81
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
double ExplodeFactor
Definition: vtkGeoArcs.h:82
~vtkGeoArcs() override
Definition: vtkGeoArcs.h:77
layout graph edges on a globe as arcs.
Definition: vtkGeoArcs.h:37
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
int NumberOfSubdivisions
Definition: vtkGeoArcs.h:83
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.