36 #ifndef __vtkGeoGraticule_h
37 #define __vtkGeoGraticule_h
39 #include "vtkGeovisCoreModule.h"
48 virtual void PrintSelf( ostream& os, vtkIndent indent );
53 vtkSetVector2Macro(LatitudeBounds,
double);
54 vtkGetVector2Macro(LatitudeBounds,
double);
59 vtkSetVector2Macro(LongitudeBounds,
double);
60 vtkGetVector2Macro(LongitudeBounds,
double);
67 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
73 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
74 vtkGetMacro(LatitudeLevel,
int);
79 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
80 vtkGetMacro(LongitudeLevel,
int);
86 {
return LatitudeLevelTics[level]; }
92 {
return LongitudeLevelTics[level]; }
99 vtkSetMacro(GeometryType,
int);
100 vtkGetMacro(GeometryType,
int);
115 double LatitudeBounds[2];
116 double LongitudeBounds[2];
122 static double LatitudeLevelTics[NUMBER_OF_LEVELS];
123 static double LongitudeLevelTics[NUMBER_OF_LEVELS];
126 virtual int RequestData( vtkInformation*, vtkInformationVector**, vtkInformationVector* );
128 void GenerateGraticule(
vtkPolyData* output,
double latbds[2],
double lngbds[2] );
129 int ComputeLineLevel(
int ticId,
int baseLevel,
const double* levelIncrements );
136 #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.
static double GetLatitudeDelta(int level)
Create a polygonal lat-long grid.
static double GetLongitudeDelta(int level)