Go to the documentation of this file.
37 #ifndef vtkGeoGraticule_h
38 #define vtkGeoGraticule_h
40 #include "vtkGeovisCoreModule.h"
45 #if !defined(VTK_LEGACY_REMOVE)
57 vtkSetVector2Macro(LatitudeBounds,
double);
58 vtkGetVector2Macro(LatitudeBounds,
double);
65 vtkSetVector2Macro(LongitudeBounds,
double);
66 vtkGetVector2Macro(LongitudeBounds,
double);
72 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
79 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
80 vtkGetMacro(LatitudeLevel,
int);
87 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
88 vtkGetMacro(LongitudeLevel,
int);
95 {
return LatitudeLevelTics[
level]; }
101 {
return LongitudeLevelTics[
level]; }
124 double LatitudeBounds[2];
125 double LongitudeBounds[2];
133 static double LatitudeLevelTics[NUMBER_OF_LEVELS];
134 static double LongitudeLevelTics[NUMBER_OF_LEVELS];
147 #endif //VTK_LEGACY_REMOVE
148 #endif // vtkGeoGraticule_h
~vtkGeoGraticule() override
void GenerateGraticule(vtkPolyData *output, double latbds[2], double lngbds[2])
static double GetLongitudeDelta(int level)
The longitude delta at a certain frequency level.
static double GetLatitudeDelta(int level)
The latitude delta at a certain frequency level.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Create a polygonal lat-long grid.
concrete dataset represents vertices, lines, polygons, and triangle strips
int ComputeLineLevel(int ticId, int baseLevel, const double *levelIncrements)
static vtkGeoGraticule * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.