Package esys :: Package pyvisi :: Module contourmodule :: Class ContourModule
[hide private]
[frames] | no frames]

Class ContourModule

Known Subclasses:

Class that defines the contour module.

Instance Methods [hide private]
 
__init__(self)
Initliase the contour module.
 
__setInput(self)
Set the input for the contour.
 
_generateContours(self)
Generate the specified number of contours within the specified range.
vtkPolyData
_getContourModuleOutput(self)
Return the output of the contour.
Boolean
_isContoursSet(self)
Return whether the number of contours have been specified.
Boolean
_isLowerRangeSet(self)
Return whether the lower range has been specified.
Boolean
_isUpperRangeSet(self)
Return whether the upper range has been specified.
 
_setupContourModule(self, object)
Setup the contour module.
 
generateContours(self, contours=None, lower_range=None, upper_range=None)
Set the number of contours to generate and its range.
Method Details [hide private]

_generateContours(self)

 

Generate the specified number of contours within the specified range.

Attention: In order to generate an iso surface, the 'lower_range' and 'upper_range' must be equal.

_getContourModuleOutput(self)

 

Return the output of the contour.

Returns: vtkPolyData
Polygonal data

_isContoursSet(self)

 

Return whether the number of contours have been specified.

Returns: Boolean
True or False

_isLowerRangeSet(self)

 

Return whether the lower range has been specified.

Returns: Boolean
True or False

_isUpperRangeSet(self)

 

Return whether the upper range has been specified.

Returns: Boolean
True or False

_setupContourModule(self, object)

 

Setup the contour module.

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

generateContours(self, contours=None, lower_range=None, upper_range=None)

 

Set the number of contours to generate and its range.

Parameters:
  • contours (Number) - Number of contours to generate
  • lower_range (Number) - Lower range of contour values
  • upper_range (Number) - Upper range of contours values