VTK
vtkGeoTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoTransform.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 -------------------------------------------------------------------------*/
30 #ifndef vtkGeoTransform_h
31 #define vtkGeoTransform_h
32 
33 #include "vtkGeovisCoreModule.h" // For export macro
34 #include "vtkAbstractTransform.h"
35 
36 class vtkGeoProjection;
37 
39 {
40 public:
41  static vtkGeoTransform* New();
42  virtual void PrintSelf( ostream& os, vtkIndent indent );
44 
46 
50 
52 
54  vtkGetObjectMacro(DestinationProjection,vtkGeoProjection);
56 
59 
61  virtual void Inverse();
62 
64 
66  virtual void InternalTransformPoint( const float in[3], float out[3] );
67  virtual void InternalTransformPoint( const double in[3], double out[3] );
69 
71 
75  virtual void InternalTransformDerivative( const float in[3], float out[3], float derivative[3][3] );
76  virtual void InternalTransformDerivative( const double in[3], double out[3], double derivative[3][3] );
78 
81 
82 protected:
84  virtual ~vtkGeoTransform();
85 
86  void InternalTransformPoints( double* ptsInOut, vtkIdType numPts, int stride );
87 
90 
91 private:
92  vtkGeoTransform( const vtkGeoTransform& ); // Not implemented.
93  void operator = ( const vtkGeoTransform& ); // Not implemented.
94 };
95 
96 #endif // vtkGeoTransform_h
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkgl::dst
GLenum GLenum dst
Definition: vtkgl.h:12525
vtkGeoTransform::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkGeoTransform::DestinationProjection
vtkGeoProjection * DestinationProjection
Definition: vtkGeoTransform.h:89
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:50
vtkGeoTransform::InternalTransformPoints
void InternalTransformPoints(double *ptsInOut, vtkIdType numPts, int stride)
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkGeoTransform::SetSourceProjection
void SetSourceProjection(vtkGeoProjection *source)
vtkAbstractTransform.h
vtkGeoTransform::~vtkGeoTransform
virtual ~vtkGeoTransform()
vtkGeoTransform::New
static vtkGeoTransform * New()
vtkGeoTransform::vtkGeoTransform
vtkGeoTransform()
vtkGeoTransform
A transformation between two geographic coordinate systems.
Definition: vtkGeoTransform.h:39
vtkGeovisCoreModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkGeoTransform::InternalTransformPoint
virtual void InternalTransformPoint(const double in[3], double out[3])
vtkgl::in
GLuint in
Definition: vtkgl.h:16905
vtkGeoTransform::SourceProjection
vtkGeoProjection * SourceProjection
Definition: vtkGeoTransform.h:88
vtkGeoTransform::InternalTransformPoint
virtual void InternalTransformPoint(const float in[3], float out[3])
vtkgl::stride
GLsizei stride
Definition: vtkgl.h:11728
source
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
Definition: vtkBoostGraphAdapter.h:821
vtkGeoTransform::TransformPoints
virtual void TransformPoints(vtkPoints *src, vtkPoints *dst)
vtkGeoTransform::SetDestinationProjection
void SetDestinationProjection(vtkGeoProjection *dest)
vtkgl::src
GLenum src
Definition: vtkgl.h:12525
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGeoTransform::InternalTransformDerivative
virtual void InternalTransformDerivative(const float in[3], float out[3], float derivative[3][3])
VTKGEOVISCORE_EXPORT
#define VTKGEOVISCORE_EXPORT
Definition: vtkGeovisCoreModule.h:15
vtkGeoTransform::MakeTransform
virtual vtkAbstractTransform * MakeTransform()
vtkGeoTransform::InternalTransformDerivative
virtual void InternalTransformDerivative(const double in[3], double out[3], double derivative[3][3])
vtkGeoTransform::Inverse
virtual void Inverse()
vtkGeoProjection
Represent a projection from a sphere to a plane.
Definition: vtkGeoProjection.h:42