VTK
vtkGeoAssignCoordinates.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoAssignCoordinates.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 -------------------------------------------------------------------------*/
37 #ifndef vtkGeoAssignCoordinates_h
38 #define vtkGeoAssignCoordinates_h
39 
40 #include "vtkGeovisCoreModule.h" // For export macro
42 
44 
46 {
47 public:
48  static vtkGeoAssignCoordinates *New();
49 
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
54 
55  vtkSetStringMacro(LongitudeArrayName);
56  vtkGetStringMacro(LongitudeArrayName);
58 
60 
61  vtkSetStringMacro(LatitudeArrayName);
62  vtkGetStringMacro(LatitudeArrayName);
64 
66 
67  vtkSetMacro(GlobeRadius, double);
68  vtkGetMacro(GlobeRadius, double);
70 
72 
75  virtual void SetTransform(vtkAbstractTransform* trans);
76  vtkGetObjectMacro(Transform, vtkAbstractTransform);
78 
80 
83  vtkSetMacro(CoordinatesInArrays, bool);
84  vtkGetMacro(CoordinatesInArrays, bool);
85  vtkBooleanMacro(CoordinatesInArrays, bool);
87 
88 protected:
91 
94 
95 private:
96 
97  char* LongitudeArrayName;
98  char* LatitudeArrayName;
99  double GlobeRadius;
100  bool CoordinatesInArrays;
102 
103  vtkGeoAssignCoordinates(const vtkGeoAssignCoordinates&); // Not implemented.
104  void operator=(const vtkGeoAssignCoordinates&); // Not implemented.
105 };
106 
107 #endif
108 
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
Given latitude and longitude arrays, take the values in those arrays and convert them to x...
superclass for all geometric transformations
#define VTKGEOVISCORE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()