Package esys :: Package pyvisi :: Module rotation :: Class Rotation
[hide private]
[frames] | no frames]

Class Rotation

Known Subclasses:

Class that sweeps 2D data around the z-axis to create a 3D looking effect.

Instance Methods [hide private]
 
__init__(self)
Initialise the rotation.
 
__setInput(self)
Set the input for the rotation.
vtkPolyData
_getRotationOutput(self)
Return the output of the rotation.
 
_setupRotationExtrusionFilter(self, object)
Setup the rotation.
 
setAngle(self, angle)
Set the angle of rotation.
 
setResolution(self, resolution)
Set the resolution of the sweep for the rotation, which controls the number of intermediate points
Method Details [hide private]

_getRotationOutput(self)

 

Return the output of the rotation.

Returns: vtkPolyData
Polygonal data

_setupRotationExtrusionFilter(self, object)

 

Setup the rotation.

Parameters:
  • object (vtkUnstructuredGrid, etc) - Input for the clipper

setAngle(self, angle)

 

Set the angle of rotation.

Parameters:
  • angle (Number) - Angle of rotation

setResolution(self, resolution)

 

Set the resolution of the sweep for the rotation, which controls the number of intermediate points

Parameters:
  • resolution (Number) - Resolution of the rotation