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:
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 
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:51
vtkPassInputTypeAlgorithm.h
vtkGeoAssignCoordinates::~vtkGeoAssignCoordinates
~vtkGeoAssignCoordinates()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkGeoAssignCoordinates::New
static vtkGeoAssignCoordinates * New()
vtkGeoAssignCoordinates::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkGeoAssignCoordinates
Given latitude and longitude arrays, take the values in those arrays and convert them to x,...
Definition: vtkGeoAssignCoordinates.h:47
vtkGeoAssignCoordinates::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
ADIOS::Transform
Transform
Definition: ADIOSDefs.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkGeoAssignCoordinates::vtkGeoAssignCoordinates
vtkGeoAssignCoordinates()
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkGeoAssignCoordinates::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkGeoAssignCoordinates::SetTransform
virtual void SetTransform(vtkAbstractTransform *trans)
The transform to use to convert coordinates of the form (lat, long, 0) to (x, y z).
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:51