source/dcm_transform.py
def matrix_set_translation(matrix, translate_x, translate_y, translate_z):
    """Set matrix to translate by a 3D vector."""
    matrix[0, 3] = translate_x
    matrix[1, 3] = translate_y
    matrix[2, 3] = translate_z
    return matrix
Set matrix to translate by a 3D vector.
Set matrix to translate by a 3D vector.
Set matrix to translate by a 3D vector .
def matrix_set_translation(matrix, translate_x, translate_y, translate_z):
    matrix[0, 3] = translate_x
    matrix[1, 3] = translate_y
    matrix[2, 3] = translate_z
    return matrix
def matrix_set_translation ( matrix , translate_x , translate_y , translate_z ) : matrix [ 0 , 3 ] = translate_x matrix [ 1 , 3 ] = translate_y matrix [ 2 , 3 ] = translate_z return matrix
Set matrix to translate by a 3D vector.
Set matrix to translate by a 3D vector .
"""Set matrix to translate by a 3D vector."""
matrix
translate_x
translate_y
translate_z