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 class VTKGEOVISCORE_EXPORT vtkGeoSampleArcs : public vtkPolyDataAlgorithm
39 {
40 public:
41  static vtkGeoSampleArcs *New();
42 
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
47 
52  vtkSetMacro(GlobeRadius, double);
53  vtkGetMacro(GlobeRadius, double);
55 
57 
60  vtkSetMacro(MaximumDistanceMeters, double);
61  vtkGetMacro(MaximumDistanceMeters, double);
63 
64  enum
65  {
67  SPHERICAL
68  };
69 
71 
76  vtkSetMacro(InputCoordinateSystem, int);
77  vtkGetMacro(InputCoordinateSystem, int);
79  { this->SetInputCoordinateSystem(RECTANGULAR); }
81  { this->SetInputCoordinateSystem(SPHERICAL); }
83 
85 
90  vtkSetMacro(OutputCoordinateSystem, int);
91  vtkGetMacro(OutputCoordinateSystem, int);
93  { this->SetOutputCoordinateSystem(RECTANGULAR); }
95  { this->SetOutputCoordinateSystem(SPHERICAL); }
97 
98 protected:
100  ~vtkGeoSampleArcs();
101 
106 
107  double GlobeRadius;
111 
112 private:
113  vtkGeoSampleArcs(const vtkGeoSampleArcs&) VTK_DELETE_FUNCTION;
114  void operator=(const vtkGeoSampleArcs&) VTK_DELETE_FUNCTION;
115 };
116 
117 #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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.