VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
dox
Infovis
Layout
vtkGeoMath.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGeoMath.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
-------------------------------------------------------------------------*/
27
#ifndef __vtkGeoMath_h
28
#define __vtkGeoMath_h
29
30
#include "vtkInfovisLayoutModule.h"
// For export macro
31
#include "vtkObject.h"
32
33
class
VTKINFOVISLAYOUT_EXPORT
vtkGeoMath
:
public
vtkObject
34
{
35
public
:
36
static
vtkGeoMath
*New();
37
vtkTypeMacro(
vtkGeoMath
, vtkObject);
38
void
PrintSelf(ostream& os, vtkIndent indent);
39
41
static
double
EarthRadiusMeters
() {
return
6356750.0;}
42
44
static
double
DistanceSquared(
double
pt0[3],
double
pt1[3]);
45
50
static
void
LongLatAltToRect(
double
lla[3],
double
rect[3]);
51
52
protected
:
53
vtkGeoMath
();
54
~
vtkGeoMath
();
55
56
private
:
57
vtkGeoMath
(
const
vtkGeoMath
&);
// Not implemented.
58
void
operator=(
const
vtkGeoMath
&);
// Not implemented.
59
};
60
61
#endif
vtkGeoMath::EarthRadiusMeters
static double EarthRadiusMeters()
Definition:
vtkGeoMath.h:41
vtkGeoMath
Useful geographic calculations.
Definition:
vtkGeoMath.h:33
Generated on Sat Apr 12 2014 01:07:56 for VTK by
1.8.6