VTK
vtkGeoSampleArcs.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoSampleArcs.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 -------------------------------------------------------------------------*/
31 #ifndef __vtkGeoSampleArcs_h
32 #define __vtkGeoSampleArcs_h
33 
34 #include "vtkPolyDataAlgorithm.h"
35 
37 {
38 public:
39  static vtkGeoSampleArcs *New();
40 
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
48  vtkSetMacro(GlobeRadius, double);
49  vtkGetMacro(GlobeRadius, double);
51 
53 
54  vtkSetMacro(MaximumDistanceMeters, double);
55  vtkGetMacro(MaximumDistanceMeters, double);
57 
58  //BTX
59  enum
60  {
62  SPHERICAL
63  };
64  //ETX
65 
67 
69  vtkSetMacro(InputCoordinateSystem, int);
70  vtkGetMacro(InputCoordinateSystem, int);
71  virtual void SetInputCoordinateSystemToRectangular()
72  { this->SetInputCoordinateSystem(RECTANGULAR); }
73  virtual void SetInputCoordinateSystemToSpherical()
74  { this->SetInputCoordinateSystem(SPHERICAL); }
76 
78 
81  vtkSetMacro(OutputCoordinateSystem, int);
82  vtkGetMacro(OutputCoordinateSystem, int);
83  virtual void SetOutputCoordinateSystemToRectangular()
84  { this->SetOutputCoordinateSystem(RECTANGULAR); }
85  virtual void SetOutputCoordinateSystemToSpherical()
86  { this->SetOutputCoordinateSystem(SPHERICAL); }
88 
89 protected:
92 
95 
96  double GlobeRadius;
100 
101 private:
102  vtkGeoSampleArcs(const vtkGeoSampleArcs&); // Not implemented.
103  void operator=(const vtkGeoSampleArcs&); // Not implemented.
104 };
105 
106 #endif