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
vtkGeoSampleArcs::OutputCoordinateSystem
int OutputCoordinateSystem
Definition: vtkGeoSampleArcs.h:111
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkGeoSampleArcs::SetInputCoordinateSystemToRectangular
virtual void SetInputCoordinateSystemToRectangular()
Definition: vtkGeoSampleArcs.h:79
vtkGeoSampleArcs::InputCoordinateSystem
int InputCoordinateSystem
Definition: vtkGeoSampleArcs.h:110
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGeoSampleArcs::MaximumDistanceMeters
double MaximumDistanceMeters
Definition: vtkGeoSampleArcs.h:109
vtkGeoSampleArcs
Samples geospatial lines at regular intervals.
Definition: vtkGeoSampleArcs.h:39
vtkPolyDataAlgorithm.h
vtkGeoSampleArcs::SetOutputCoordinateSystemToSpherical
virtual void SetOutputCoordinateSystemToSpherical()
Definition: vtkGeoSampleArcs.h:95
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkGeoSampleArcs::RECTANGULAR
Definition: vtkGeoSampleArcs.h:67
vtkGeoSampleArcs::GlobeRadius
double GlobeRadius
Definition: vtkGeoSampleArcs.h:108
vtkGeoSampleArcs::SetInputCoordinateSystemToSpherical
virtual void SetInputCoordinateSystemToSpherical()
Definition: vtkGeoSampleArcs.h:81
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkGeoSampleArcs::SetOutputCoordinateSystemToRectangular
virtual void SetOutputCoordinateSystemToRectangular()
Definition: vtkGeoSampleArcs.h:93
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44