Go to the documentation of this file.
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,
represent and manipulate 3D points
dynamic, self-adjusting array of float
static vtkGlobeSource * New()
Construct sphere with radius=0.5 and default resolution 8 in both latitude and longitude directions.
int QuadrilateralTessellation
Sphere patch with Lat/Long scalar array.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
object to represent cell connectivity
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void AddPoint(double theta, double phi, double radius, vtkPoints *newPoints, vtkFloatArray *newNormals, vtkFloatArray *newLongitudeArray, vtkFloatArray *newLatitudeArray, vtkDoubleArray *newLatLongArray)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
dynamic, self-adjusting array of double
static void ComputeLatitudeLongitude(double *x, double &theta, double &phi)
Calculates the spherical coordinates theta and phi based on the point on a sphere.
Superclass for algorithms that produce only polydata as output.