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 "vtkGeovisCoreModule.h" // For export macro
35 #include "vtkPolyDataAlgorithm.h"
36 
38 {
39 public:
40  static vtkGeoSampleArcs *New();
41 
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
46 
49  vtkSetMacro(GlobeRadius, double);
50  vtkGetMacro(GlobeRadius, double);
52 
54 
55  vtkSetMacro(MaximumDistanceMeters, double);
56  vtkGetMacro(MaximumDistanceMeters, double);
58 
59  //BTX
60  enum
61  {
63  SPHERICAL
64  };
65  //ETX
66 
68 
70  vtkSetMacro(InputCoordinateSystem, int);
71  vtkGetMacro(InputCoordinateSystem, int);
73  { this->SetInputCoordinateSystem(RECTANGULAR); }
75  { this->SetInputCoordinateSystem(SPHERICAL); }
77 
79 
82  vtkSetMacro(OutputCoordinateSystem, int);
83  vtkGetMacro(OutputCoordinateSystem, int);
85  { this->SetOutputCoordinateSystem(RECTANGULAR); }
87  { this->SetOutputCoordinateSystem(SPHERICAL); }
89 
90 protected:
93 
96 
97  double GlobeRadius;
101 
102 private:
103  vtkGeoSampleArcs(const vtkGeoSampleArcs&); // Not implemented.
104  void operator=(const vtkGeoSampleArcs&); // Not implemented.
105 };
106 
107 #endif
virtual void SetOutputCoordinateSystemToSpherical()
Store vtkAlgorithm input/output information.
virtual void SetInputCoordinateSystemToSpherical()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void SetOutputCoordinateSystemToRectangular()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKGEOVISCORE_EXPORT
virtual void SetInputCoordinateSystemToRectangular()
double MaximumDistanceMeters
Store zero or more vtkInformation instances.
Samples geospatial lines at regular intervals.