210 |
|
|
211 |
if(cell_to_point == True): # Converts cell data to point data. |
if(cell_to_point == True): # Converts cell data to point data. |
212 |
c2p = CellDataToPointData(data_collector._getOutput()) |
c2p = CellDataToPointData(data_collector._getOutput()) |
213 |
MaskPoints.__init__(self, c2p._getOutput()) |
Cutter.__init__(self, c2p._getOutput(), |
214 |
|
Plane._getPlane(self)) |
215 |
elif(cell_to_point == False): # No conversion happens. |
elif(cell_to_point == False): # No conversion happens. |
216 |
MaskPoints.__init__(self, data_collector._getOutput()) |
Cutter.__init__(self, data_collector._getOutput(), |
217 |
|
Plane._getPlane(self)) |
218 |
|
|
219 |
|
MaskPoints.__init__(self, Cutter._getOutput(self)) |
220 |
|
|
221 |
if(arrow == Arrow.TWO_D): # Use 2D arrows. |
if(arrow == Arrow.TWO_D): # Use 2D arrows. |
222 |
Arrow2D.__init__(self) |
Arrow2D.__init__(self) |
|
#Glyph3D.__init__(self, Cutter._getOutput(self), |
|
223 |
Glyph3D.__init__(self, MaskPoints._getOutput(self), |
Glyph3D.__init__(self, MaskPoints._getOutput(self), |
224 |
Arrow2D._getOutput(self)) |
Arrow2D._getOutput(self)) |
225 |
elif(arrow == Arrow.THREE_D): # Use 3D arrows. |
elif(arrow == Arrow.THREE_D): # Use 3D arrows. |
227 |
Glyph3D.__init__(self, MaskPoints._getOutput(self), |
Glyph3D.__init__(self, MaskPoints._getOutput(self), |
228 |
Arrow3D._getOutput(self)) |
Arrow3D._getOutput(self)) |
229 |
|
|
230 |
Cutter.__init__(self, Glyph3D._getOutput(self), |
DataSetMapper.__init__(self, Glyph3D._getOutput(self), |
|
Plane._getPlane(self)) |
|
|
|
|
|
DataSetMapper.__init__(self, Cutter._getOutput(self), |
|
231 |
lookup_table._getLookupTable()) |
lookup_table._getLookupTable()) |
232 |
|
|
233 |
if(color_mode == ColorMode.VECTOR): # Color velocity by vector. |
if(color_mode == ColorMode.VECTOR): # Color velocity by vector. |