Package esys :: Package pyvisi :: Module warp :: Class Warp
[hide private]
[frames] | no frames]

Class Warp

Known Subclasses:

Class that defines the deformation of a scalar field.

Instance Methods [hide private]
 
__init__(self, warp_mode)
Initialise the warp scalar/vector.
 
__setInput(self)
Set the input for the warp scalar/vector.
vtkPointSet
_getWarpOutput(self)
Return the output of the deformed data.
 
_setupWarp(self, object)
Setup the warp.
 
setScaleFactor(self, scale_factor)
Set the displacement scale factor.
Method Details [hide private]

__init__(self, warp_mode)
(Constructor)

 

Initialise the warp scalar/vector.

Parameters:
  • warp_mode (WarpMode constant) - Mode in which to deform the data

_getWarpOutput(self)

 

Return the output of the deformed data.

Returns: vtkPointSet
PointSet data

_setupWarp(self, object)

 

Setup the warp.

Parameters:
  • object (vtkPolyData, etc) - Input for the warp scalar or warp vector

setScaleFactor(self, scale_factor)

 

Set the displacement scale factor.

Parameters:
  • scale_factor (Number) - Scale factor for the displacement