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 -------------------------------------------------------------------------*/
38 #ifndef vtkGeoAssignCoordinates_h
39 #define vtkGeoAssignCoordinates_h
40 
41 #include "vtkGeovisCoreModule.h" // For export macro
43 
45 
46 class VTKGEOVISCORE_EXPORT vtkGeoAssignCoordinates : public vtkPassInputTypeAlgorithm
47 {
48 public:
49  static vtkGeoAssignCoordinates *New();
50 
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
58  vtkSetStringMacro(LongitudeArrayName);
59  vtkGetStringMacro(LongitudeArrayName);
61 
63 
66  vtkSetStringMacro(LatitudeArrayName);
67  vtkGetStringMacro(LatitudeArrayName);
69 
71 
75  vtkSetMacro(GlobeRadius, double);
76  vtkGetMacro(GlobeRadius, double);
78 
80 
85  virtual void SetTransform(vtkAbstractTransform* trans);
86  vtkGetObjectMacro(Transform, vtkAbstractTransform);
88 
90 
96  vtkSetMacro(CoordinatesInArrays, bool);
97  vtkGetMacro(CoordinatesInArrays, bool);
98  vtkBooleanMacro(CoordinatesInArrays, bool);
100 
101 protected:
104 
107 
108 private:
109 
110  char* LongitudeArrayName;
111  char* LatitudeArrayName;
112  double GlobeRadius;
113  bool CoordinatesInArrays;
115 
116  vtkGeoAssignCoordinates(const vtkGeoAssignCoordinates&) VTK_DELETE_FUNCTION;
117  void operator=(const vtkGeoAssignCoordinates&) VTK_DELETE_FUNCTION;
118 };
119 
120 #endif
121 
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:39
Given latitude and longitude arrays, take the values in those arrays and convert them to x...
superclass for all geometric transformations
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()
Transform
Definition: ADIOSDefs.h:39