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 
41 
43 
45 {
46 public:
47  static vtkGeoAssignCoordinates *New();
48 
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
54  vtkSetStringMacro(LongitudeArrayName);
55  vtkGetStringMacro(LongitudeArrayName);
57 
59 
60  vtkSetStringMacro(LatitudeArrayName);
61  vtkGetStringMacro(LatitudeArrayName);
63 
65 
66  vtkSetMacro(GlobeRadius, double);
67  vtkGetMacro(GlobeRadius, double);
69 
71 
74  virtual void SetTransform(vtkAbstractTransform* trans);
75  vtkGetObjectMacro(Transform, vtkAbstractTransform);
77 
79 
82  vtkSetMacro(CoordinatesInArrays, bool);
83  vtkGetMacro(CoordinatesInArrays, bool);
84  vtkBooleanMacro(CoordinatesInArrays, bool);
86 
87 protected:
90 
93 
94 private:
95 
96  char* LongitudeArrayName;
97  char* LatitudeArrayName;
98  double GlobeRadius;
99  bool CoordinatesInArrays;
101 
102  vtkGeoAssignCoordinates(const vtkGeoAssignCoordinates&); // Not implemented.
103  void operator=(const vtkGeoAssignCoordinates&); // Not implemented.
104 };
105 
106 #endif
107 
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:37
Given latitude and longitude arrays, take the values in those arrays and convert them to x...
#define VTK_GEOVIS_EXPORT
superclass for all geometric transformations
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()