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
vtkGeoSampleArcs::OutputCoordinateSystem
int OutputCoordinateSystem
Definition: vtkGeoSampleArcs.h:110
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkGeoSampleArcs::SetInputCoordinateSystemToRectangular
virtual void SetInputCoordinateSystemToRectangular()
Definition: vtkGeoSampleArcs.h:78
vtkGeoSampleArcs::InputCoordinateSystem
int InputCoordinateSystem
Definition: vtkGeoSampleArcs.h:109
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:108
vtkGeoSampleArcs
Samples geospatial lines at regular intervals.
Definition: vtkGeoSampleArcs.h:38
vtkPolyDataAlgorithm.h
vtkGeoSampleArcs::RECTANGULAR
Definition: vtkGeoSampleArcs.h:66
vtkGeoSampleArcs::SetOutputCoordinateSystemToSpherical
virtual void SetOutputCoordinateSystemToSpherical()
Definition: vtkGeoSampleArcs.h:94
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkGeoSampleArcs::GlobeRadius
double GlobeRadius
Definition: vtkGeoSampleArcs.h:107
vtkGeoSampleArcs::SetInputCoordinateSystemToSpherical
virtual void SetInputCoordinateSystemToSpherical()
Definition: vtkGeoSampleArcs.h:80
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGeoSampleArcs::SetOutputCoordinateSystemToRectangular
virtual void SetOutputCoordinateSystemToRectangular()
Definition: vtkGeoSampleArcs.h:92
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44