39 #ifndef __vtkGlobeSource_h
40 #define __vtkGlobeSource_h
58 vtkSetVector3Macro(Origin,
double);
62 vtkSetClampMacro(StartLongitude,
double,-180.0,180.0);
63 vtkSetClampMacro(EndLongitude,
double,-180.0,180.0);
64 vtkSetClampMacro(StartLatitude,
double,-90.0,90.0);
65 vtkSetClampMacro(EndLatitude,
double,-90.0,90.0);
71 vtkSetClampMacro(LongitudeResolution,
int,3,100);
72 vtkGetMacro(LongitudeResolution,
int);
78 vtkSetClampMacro(LatitudeResolution,
int,3,100);
79 vtkGetMacro(LatitudeResolution,
int);
85 vtkGetMacro(Radius,
double);
89 vtkSetMacro(AutoCalculateCurtainHeight,
bool);
90 vtkGetMacro(AutoCalculateCurtainHeight,
bool);
91 vtkBooleanMacro(AutoCalculateCurtainHeight,
bool);
97 vtkGetMacro(CurtainHeight,
double);
107 vtkSetMacro(QuadrilateralTessellation,
int);
108 vtkGetMacro(QuadrilateralTessellation,
int);
109 vtkBooleanMacro(QuadrilateralTessellation,
int);
120 static void ComputeGlobePoint(
121 double theta,
double phi,
double radius,
double*
point,
double* normal = 0);
127 static void ComputeLatitudeLongitude(
128 double* x,
double& theta,
double& phi);
145 double theta,
double phi,
double radius,
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
dynamic, self-adjusting array of float
dynamic, self-adjusting array of double
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
int QuadrilateralTessellation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
object to represent cell connectivity
Sphere patch with Lat/Long scalar array.
represent and manipulate 3D points
bool AutoCalculateCurtainHeight