Package esys :: Package pyvisi :: Module sphere :: Class Sphere
[hide private]
[frames] | no frames]

Class Sphere

Known Subclasses:

Class that defines a sphere.

Instance Methods [hide private]
 
__init__(self)
Initialise the sphere.
vtkPolyData
_getSphereOutput(self)
Return the output of the sphere.
 
setPhiResolution(self, resolution)
Set the phi resolution of the sphere.
 
setThetaResolution(self, resolution)
Set the theta resolution of the sphere.
Method Details [hide private]

_getSphereOutput(self)

 

Return the output of the sphere.

Returns: vtkPolyData
Polygonal data

setPhiResolution(self, resolution)

 

Set the phi resolution of the sphere.

Parameters:
  • resolution (Number) - Phi resolution

setThetaResolution(self, resolution)

 

Set the theta resolution of the sphere.

Parameters:
  • resolution (Number) - Theta resolution