Documentation for vtkTexturedSphereSource

vtkTexturedSphereSource - create a sphere centered at the origin

Super Class: vtkPolyDataSource

Description:

vtkTexturedSphereSource creates a polygonal sphere 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 sphere by specifying maximum phi and theta angles.

 

Methods:

void vtkTexturedSphereSource (int )
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkTexturedSphereSource *New ()
void SetRadius (float )
float GetRadius ()
void SetThetaResolution (int )
int GetThetaResolution ()
void SetPhiResolution (int )
int GetPhiResolution ()
void SetTheta (float )
float GetTheta ()
void SetPhi (float )
float GetPhi ()
void Execute ()

 

Detailed Method Descriptions:

Construct sphere with radius=0.5 and default resolution 8 in both Phi and Theta directions.

static vtkTexturedSphereSource *New ()

Set radius of sphere.

void SetRadius (float )
float GetRadius ()

Set the number of points in the longitude direction.

void SetThetaResolution (int )
int GetThetaResolution ()

Set the number of points in the latitude direction.

void SetPhiResolution (int )
int GetPhiResolution ()

Set the maximum longitude angle.

void SetTheta (float )
float GetTheta ()

Set the maximum latitude angle (0 is at north pole).

void SetPhi (float )
float GetPhi ()