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

Class Vector

source code

Known Subclasses:
CommonAxe

Description of a vector as a VTK actor

Instance Methods [hide private]
 
__init__(self) source code
 
set_arrow(self, arrow)
Set the arrow mapper for the vector
source code
 
set_position(self, pos_array)
Set the position of the vector
source code
 
set_rotation_matrix(self, rotation_matrix)
Set the rotation (or orientation) matrix of the vector
source code
 
define(self, position_array, rotation_matrix)
A vector is defined by an position and a rotation matrix in the VTK world
source code
 
set_value(self, array)
Set the vector value
source code
 
set_rotation_matrix_from(self, normalized_array)
Set the rotation matrix of a vector from a normalized array that represent only its current rotation.
source code
 
set_color(self, rval, gval, bval)
Set the color by using RGB values coming from the GIMP.
source code