vtkSphereSource - create a polygonal sphere centered at the origin
Super Class: vtkPolyDataSource
Description:
vtkSphereSource creates a sphere (represented by polygons) of specified radius centered at the origin. The resolution (polygonal discretization) in both the latitude (phi) and longitude (theta) directions can be specified. It also is possible to create partial spheres by specifying maximum phi and theta angles.
Caveats:
Resolution means the number of latitude or longitude lines for a complete sphere. If you create partial spheres the number of latitude/longitude lines may be off by one.
Methods:
void vtkSphereSource (int ) | |
const char *GetClassName () | |
void PrintSelf (unknown & ,vtkIndent ) | |
static vtkSphereSource *New () | |
void SetRadius (float ) | |
float GetRadius () | |
void SetCenter (float ,float ,float ) | |
void SetCenter (float *) | |
float *GetCenter () | |
void SetThetaResolution (int ) | |
int GetThetaResolution () | |
void SetPhiResolution (int ) | |
int GetPhiResolution () | |
void SetStartTheta (float ) | |
float GetStartTheta () | |
void SetEndTheta (float ) | |
float GetEndTheta () | |
void SetStartPhi (float ) | |
float GetStartPhi () | |
void SetEndPhi (float ) | |
float GetEndPhi () | |
void Execute () |
Detailed Method Descriptions:
static vtkSphereSource *New () |
void SetRadius (float ) | |
float GetRadius () |
void SetCenter (float ,float ,float ) | |
void SetCenter (float *) | |
float *GetCenter () |
void SetThetaResolution (int ) | |
int GetThetaResolution () |
void SetPhiResolution (int ) | |
int GetPhiResolution () |
void SetStartTheta (float ) | |
float GetStartTheta () |
void SetEndTheta (float ) | |
float GetEndTheta () |
void SetStartPhi (float ) | |
float GetStartPhi () |
void SetEndPhi (float ) | |
float GetEndPhi () |