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-------------------------------------------------------------------------*/
32#ifndef vtkGeoSphereTransform_h
33#define vtkGeoSphereTransform_h
34
35#include "vtkGeovisCoreModule.h" // For export macro
37
39
40class VTKGEOVISCORE_EXPORT vtkGeoSphereTransform : public vtkAbstractTransform
41{
42public:
44 virtual void PrintSelf( ostream& os, vtkIndent indent );
46
50 virtual void Inverse();
51
53
57 virtual void InternalTransformPoint( const float in[3], float out[3] );
58 virtual void InternalTransformPoint( const double in[3], double out[3] );
60
62
68 virtual void InternalTransformDerivative( const float in[3], float out[3], float derivative[3][3] );
69 virtual void InternalTransformDerivative( const double in[3], double out[3], double derivative[3][3] );
71
76
78
84 vtkSetMacro(ToRectangular, bool);
85 vtkGetMacro(ToRectangular, bool);
86 vtkBooleanMacro(ToRectangular, bool);
88
90
94 vtkSetMacro(BaseAltitude, double);
95 vtkGetMacro(BaseAltitude, double);
97
98protected:
101
104
105private:
106 vtkGeoSphereTransform( const vtkGeoSphereTransform& ) VTK_DELETE_FUNCTION;
107 void operator = ( const vtkGeoSphereTransform& ) VTK_DELETE_FUNCTION;
108};
109
110#endif // vtkGeoSphereTransform_h
superclass for all geometric transformations
Represent a projection from a sphere to a plane.
A transformation between long-lat-alt and rect coords.
virtual void InternalTransformDerivative(const double in[3], double out[3], double derivative[3][3])
virtual void InternalTransformPoint(const double in[3], double out[3])
virtual void Inverse()
Invert the transformation.
virtual void InternalTransformPoint(const float in[3], float out[3])
This will calculate the transformation without calling Update.
virtual vtkAbstractTransform * MakeTransform()
Make another transform of the same type.
virtual void InternalTransformDerivative(const float in[3], float out[3], float derivative[3][3])
This will transform a point and, at the same time, calculate a 3x3 Jacobian matrix that provides the ...
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkGeoSphereTransform * New()
virtual ~vtkGeoSphereTransform()
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.