addIsoLine()
Create an IsoLine actor.
Usage
isoLnActor = vis.addIsoLine( isoVec, isoVal, name, srfs = None )
Parameters
- isoVec (list) or (string)
- Ico-line vector.
- isoVal (integer)
- Iso-line value.
- name (string)
- Optional name.
- srfs (list), (string) or (integer)
- Surface(s).
Return Value
- isoLnActor (object)
- Iso-line actor.
Errors
srfs should include valid surfaces or be None.
Description
This routine creates an IsoLine actor from the srfs based on the
isoVec and isoVal, named it
name and adds its actor to Scene Graph. For
example,
pMin = vis.sclrValue.min()
pMax = vis.sclrValue.max()
dp = (pMax - pMin) / 11
for i in range(10):
pVal = i *1 + 4
pres = vis.addIsoLine( "pressure",
pVal,
"pres-isoLine",
'wall' )