40 #ifndef vtkGlobeSource_h
41 #define vtkGlobeSource_h
43 #include "vtkGeovisCoreModule.h"
62 vtkSetVector3Macro(Origin,
double);
69 vtkSetClampMacro(StartLongitude,
double,-180.0,180.0);
70 vtkSetClampMacro(EndLongitude,
double,-180.0,180.0);
71 vtkSetClampMacro(StartLatitude,
double,-90.0,90.0);
72 vtkSetClampMacro(EndLatitude,
double,-90.0,90.0);
80 vtkSetClampMacro(LongitudeResolution,
int,3,100);
81 vtkGetMacro(LongitudeResolution,
int);
89 vtkSetClampMacro(LatitudeResolution,
int,3,100);
90 vtkGetMacro(LatitudeResolution,
int);
98 vtkGetMacro(Radius,
double);
103 vtkGetMacro(AutoCalculateCurtainHeight,
bool);
112 vtkGetMacro(CurtainHeight,
double);
125 vtkGetMacro(QuadrilateralTessellation,
int);
141 double theta,
double phi,
double radius,
double*
point,
double* normal = 0);
148 double* x,
double& theta,
double& phi);
160 double theta,
double phi,
double radius,
object to represent cell connectivity
dynamic, self-adjusting array of double
dynamic, self-adjusting array of float
Sphere patch with Lat/Long scalar array.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static void ComputeGlobePoint(double theta, double phi, double radius, double *point, double *normal=0)
Calculates the normal and point on a sphere with a specified radius at the spherical coordinates thet...
bool AutoCalculateCurtainHeight
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void AddPoint(double theta, double phi, double radius, vtkPoints *newPoints, vtkFloatArray *newNormals, vtkFloatArray *newLongitudeArray, vtkFloatArray *newLatitudeArray, vtkDoubleArray *newLatLongArray)
static void ComputeLatitudeLongitude(double *x, double &theta, double &phi)
Calculates the spherical coordinates theta and phi based on the point on a sphere.
static vtkGlobeSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both latitude and longitude directions.
int QuadrilateralTessellation
a simple class to control print indentation
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.