34 #ifndef vtkGeoGraticule_h
35 #define vtkGeoGraticule_h
37 #include "vtkGeovisCoreModule.h"
42 #if !defined(VTK_LEGACY_REMOVE)
54 vtkSetVector2Macro(LatitudeBounds,
double);
55 vtkGetVector2Macro(LatitudeBounds,
double);
62 vtkSetVector2Macro(LongitudeBounds,
double);
63 vtkGetVector2Macro(LongitudeBounds,
double);
69 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
76 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
77 vtkGetMacro(LatitudeLevel,
int);
84 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
85 vtkGetMacro(LongitudeLevel,
int);
92 {
return LatitudeLevelTics[
level]; }
98 {
return LongitudeLevelTics[
level]; }
107 vtkSetMacro(GeometryType,
int);
108 vtkGetMacro(GeometryType,
int);
121 double LatitudeBounds[2];
122 double LongitudeBounds[2];
130 static double LatitudeLevelTics[NUMBER_OF_LEVELS];
131 static double LongitudeLevelTics[NUMBER_OF_LEVELS];
136 void GenerateGraticule(
vtkPolyData* output,
double latbds[2],
double lngbds[2] );
137 int ComputeLineLevel(
int ticId,
int baseLevel,
const double* levelIncrements );
144 #endif //VTK_LEGACY_REMOVE
145 #endif // vtkGeoGraticule_h