nuke.nukemath.Quaternion

class nuke.nukemath.Quaternion((object)arg1) None :

Bases: Boost.Python.instance

C++ signature :

void __init__(_object*)

__init__( (object)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) -> None :

C++ signature :

void __init__(_object*,double,double,double,double)

__init__( (object)arg1, (float)arg2, (Vector3)arg3) -> None :

C++ signature :

void __init__(_object*,double,DD::Image::Vector3)

__init__( (object)arg1, (Quaternion)arg2) -> None :

C++ signature :

void __init__(_object*,DD::Image::TQuaternion<double>)

__init__( (object)arg1, (Matrix4)arg2) -> None :

C++ signature :

void __init__(_object*,DD::Image::Matrix4)

__init__( (object)arg1, (Vector3)arg2, (Vector3)arg3) -> None :

C++ signature :

void __init__(_object*,DD::Image::Vector3,DD::Image::Vector3)

Methods

addInverse

C++ signature :

conjugate

C++ signature :

length

C++ signature :

lengthSquared

C++ signature :

magnitude

C++ signature :

matrix

C++ signature :

multInverse

C++ signature :

set

C++ signature :

slerp

C++ signature :

Attributes

s

vx

vy

vz

__add__((Quaternion)arg1, (Quaternion)arg2) object :
C++ signature :

_object* __add__(DD::Image::TQuaternion<double> {lvalue},DD::Image::TQuaternion<double>)

__mul__((Quaternion)arg1, (float)arg2) object :
C++ signature :

_object* __mul__(DD::Image::TQuaternion<double> {lvalue},double)

__mul__( (Quaternion)arg1, (Quaternion)arg2) -> object :

C++ signature :

_object* __mul__(DD::Image::TQuaternion<double> {lvalue},DD::Image::TQuaternion<double>)

addInverse((Quaternion)arg1) Quaternion :
C++ signature :

DD::Image::TQuaternion<double> addInverse(DD::Image::TQuaternion<double> {lvalue})

conjugate((Quaternion)arg1) Quaternion :
C++ signature :

DD::Image::TQuaternion<double> conjugate(DD::Image::TQuaternion<double> {lvalue})

length((Quaternion)arg1) float :
C++ signature :

double length(DD::Image::TQuaternion<double> {lvalue})

lengthSquared((Quaternion)arg1) float :
C++ signature :

double lengthSquared(DD::Image::TQuaternion<double> {lvalue})

magnitude((Quaternion)arg1) float :
C++ signature :

double magnitude(DD::Image::TQuaternion<double> {lvalue})

matrix((Quaternion)arg1) Matrix4 :
C++ signature :

DD::Image::Matrix4 matrix(DD::Image::TQuaternion<double> {lvalue})

multInverse((Quaternion)arg1) Quaternion :
C++ signature :

DD::Image::TQuaternion<double> multInverse(DD::Image::TQuaternion<double> {lvalue})

set((Quaternion)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5) None :
C++ signature :

void set(DD::Image::TQuaternion<double> {lvalue},double,double,double,double)

slerp((Quaternion)arg1, (Quaternion)arg2, (float)arg3) Quaternion :
C++ signature :

DD::Image::TQuaternion<double> slerp(DD::Image::TQuaternion<double> {lvalue},DD::Image::TQuaternion<double>,double)