36 #ifndef __vtkGeoGraticule_h
37 #define __vtkGeoGraticule_h
52 vtkSetVector2Macro(LatitudeBounds,
double);
53 vtkGetVector2Macro(LatitudeBounds,
double);
58 vtkSetVector2Macro(LongitudeBounds,
double);
59 vtkGetVector2Macro(LongitudeBounds,
double);
66 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
72 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
73 vtkGetMacro(LatitudeLevel,
int);
78 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
79 vtkGetMacro(LongitudeLevel,
int);
85 {
return LatitudeLevelTics[
level]; }
91 {
return LongitudeLevelTics[
level]; }
98 vtkSetMacro(GeometryType,
int);
99 vtkGetMacro(GeometryType,
int);
114 double LatitudeBounds[2];
115 double LongitudeBounds[2];
121 static double LatitudeLevelTics[NUMBER_OF_LEVELS];
122 static double LongitudeLevelTics[NUMBER_OF_LEVELS];
127 void GenerateGraticule(
vtkPolyData* output,
double latbds[2],
double lngbds[2] );
128 int ComputeLineLevel(
int ticId,
int baseLevel,
const double* levelIncrements );
135 #endif // __vtkGeoGraticule_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
static double GetLatitudeDelta(int level)
Create a polygonal lat-long grid.
static double GetLongitudeDelta(int level)