37 #ifndef vtkGeoGraticule_h
38 #define vtkGeoGraticule_h
40 #include "vtkGeovisCoreModule.h"
56 vtkSetVector2Macro(LatitudeBounds,
double);
57 vtkGetVector2Macro(LatitudeBounds,
double);
64 vtkSetVector2Macro(LongitudeBounds,
double);
65 vtkGetVector2Macro(LongitudeBounds,
double);
71 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
78 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
79 vtkGetMacro(LatitudeLevel,
int);
86 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
87 vtkGetMacro(LongitudeLevel,
int);
94 {
return LatitudeLevelTics[
level]; }
100 {
return LongitudeLevelTics[
level]; }
110 vtkGetMacro(GeometryType,
int);
123 double LatitudeBounds[2];
124 double LongitudeBounds[2];
132 static double LatitudeLevelTics[NUMBER_OF_LEVELS];
133 static double LongitudeLevelTics[NUMBER_OF_LEVELS];
138 void GenerateGraticule(
vtkPolyData* output,
double latbds[2],
double lngbds[2] );
139 int ComputeLineLevel(
int ticId,
int baseLevel,
const double* levelIncrements );
146 #endif // vtkGeoGraticule_h