Go to the documentation of this file.
32 #ifndef vtkGeoProjection_h
33 #define vtkGeoProjection_h
35 #include "vtkGeovisCoreModule.h"
39 typedef struct PJconsts
PJ;
74 vtkSetStringMacro(Name);
75 vtkGetStringMacro(Name);
95 vtkSetMacro(CentralMeridian,
double);
96 vtkGetMacro(CentralMeridian,
double);
149 vtkSetStringMacro(PROJ4String);
150 vtkGetStringMacro(PROJ4String);
176 vtkInternals* Internals;
179 #endif // vtkGeoProjection_h
const char * GetOptionalParameterValue(int index)
Return the number of optional parameters.
~vtkGeoProjection() override
projPJ GetProjection()
Return a pointer to the PROJ.4 data structure describing this projection.
abstract base class for most VTK objects
const char * GetOptionalParameterKey(int index)
Return the number of optional parameters.
static const char * GetProjectionName(int projection)
Returns the name of one of the projections supported by this class.
int GetNumberOfOptionalParameters()
Return the number of optional parameters.
vtkMTimeType ProjectionMTime
virtual int UpdateProjection()
Determine whether the current projection structure has any changes pending and apply them if necessar...
void SetOptionalParameter(const char *key, const char *value)
Add an optional parameter to the projection that will be computed or replace it if already present.
a simple class to control print indentation
void ClearOptionalParameters()
Clear all optional parameters.
void RemoveOptionalParameter(const char *)
Remove an optional parameter to the projection that will be computed.
static vtkGeoProjection * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static int GetNumberOfProjections()
Returns the number of projections that this class offers.
const char * GetDescription()
Get the description of a projection.
static const char * GetProjectionDescription(int projection)
Returns a description of one of the projections supported by this class.
Represent a projection from a sphere to a plane.
int GetIndex()
Return the index of the current projection's type in the list of all projection types.
vtkTypeUInt32 vtkMTimeType