77 |
|
|
78 |
# ----- Velocity ----- |
# ----- Velocity ----- |
79 |
|
|
80 |
|
# NOTE: Two 'ifs' were used instead of an if-elif because an active |
81 |
|
# scalar and an active vector attribute may be specified at the same |
82 |
|
# time. One may be for the color mode and the other for the |
83 |
|
# scaling mode. |
84 |
if(vector != None): |
if(vector != None): |
85 |
data_collector._setActiveVector(vector) |
data_collector._setActiveVector(vector) |
86 |
elif(scalar != None): |
if(scalar != None): |
87 |
data_collector._setActiveScalar(scalar) |
data_collector._setActiveScalar(scalar) |
88 |
|
|
89 |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |
198 |
|
|
199 |
# ----- Velocity on a cut plane ----- |
# ----- Velocity on a cut plane ----- |
200 |
|
|
201 |
|
# NOTE: Two 'ifs' were used instead of an if-elif because an active |
202 |
|
# scalar and an active vector attribute may be specified at the same |
203 |
|
# time. One may be for the color mode and the other for the |
204 |
|
# scaling mode. |
205 |
if(vector != None): |
if(vector != None): |
206 |
data_collector._setActiveVector(vector) |
data_collector._setActiveVector(vector) |
207 |
elif(scalar != None): |
if(scalar != None): |
208 |
data_collector._setActiveScalar(scalar) |
data_collector._setActiveScalar(scalar) |
209 |
|
|
210 |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |
323 |
|
|
324 |
# ----- Velocity on a clipped plane ----- |
# ----- Velocity on a clipped plane ----- |
325 |
|
|
326 |
|
# NOTE: Two 'ifs' were used instead of an if-elif because an active |
327 |
|
# scalar and an active vector attribute may be specified at the same |
328 |
|
# time. One may be for the color mode and the other for the |
329 |
|
# scaling mode. |
330 |
if(vector != None): |
if(vector != None): |
331 |
data_collector._setActiveVector(vector) |
data_collector._setActiveVector(vector) |
332 |
elif(scalar != None): |
if(scalar != None): |
333 |
data_collector._setActiveScalar(scalar) |
data_collector._setActiveScalar(scalar) |
334 |
|
|
335 |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |
# NOTE: Lookup table color mapping (color or grey scale) MUST be set |