37 #ifndef vtkGlobeSource_h
38 #define vtkGlobeSource_h
40 #include "vtkGeovisCoreModule.h"
47 #if !defined(VTK_LEGACY_REMOVE)
60 vtkSetVector3Macro(Origin,
double);
67 vtkSetClampMacro(StartLongitude,
double,-180.0,180.0);
68 vtkSetClampMacro(EndLongitude,
double,-180.0,180.0);
69 vtkSetClampMacro(StartLatitude,
double,-90.0,90.0);
70 vtkSetClampMacro(EndLatitude,
double,-90.0,90.0);
78 vtkSetClampMacro(LongitudeResolution,
int,3,100);
79 vtkGetMacro(LongitudeResolution,
int);
87 vtkSetClampMacro(LatitudeResolution,
int,3,100);
88 vtkGetMacro(LatitudeResolution,
int);
96 vtkGetMacro(Radius,
double);
100 vtkSetMacro(AutoCalculateCurtainHeight,
bool);
101 vtkGetMacro(AutoCalculateCurtainHeight,
bool);
102 vtkBooleanMacro(AutoCalculateCurtainHeight,
bool);
110 vtkGetMacro(CurtainHeight,
double);
122 vtkSetMacro(QuadrilateralTessellation,
vtkTypeBool);
123 vtkGetMacro(QuadrilateralTessellation,
vtkTypeBool);
124 vtkBooleanMacro(QuadrilateralTessellation,
vtkTypeBool);
138 static void ComputeGlobePoint(
139 double theta,
double phi,
double radius,
double*
point,
double* normal =
nullptr);
145 static void ComputeLatitudeLongitude(
146 double* x,
double& theta,
double& phi);
158 double theta,
double phi,
double radius,
185 #endif //VTK_LEGACY_REMOVE