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
37
38class VTKGEOVISCORE_EXPORT vtkGeoSampleArcs : public vtkPolyDataAlgorithm
39{
40public:
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
98protected:
101
106
111
112private:
113 vtkGeoSampleArcs(const vtkGeoSampleArcs&) VTK_DELETE_FUNCTION;
114 void operator=(const vtkGeoSampleArcs&) VTK_DELETE_FUNCTION;
115};
116
117#endif
Samples geospatial lines at regular intervals.
virtual void SetInputCoordinateSystemToRectangular()
virtual void SetOutputCoordinateSystemToSpherical()
static vtkGeoSampleArcs * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Convert the vtkGraph into vtkPolyData.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual void SetOutputCoordinateSystemToRectangular()
virtual void SetInputCoordinateSystemToSpherical()
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.