VTK
vtkGeoProjection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGeoProjection.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 __vtkGeoProjection_h
32 #define __vtkGeoProjection_h
33 
34 #include "vtkObject.h"
35 
36 struct PROJconsts;
37 typedef PROJconsts PROJ;
38 
40 {
41 public:
42  static vtkGeoProjection* New();
43  virtual void PrintSelf( ostream& os, vtkIndent indent );
44  vtkTypeMacro(vtkGeoProjection,vtkObject);
45 
47  static int GetNumberOfProjections();
48 
52  static const char* GetProjectionName( int projection );
53 
57  static const char* GetProjectionDescription( int projection );
58 
60 
64  vtkSetStringMacro(Name);
65  vtkGetStringMacro(Name);
67 
71  int GetIndex();
72 
75  const char* GetDescription();
76 
78 
80  vtkSetMacro(CentralMeridian,double);
81  vtkGetMacro(CentralMeridian,double);
83 
92  PROJ* GetProjection();
93 
94 protected:
96  virtual ~vtkGeoProjection();
97 
101  virtual int UpdateProjection();
102 
103  char* Name;
107 
108 private:
109  vtkGeoProjection( const vtkGeoProjection& ); // Not implemented.
110  void operator = ( const vtkGeoProjection& ); // Not implemented.
111 };
112 
113 #endif // __vtkGeoProjection_h
Represent a projection from a sphere to a plane.
PROJconsts PROJ
abstract base class for most VTK objects
Definition: vtkObject.h:60
vtkTimeStamp ProjectionMTime
record modification and/or execution time
Definition: vtkTimeStamp.h:33
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_GEOVIS_EXPORT
static vtkObject * New()