39 #ifndef __vtkGlobeSource_h
40 #define __vtkGlobeSource_h
42 #include "vtkGeovisCoreModule.h"
53 void PrintSelf(ostream& os, vtkIndent indent);
59 vtkSetVector3Macro(Origin,
double);
64 vtkSetClampMacro(StartLongitude,
double,-180.0,180.0);
65 vtkSetClampMacro(EndLongitude,
double,-180.0,180.0);
66 vtkSetClampMacro(StartLatitude,
double,-90.0,90.0);
67 vtkSetClampMacro(EndLatitude,
double,-90.0,90.0);
73 vtkSetClampMacro(LongitudeResolution,
int,3,100);
74 vtkGetMacro(LongitudeResolution,
int);
80 vtkSetClampMacro(LatitudeResolution,
int,3,100);
81 vtkGetMacro(LatitudeResolution,
int);
86 vtkSetClampMacro(Radius,
double,0.0,VTK_DOUBLE_MAX);
87 vtkGetMacro(Radius,
double);
91 vtkSetMacro(AutoCalculateCurtainHeight,
bool);
92 vtkGetMacro(AutoCalculateCurtainHeight,
bool);
93 vtkBooleanMacro(AutoCalculateCurtainHeight,
bool);
98 vtkSetClampMacro(CurtainHeight,
double,0.0,VTK_DOUBLE_MAX);
99 vtkGetMacro(CurtainHeight,
double);
109 vtkSetMacro(QuadrilateralTessellation,
int);
110 vtkGetMacro(QuadrilateralTessellation,
int);
111 vtkBooleanMacro(QuadrilateralTessellation,
int);
122 static void ComputeGlobePoint(
123 double theta,
double phi,
double radius,
double* point,
double* normal = 0);
129 static void ComputeLatitudeLongitude(
130 double* x,
double& theta,
double& phi);
139 vtkInformationVector **,
140 vtkInformationVector *);
143 vtkInformationVector **,
144 vtkInformationVector *);
147 double theta,
double phi,
double radius,
148 vtkPoints* newPoints, vtkFloatArray* newNormals,
149 vtkFloatArray* newLongitudeArray, vtkFloatArray* newLatitudeArray,
150 vtkDoubleArray* newLatLongArray);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
int QuadrilateralTessellation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
object to represent cell connectivity
Sphere patch with Lat/Long scalar array.
bool AutoCalculateCurtainHeight