addIsoSurface()
Create an IsoSurface actor.
Usage
isoActor = vis.addIsoSurface( isoVec, isoVal, name, vols = None )
Parameters
- isoVec (list) or (string)
- Iso-surface vector.
- isoVal (integer)
- Iso-surface value.
- name (string)
- Optional name.
- vols (list), (string) or (integer)
- Volume(s).
Return Value
- isoActor (integer)
- Iso-surface actor.
Errors
vols should include valid volumes or be None.
Description
This routine creates an IsoSurface actor from the vols based on the
isoVec and
isoVal, names it
name and adds its actor to Scene
Graph. For
example,
pres = vis.addIsoSurface( "pressure",
0.1,
"pres-iso" )