No documentation available.
More...
Data and other attributes inherited from Boost.Python.instance: |
def | __new__ |
Detailed Description
No documentation available.
Method resolution order
Transform3D
Boost.Python.instance
builtin.object
Constructor & Destructor Documentation
def Transform3D.Transform3D.__init__ |
( |
|
arg1 | ) |
|
- Returns
- Instance of type None
C++ signature :
void __init__(_object*)
C++ signature :
void __init__(_object*,Xform)
C++ signature :
void __init__(_object*,Point3D,Point3D,Point3D)
C++ signature :
void __init__(_object*,Point3D,Point3D,Point3D,Point3D)
C++ signature :
void __init__(_object*,Point3D)
Construct a Transform3D for the given member index.
C++ signature :
void* __init__(boost::python::api::object,int)
Construct a Transform3D from the given member index and material index.
C++ signature :
void* __init__(boost::python::api::object,int,int)
- Note
- Additional signature: init( (object)arg1, (Transform3D)arg2) -> None
-
Additional signature: init( (object)arg1, (Point3D)arg2, (Point3D)arg3, (Point3D)arg4) -> None
-
Additional signature: init( (object)arg1, (Point3D)arg2, (Point3D)arg3, (Point3D)arg4, (Point3D)arg5) -> None
-
Additional signature: init( (object)arg1, (Point3D)arg2) -> None
-
Additional signature: init( (object)arg1, (int)arg2) -> object
-
Additional signature: init( (object)arg1, (int)arg2, (int)arg3) -> object
Member Function Documentation
def Transform3D.Transform3D.__add__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __add__(Xform {lvalue},Xform)
def Transform3D.Transform3D.__dict__ |
( |
|
args | ) |
|
def Transform3D.Transform3D.__eq__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __eq__(Xform {lvalue},Xform)
def Transform3D.Transform3D.__getinitargs__ |
( |
|
arg1 | ) |
|
- Returns
- Instance of type tuple
C++ signature :
boost::python::tuple __getinitargs__(Xform)
def Transform3D.Transform3D.__imul__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __imul__(boost::python::back_reference<Xform&>,Xform)
def Transform3D.Transform3D.__mul__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __mul__(Xform {lvalue},Xform)
C++ signature :
_object* __mul__(Xform {lvalue},double)
- Note
- Additional signature: mul( (Transform3D)arg1, (float)arg2) -> object
def Transform3D.Transform3D.__ne__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __ne__(Xform {lvalue},Xform)
def Transform3D.Transform3D.__new__ |
( |
|
args | ) |
|
T.__new__(S, ...) -> a new object with type S, a subtype of T
__new__ = <built-in method __new__ of Boost.Python.class object>
def Transform3D.Transform3D.__reduce__ |
( |
|
args | ) |
|
__reduce__ = <unnamed Boost.Python function>(args)
def Transform3D.Transform3D.__repr__ |
( |
|
arg1 | ) |
|
- Returns
- Instance of type str
C++ signature :
std::string __repr__(Xform)
def Transform3D.Transform3D.__rmul__ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type object
C++ signature :
_object* __rmul__(Xform {lvalue},double)
def Transform3D.Transform3D.__str__ |
( |
|
arg1 | ) |
|
- Returns
- Instance of type str
C++ signature :
std::string __str__(Xform {lvalue})
def Transform3D.Transform3D.__weakref__ |
( |
|
args | ) |
|
def Transform3D.Transform3D.Clean |
( |
|
arg1 | ) |
|
- Returns
- Instance of type int
Validate the matrix and round numbers and set numbers close to zero to zero and numbers close to one to one.
C++ signature :
int Clean(Xform {lvalue})
def Transform3D.Transform3D.Determinate |
( |
|
arg1 | ) |
|
- Returns
- Instance of type float
Return the matrix determinate.
C++ signature :
double Determinate(Xform {lvalue})
def Transform3D.Transform3D.EpsilonEquals |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
- Returns
- Instance of type bool
Return True iff each element of one matrix is within the specified absolute tolerance of the corresponding element in the other matrix.
C++ signature :
bool EpsilonEquals(Xform {lvalue},Xform,double)
def Transform3D.Transform3D.GetAxisAngle |
( |
|
arg1 | ) |
|
- Returns
- Instance of type tuple
Return a tuple ( axis, angle ) that represents the orientation of an orthogonal transformation matrix as a rotation about axis by angle radians.
C++ signature :
boost::python::tuple GetAxisAngle(Xform)
def Transform3D.Transform3D.GetBasisVectors |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5 |
|
) |
| |
- Returns
- Instance of type None
Returns a copy of the three orthogonal vectors of the matrix
C++ signature :
void GetBasisVectors(Xform {lvalue},Point3D*,Point3D*,Point3D*,Point3D*)
def Transform3D.Transform3D.GetBasisVectorX |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Point3D
Returns a copy of the x-axis of the matrix.
C++ signature :
Point3D GetBasisVectorX(Xform {lvalue})
def Transform3D.Transform3D.GetBasisVectorY |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Point3D
Returns a copy of the y-axis of the matrix.
C++ signature :
Point3D GetBasisVectorY(Xform {lvalue})
def Transform3D.Transform3D.GetBasisVectorZ |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Point3D
Returns a copy of the z-axis of the matrix.
C++ signature :
Point3D GetBasisVectorZ(Xform {lvalue})
def Transform3D.Transform3D.GetTranslation |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Point3D
Returns a copy of the translation portion of the matrix.
C++ signature :
Point3D GetTranslation(Xform {lvalue})
def Transform3D.Transform3D.Inverse |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Transform3D
Returns the inverse of the matrix.
C++ signature :
Xform Inverse(Xform {lvalue})
def Transform3D.Transform3D.Invert |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Transform3D
Inverts this matrix.
C++ signature :
Xform {lvalue} Invert(Xform {lvalue})
def Transform3D.Transform3D.Multiply |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the specified matrix.
C++ signature :
Xform {lvalue} Multiply(Xform {lvalue},Xform)
def Transform3D.Transform3D.MultiplyInverse |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the inverse of this.
C++ signature :
Xform {lvalue} MultiplyInverse(Xform {lvalue},Xform)
def Transform3D.Transform3D.Rotate |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of the specified rotation matrix * this.
C++ signature :
Xform {lvalue} Rotate(Xform {lvalue},Point3D,double)
Set this matrix to the result of the specified rotation matrix * this.
C++ signature :
Xform {lvalue} Rotate(Xform {lvalue},Point3D,Point3D,double)
- Note
- Additional signature: Rotate( (Transform3D)arg1, (Point3D)arg2, (Point3D)arg3, (float)arg4) -> Transform3D
def Transform3D.Transform3D.RotatePost |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the specifed rotation matrix.
C++ signature :
Xform {lvalue} RotatePost(Xform {lvalue},Point3D,double)
Set this matrix to the result of this * the specifed rotation matrix.
C++ signature :
Xform {lvalue} RotatePost(Xform {lvalue},Point3D,Point3D,double)
- Note
- Additional signature: RotatePost( (Transform3D)arg1, (Point3D)arg2, (Point3D)arg3, (float)arg4) -> Transform3D
def Transform3D.Transform3D.RotateX |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of the specified rotation matrix * this.
C++ signature :
Xform {lvalue} RotateX(Xform {lvalue},double)
def Transform3D.Transform3D.RotateXPost |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the specifed rotation matrix.
C++ signature :
Xform {lvalue} RotateXPost(Xform {lvalue},double)
def Transform3D.Transform3D.RotateY |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of the specified rotation matrix * this.
C++ signature :
Xform {lvalue} RotateY(Xform {lvalue},double)
def Transform3D.Transform3D.RotateYPost |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the specifed rotation matrix.
C++ signature :
Xform {lvalue} RotateYPost(Xform {lvalue},double)
def Transform3D.Transform3D.RotateZ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of the specified rotation matrix * this.
C++ signature :
Xform {lvalue} RotateZ(Xform {lvalue},double)
def Transform3D.Transform3D.RotateZPost |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the result of this * the specifed rotation matrix.
C++ signature :
Xform {lvalue} RotateZPost(Xform {lvalue},double)
def Transform3D.Transform3D.Set |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the values of this matrix to the values of specified matrix.
C++ signature :
Xform {lvalue} Set(Xform {lvalue},Xform)
def Transform3D.Transform3D.SetBasisVectors |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the x-axis, y-axis, z-axis, and translation to the specified parameters.
C++ signature :
Xform {lvalue} SetBasisVectors(Xform {lvalue},Point3D,Point3D,Point3D,Point3D)
def Transform3D.Transform3D.SetIdentity |
( |
|
arg1 | ) |
|
- Returns
- Instance of type Transform3D
Set this matrix to the identity matrix.
C++ signature :
Xform {lvalue} SetIdentity(Xform {lvalue})
def Transform3D.Transform3D.SetRotation |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the rotation components of the matrix to the specified rotation about an arbitrary axis.
C++ signature :
Xform {lvalue} SetRotation(Xform {lvalue},Point3D,double)
def Transform3D.Transform3D.SetRotationBasisVectors |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4, |
|
|
|
arg5, |
|
|
|
arg6, |
|
|
|
arg7, |
|
|
|
arg8, |
|
|
|
arg9, |
|
|
|
arg10 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the x-axis, y-axis, and z-axis according to the nine specified numbers.
C++ signature :
Xform {lvalue} SetRotationBasisVectors(Xform {lvalue},double,double,double,double,double,double,double,double,double)
Set the x-axis, y-axis, and z-axis according to the three specified vectors.
C++ signature :
Xform {lvalue} SetRotationBasisVectors(Xform {lvalue},Point3D,Point3D,Point3D)
- Note
- Additional signature: SetRotationBasisVectors( (Transform3D)arg1, (Point3D)arg2, (Point3D)arg3, (Point3D)arg4) -> Transform3D
def Transform3D.Transform3D.SetRotationVector |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
- Returns
- Instance of type Transform3D
Creates a rotation transform that will transform from one vector to another. Params:toVector: the vector to rotate to.fromVector: the vector to rotate from. defaultNormal: the default normal vector between the from and to vectors (i.e. axis of rotation). Only used if the from and to vectors are colinear. The null vector means an arbitrary normal vector will be chosen.
C++ signature :
Xform {lvalue} SetRotationVector(Xform {lvalue},Point3D,Point3D,Point3D)
def Transform3D.Transform3D.SetRotationX |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the rotation components of the matrix to the specified rotation about the x-axis.
C++ signature :
Xform {lvalue} SetRotationX(Xform {lvalue},double)
def Transform3D.Transform3D.SetRotationXYZ |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the roation components of the matrix to the rotation specified by rotating about x, then y, then z.
C++ signature :
Xform {lvalue} SetRotationXYZ(Xform {lvalue},double,double,double)
def Transform3D.Transform3D.SetRotationY |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the rotation components of the matrix to the specified rotation about the y-axis.
C++ signature :
Xform {lvalue} SetRotationY(Xform {lvalue},double)
def Transform3D.Transform3D.SetRotationY_LH |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the rotation components of the matrix to the specified left-handed rotation about the y-axis.
C++ signature :
Xform {lvalue} SetRotationY_LH(Xform {lvalue},double)
def Transform3D.Transform3D.SetRotationZ |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the rotation components of the matrix to the specified rotation about the x-axis.
C++ signature :
Xform {lvalue} SetRotationZ(Xform {lvalue},double)
def Transform3D.Transform3D.SetTranslation |
( |
|
arg1, |
|
|
|
arg2, |
|
|
|
arg3, |
|
|
|
arg4 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set the translation of this matrix according to the three specified numbers.
C++ signature :
Xform {lvalue} SetTranslation(Xform {lvalue},double,double,double)
Set the translation of this matrix according to the specified point.
C++ signature :
Xform {lvalue} SetTranslation(Xform {lvalue},Point3D)
- Note
- Additional signature: SetTranslation( (Transform3D)arg1, (Point3D)arg2) -> Transform3D
def Transform3D.Transform3D.t |
( |
|
args | ) |
|
def Transform3D.Transform3D.TransformPoint |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Point3D
Mutates the input point by this matrix and returns the transformed point.
C++ signature :
Point3D TransformPoint(Xform,Point3D {lvalue})
def Transform3D.Transform3D.TransformVector |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Point3D
Mutates the input vector by this matrix and returns the transformed vector.
C++ signature :
Point3D TransformVector(Xform,Point3D {lvalue})
def Transform3D.Transform3D.Translate |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to the specified translation * this matrix.
C++ signature :
Xform {lvalue} Translate(Xform {lvalue},Point3D)
def Transform3D.Transform3D.TranslatePost |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Transform3D
Set this matrix to this matrix * the specified translation.
C++ signature :
Xform {lvalue} TranslatePost(Xform {lvalue},Point3D)
def Transform3D.Transform3D.TranslateToGlobal |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Point3D
Returns the specified vector transformed by this matrix. In other words, given local coordinates this will return global coordinates.
C++ signature :
Point3D TranslateToGlobal(Xform,Point3D)
def Transform3D.Transform3D.TranslateToLocal |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type Point3D
Returns the specified vector transformed by the inverse of this matrix. In other words, given global coordinates this will return local coordinates.
C++ signature :
Point3D TranslateToLocal(Xform,Point3D)
def Transform3D.Transform3D.x |
( |
|
args | ) |
|
def Transform3D.Transform3D.y |
( |
|
args | ) |
|
def Transform3D.Transform3D.z |
( |
|
args | ) |
|
Member Data Documentation
int Transform3D.Transform3D.__instance_size__ = 112 |
|
staticprivate |
Transform3D.Transform3D.__safe_for_unpickling__ = True |
|
staticprivate |