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 -------------------------------------------------------------------------*/
35 #ifndef vtkGeoAssignCoordinates_h
36 #define vtkGeoAssignCoordinates_h
37 
38 #include "vtkGeovisCoreModule.h" // For export macro
40 
42 
43 class VTKGEOVISCORE_EXPORT vtkGeoAssignCoordinates : public vtkPassInputTypeAlgorithm
44 {
45 public:
46  static vtkGeoAssignCoordinates *New();
47 
49  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
50 
52 
55  vtkSetStringMacro(LongitudeArrayName);
56  vtkGetStringMacro(LongitudeArrayName);
58 
60 
63  vtkSetStringMacro(LatitudeArrayName);
64  vtkGetStringMacro(LatitudeArrayName);
66 
68 
72  vtkSetMacro(GlobeRadius, double);
73  vtkGetMacro(GlobeRadius, double);
75 
77 
82  virtual void SetTransform(vtkAbstractTransform* trans);
83  vtkGetObjectMacro(Transform, vtkAbstractTransform);
85 
87 
93  vtkSetMacro(CoordinatesInArrays, bool);
94  vtkGetMacro(CoordinatesInArrays, bool);
95  vtkBooleanMacro(CoordinatesInArrays, bool);
97 
98 protected:
100  ~vtkGeoAssignCoordinates() VTK_OVERRIDE;
101 
102  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
103  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
104 
105 private:
106 
107  char* LongitudeArrayName;
108  char* LatitudeArrayName;
109  double GlobeRadius;
110  bool CoordinatesInArrays;
112 
113  vtkGeoAssignCoordinates(const vtkGeoAssignCoordinates&) VTK_DELETE_FUNCTION;
114  void operator=(const vtkGeoAssignCoordinates&) VTK_DELETE_FUNCTION;
115 };
116 
117 #endif
118 
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
Given latitude and longitude arrays, take the values in those arrays and convert them to x...
superclass for all geometric transformations
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkPassInputTypeAlgorithm * New()
Transform
Definition: ADIOSDefs.h:39