34 #ifndef vtkGeoGraticule_h 35 #define vtkGeoGraticule_h 37 #include "vtkGeovisCoreModule.h" 53 vtkSetVector2Macro(LatitudeBounds,
double);
54 vtkGetVector2Macro(LatitudeBounds,
double);
61 vtkSetVector2Macro(LongitudeBounds,
double);
62 vtkGetVector2Macro(LongitudeBounds,
double);
68 NUMBER_OF_LEVELS = ( LEVEL_MAX - LEVEL_MIN + 1 )
75 vtkSetClampMacro(LatitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
76 vtkGetMacro(LatitudeLevel,
int);
83 vtkSetClampMacro(LongitudeLevel,
int,LEVEL_MIN,LEVEL_MAX);
84 vtkGetMacro(LongitudeLevel,
int);
91 {
return LatitudeLevelTics[
level]; }
97 {
return LongitudeLevelTics[
level]; }
107 vtkGetMacro(GeometryType,
int);
120 double LatitudeBounds[2];
121 double LongitudeBounds[2];
129 static
double LatitudeLevelTics[NUMBER_OF_LEVELS];
130 static
double LongitudeLevelTics[NUMBER_OF_LEVELS];
135 void GenerateGraticule(
vtkPolyData* output,
double latbds[2],
double lngbds[2] );
136 int ComputeLineLevel(
int ticId,
int baseLevel, const
double* levelIncrements );
143 #endif // vtkGeoGraticule_h
concrete dataset represents vertices, lines, polygons, and triangle strips
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
static double GetLatitudeDelta(int level)
The latitude delta at a certain frequency level.
Create a polygonal lat-long grid.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static double GetLongitudeDelta(int level)
The longitude delta at a certain frequency level.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.