40 #ifndef vtkGlobeSource_h
41 #define vtkGlobeSource_h
43 #include "vtkGeovisCoreModule.h"
50 #if !defined(VTK_LEGACY_REMOVE)
63 vtkSetVector3Macro(Origin,
double);
70 vtkSetClampMacro(StartLongitude,
double,-180.0,180.0);
71 vtkSetClampMacro(EndLongitude,
double,-180.0,180.0);
72 vtkSetClampMacro(StartLatitude,
double,-90.0,90.0);
73 vtkSetClampMacro(EndLatitude,
double,-90.0,90.0);
81 vtkSetClampMacro(LongitudeResolution,
int,3,100);
82 vtkGetMacro(LongitudeResolution,
int);
90 vtkSetClampMacro(LatitudeResolution,
int,3,100);
91 vtkGetMacro(LatitudeResolution,
int);
99 vtkGetMacro(Radius,
double);
103 vtkSetMacro(AutoCalculateCurtainHeight,
bool);
104 vtkGetMacro(AutoCalculateCurtainHeight,
bool);
105 vtkBooleanMacro(AutoCalculateCurtainHeight,
bool);
113 vtkGetMacro(CurtainHeight,
double);
125 vtkSetMacro(QuadrilateralTessellation,
vtkTypeBool);
126 vtkGetMacro(QuadrilateralTessellation,
vtkTypeBool);
127 vtkBooleanMacro(QuadrilateralTessellation,
vtkTypeBool);
141 static void ComputeGlobePoint(
142 double theta,
double phi,
double radius,
double*
point,
double* normal =
nullptr);
148 static void ComputeLatitudeLongitude(
149 double* x,
double& theta,
double& phi);
161 double theta,
double phi,
double radius,
188 #endif //VTK_LEGACY_REMOVE