Package mbdyn :: Package interface :: Module vectors :: Class Arrow
[hide private]

Class Arrow

source code

VTKCommon --+
            |
           Arrow

Description of an arrow mapper.

Instance Methods [hide private]
 
__init__(self, name='vector') source code
 
set_scale_factor(self, scale_factor)
Update the arrow radius
source code
 
set_radius_radio(self, radius_ratio)
Set the radius ratio between the cone and the cylinder
source code
 
set_radius(self, radius)
Set the arrow radius
source code
 
set_resolution(self, resolution)
Set the cylinder and cone resolution
source code
 
set_norm(self, norm)
Set the norm of the arrow
source code
 
get_rotation_matrix(self, current_orientation)
The rotation matrix is got according to the initial orientation of the polydata.
source code
Method Details [hide private]

__init__(self, name='vector')
(Constructor)

source code 
Overrides: VTKCommon.__init__

set_scale_factor(self, scale_factor)

source code 
Update the arrow radius
Overrides: VTKCommon.set_scale_factor