VTK
vtkGeoSphereTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoSphereTransform.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 -------------------------------------------------------------------------*/
31 #ifndef __vtkGeoSphereTransform_h
32 #define __vtkGeoSphereTransform_h
33 
34 #include "vtkAbstractTransform.h"
35 
36 class vtkGeoProjection;
37 
39 {
40 public:
41  static vtkGeoSphereTransform* New();
42  virtual void PrintSelf( ostream& os, vtkIndent indent );
44 
46  virtual void Inverse();
47 
49 
51  virtual void InternalTransformPoint( const float in[3], float out[3] );
52  virtual void InternalTransformPoint( const double in[3], double out[3] );
54 
56 
60  virtual void InternalTransformDerivative( const float in[3], float out[3], float derivative[3][3] );
61  virtual void InternalTransformDerivative( const double in[3], double out[3], double derivative[3][3] );
63 
66 
68 
72  vtkSetMacro(ToRectangular, bool);
73  vtkGetMacro(ToRectangular, bool);
74  vtkBooleanMacro(ToRectangular, bool);
76 
78 
80  vtkSetMacro(BaseAltitude, double);
81  vtkGetMacro(BaseAltitude, double);
83 
84 protected:
86  virtual ~vtkGeoSphereTransform();
87 
89  double BaseAltitude;
90 
91 private:
92  vtkGeoSphereTransform( const vtkGeoSphereTransform& ); // Not implemented.
93  void operator = ( const vtkGeoSphereTransform& ); // Not implemented.
94 };
95 
96 #endif // __vtkGeoSphereTransform_h