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 -------------------------------------------------------------------------*/
32 #ifndef vtkGeoSampleArcs_h
33 #define vtkGeoSampleArcs_h
34 
35 #include "vtkGeovisCoreModule.h" // For export macro
36 #include "vtkPolyDataAlgorithm.h"
37 
38 #if !defined(VTK_LEGACY_REMOVE)
39 class VTKGEOVISCORE_EXPORT vtkGeoSampleArcs : public vtkPolyDataAlgorithm
40 {
41 public:
42  static vtkGeoSampleArcs *New();
43 
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
53  vtkSetMacro(GlobeRadius, double);
54  vtkGetMacro(GlobeRadius, double);
56 
58 
61  vtkSetMacro(MaximumDistanceMeters, double);
62  vtkGetMacro(MaximumDistanceMeters, double);
64 
65  enum
66  {
68  SPHERICAL
69  };
70 
72 
77  vtkSetMacro(InputCoordinateSystem, int);
78  vtkGetMacro(InputCoordinateSystem, int);
80  { this->SetInputCoordinateSystem(RECTANGULAR); }
82  { this->SetInputCoordinateSystem(SPHERICAL); }
84 
86 
91  vtkSetMacro(OutputCoordinateSystem, int);
92  vtkGetMacro(OutputCoordinateSystem, int);
94  { this->SetOutputCoordinateSystem(RECTANGULAR); }
96  { this->SetOutputCoordinateSystem(SPHERICAL); }
98 
99 protected:
101  ~vtkGeoSampleArcs() override;
102 
107 
108  double GlobeRadius;
112 
113 private:
114  vtkGeoSampleArcs(const vtkGeoSampleArcs&) = delete;
115  void operator=(const vtkGeoSampleArcs&) = delete;
116 };
117 
118 #endif //VTK_LEGACY_REMOVE
119 #endif
virtual void SetOutputCoordinateSystemToSpherical()
The desired output coordinate system.
Store vtkAlgorithm input/output information.
virtual void SetInputCoordinateSystemToSpherical()
The input coordinate system.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
virtual void SetOutputCoordinateSystemToRectangular()
The desired output coordinate system.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual void SetInputCoordinateSystemToRectangular()
The input coordinate system.
Store zero or more vtkInformation instances.
Samples geospatial lines at regular intervals.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.