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 
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:50
vtkPassInputTypeAlgorithm.h
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPassInputTypeAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::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:46
ADIOS::Transform
Transform
Definition: ADIOSDefs.h:39
vtkPassInputTypeAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition: vtkPassInputTypeAlgorithm.h:199
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
Definition: vtkX3D.h:376
vtkPassInputTypeAlgorithm::New
static vtkPassInputTypeAlgorithm * New()
vtkPassInputTypeAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:50