#NEWLINE# def _create_points( self , rc , lc , rs , ps ) : #NEWLINE# #INDENT# asrc = tvtk . ArrowSource ( tip_radius = rc , tip_length = lc , shaft_radius = rs ) #NEWLINE# asrc . update ( ) #NEWLINE# ps = asrc . output #NEWLINE# points = ps . points . to_array ( ) #NEWLINE# points = translate ( numpy . array ( [ 0.0 , 0.0 , 0.0 ] ) , self . pos , points ) #NEWLINE# self . points = points #NEWLINE# self . polydata . points = self . points #NEWLINE# self . polydata . polys = ps . polys #NEWLINE# return ( points , ps . polys )