io.qt.gui.QQuaternion Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui;
import io.qt.*;
/**
* Represents a quaternion consisting of a vector and scalar
* Java wrapper for Qt class QQuaternion
*/
public class QQuaternion extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QQuaternion:: QQuaternion()
*/
public QQuaternion(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QQuaternion instance);
/**
* See QQuaternion:: QQuaternion(QQuaternion)
*/
public QQuaternion(io.qt.gui.@NonNull QQuaternion other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QQuaternion instance, io.qt.gui.QQuaternion other);
/**
* See QQuaternion:: QQuaternion(QVector4D)
*/
public QQuaternion(io.qt.gui.@NonNull QVector4D vector){
super((QPrivateConstructor)null);
initialize_native(this, vector);
}
private native static void initialize_native(QQuaternion instance, io.qt.gui.QVector4D vector);
/**
* See QQuaternion:: QQuaternion(float, QVector3D)
*/
public QQuaternion(float scalar, io.qt.gui.@NonNull QVector3D vector){
super((QPrivateConstructor)null);
initialize_native(this, scalar, vector);
}
private native static void initialize_native(QQuaternion instance, float scalar, io.qt.gui.QVector3D vector);
/**
* See QQuaternion:: QQuaternion(float, float, float, float)
*/
public QQuaternion(float scalar, float xpos, float ypos, float zpos){
super((QPrivateConstructor)null);
initialize_native(this, scalar, xpos, ypos, zpos);
}
private native static void initialize_native(QQuaternion instance, float scalar, float xpos, float ypos, float zpos);
/**
* See QQuaternion:: conjugated()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion conjugated(){
return conjugated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion conjugated_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: getAxes(QVector3D*, QVector3D*, QVector3D*)const
*/
@QtUninvokable
public final io.qt.gui.QQuaternion.@StrictNonNull Axes getAxes(){
return getAxes_native_QVector3D_ptr_QVector3D_ptr_QVector3D_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion.Axes getAxes_native_QVector3D_ptr_QVector3D_ptr_QVector3D_ptr_constfct(long __this__nativeId);
/**
* See QQuaternion:: getAxisAndAngle(QVector3D*, float*)const
*/
@QtUninvokable
public final io.qt.gui.QQuaternion.@StrictNonNull AxisAndAngle getAxisAndAngle(){
return getAxisAndAngle_native_QVector3D_ptr_float_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion.AxisAndAngle getAxisAndAngle_native_QVector3D_ptr_float_ptr_constfct(long __this__nativeId);
/**
* See QQuaternion:: getEulerAngles(float*, float*, float*)const
*/
@QtUninvokable
public final io.qt.gui.QQuaternion.@StrictNonNull EulerAngles getEulerAngles(){
return getEulerAngles_native_float_ptr_float_ptr_float_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion.EulerAngles getEulerAngles_native_float_ptr_float_ptr_float_ptr_constfct(long __this__nativeId);
/**
* See QQuaternion:: inverted()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion inverted(){
return inverted_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion inverted_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: isIdentity()const
*/
@QtUninvokable
public final boolean isIdentity(){
return isIdentity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isIdentity_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: isNull()const
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: length()const
*/
@QtUninvokable
public final float length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float length_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: lengthSquared()const
*/
@QtUninvokable
public final float lengthSquared(){
return lengthSquared_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float lengthSquared_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void normalize(){
normalize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void normalize_native(long __this__nativeId);
/**
* See QQuaternion:: normalized()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion normalized(){
return normalized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion normalized_native_constfct(long __this__nativeId);
/**
* See operator*(QQuaternion, QQuaternion)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion times(io.qt.gui.@NonNull QQuaternion q2){
return times_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
@QtUninvokable
private native io.qt.gui.QQuaternion times_native_cref_QQuaternion(long __this__nativeId, long q2);
/**
* See operator*(QQuaternion, QVector3D)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D times(io.qt.gui.@NonNull QVector3D vec){
return times_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vec));
}
@QtUninvokable
private native io.qt.gui.QVector3D times_native_cref_QVector3D(long __this__nativeId, long vec);
/**
* See operator*(QQuaternion, float)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion times(float factor){
return times_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor);
}
@QtUninvokable
private native io.qt.gui.QQuaternion times_native_float(long __this__nativeId, float factor);
/**
* See QQuaternion:: operator*=(QQuaternion)
*/
@QtUninvokable
public final @NonNull QQuaternion multiply(io.qt.gui.@NonNull QQuaternion quaternion){
return multiply_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(quaternion));
}
@QtUninvokable
private native QQuaternion multiply_native_cref_QQuaternion(long __this__nativeId, long quaternion);
/**
* See QQuaternion:: operator*=(float)
*/
@QtUninvokable
public final @NonNull QQuaternion multiply(float factor){
return multiply_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor);
}
@QtUninvokable
private native QQuaternion multiply_native_float(long __this__nativeId, float factor);
/**
* See operator+(QQuaternion, QQuaternion)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion plus(io.qt.gui.@NonNull QQuaternion q2){
return plus_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
@QtUninvokable
private native io.qt.gui.QQuaternion plus_native_cref_QQuaternion(long __this__nativeId, long q2);
/**
* See QQuaternion:: operator+=(QQuaternion)
*/
@QtUninvokable
public final @NonNull QQuaternion add(io.qt.gui.@NonNull QQuaternion quaternion){
return add_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(quaternion));
}
@QtUninvokable
private native QQuaternion add_native_cref_QQuaternion(long __this__nativeId, long quaternion);
/**
* See operator-(QQuaternion)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion unaryMinus(){
return unaryMinus_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion unaryMinus_native(long __this__nativeId);
/**
* See operator-(QQuaternion, QQuaternion)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion minus(io.qt.gui.@NonNull QQuaternion q2){
return minus_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
@QtUninvokable
private native io.qt.gui.QQuaternion minus_native_cref_QQuaternion(long __this__nativeId, long q2);
/**
* See QQuaternion:: operator-=(QQuaternion)
*/
@QtUninvokable
public final @NonNull QQuaternion subtract(io.qt.gui.@NonNull QQuaternion quaternion){
return subtract_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(quaternion));
}
@QtUninvokable
private native QQuaternion subtract_native_cref_QQuaternion(long __this__nativeId, long quaternion);
/**
* See operator/(QQuaternion, float)
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion div(float divisor){
return div_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), divisor);
}
@QtUninvokable
private native io.qt.gui.QQuaternion div_native_float(long __this__nativeId, float divisor);
/**
* See QQuaternion:: operator/=(float)
*/
@QtUninvokable
public final @NonNull QQuaternion divide(float divisor){
return divide_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), divisor);
}
@QtUninvokable
private native QQuaternion divide_native_float(long __this__nativeId, float divisor);
/**
* See operator<<(QDataStream&, QQuaternion)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See operator==(QQuaternion, QQuaternion)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.@NonNull QQuaternion q2){
return equals_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
@QtUninvokable
private native boolean equals_native_cref_QQuaternion(long __this__nativeId, long q2);
/**
* See operator>>(QDataStream&, QQuaternion&)
*/
@QtUninvokable
public void readFrom(io.qt.core.@StrictNonNull QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
* See QQuaternion:: rotatedVector(QVector3D)const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D rotatedVector(io.qt.gui.@NonNull QVector3D vector){
return rotatedVector_native_cref_QVector3D_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native io.qt.gui.QVector3D rotatedVector_native_cref_QVector3D_constfct(long __this__nativeId, long vector);
/**
* See QQuaternion:: scalar()const
*/
@QtUninvokable
public final float scalar(){
return scalar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float scalar_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: setScalar(float)
*/
@QtUninvokable
public final void setScalar(float scalar){
setScalar_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), scalar);
}
@QtUninvokable
private native void setScalar_native_float(long __this__nativeId, float scalar);
/**
* See QQuaternion:: setVector(QVector3D)
*/
@QtUninvokable
public final void setVector(io.qt.gui.@NonNull QVector3D vector){
setVector_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(vector));
}
@QtUninvokable
private native void setVector_native_cref_QVector3D(long __this__nativeId, long vector);
/**
* See QQuaternion:: setVector(float, float, float)
*/
@QtUninvokable
public final void setVector(float x, float y, float z){
setVector_native_float_float_float(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, z);
}
@QtUninvokable
private native void setVector_native_float_float_float(long __this__nativeId, float x, float y, float z);
/**
*
*/
@QtUninvokable
public final void setX(float x){
setX_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), x);
}
@QtUninvokable
private native void setX_native_float(long __this__nativeId, float x);
/**
*
*/
@QtUninvokable
public final void setY(float y){
setY_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), y);
}
@QtUninvokable
private native void setY_native_float(long __this__nativeId, float y);
/**
*
*/
@QtUninvokable
public final void setZ(float z){
setZ_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), z);
}
@QtUninvokable
private native void setZ_native_float(long __this__nativeId, float z);
/**
* See QQuaternion:: toEulerAngles()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D toEulerAngles(){
return toEulerAngles_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D toEulerAngles_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: toRotationMatrix()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QMatrix3x3 toRotationMatrix(){
return toRotationMatrix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QMatrix3x3 toRotationMatrix_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: toVector4D()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector4D toVector4D(){
return toVector4D_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector4D toVector4D_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: vector()const
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D vector(){
return vector_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D vector_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float x_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float y_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final float z(){
return z_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float z_native_constfct(long __this__nativeId);
/**
* See QQuaternion:: dotProduct(QQuaternion, QQuaternion)
*/
public static float dotProduct(io.qt.gui.@NonNull QQuaternion q1, io.qt.gui.@NonNull QQuaternion q2){
return dotProduct_native_cref_QQuaternion_cref_QQuaternion(QtJambi_LibraryUtilities.internal.checkedNativeId(q1), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
private native static float dotProduct_native_cref_QQuaternion_cref_QQuaternion(long q1, long q2);
/**
* See QQuaternion:: fromAxes(QVector3D, QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QQuaternion fromAxes(io.qt.gui.@NonNull QVector3D xAxis, io.qt.gui.@NonNull QVector3D yAxis, io.qt.gui.@NonNull QVector3D zAxis){
return fromAxes_native_cref_QVector3D_cref_QVector3D_cref_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(xAxis), QtJambi_LibraryUtilities.internal.checkedNativeId(yAxis), QtJambi_LibraryUtilities.internal.checkedNativeId(zAxis));
}
private native static io.qt.gui.QQuaternion fromAxes_native_cref_QVector3D_cref_QVector3D_cref_QVector3D(long xAxis, long yAxis, long zAxis);
/**
* See QQuaternion:: fromAxisAndAngle(QVector3D, float)
*/
public static io.qt.gui.@NonNull QQuaternion fromAxisAndAngle(io.qt.gui.@NonNull QVector3D axis, float angle){
return fromAxisAndAngle_native_cref_QVector3D_float(QtJambi_LibraryUtilities.internal.checkedNativeId(axis), angle);
}
private native static io.qt.gui.QQuaternion fromAxisAndAngle_native_cref_QVector3D_float(long axis, float angle);
/**
* See QQuaternion:: fromAxisAndAngle(float, float, float, float)
*/
public native static io.qt.gui.@NonNull QQuaternion fromAxisAndAngle(float x, float y, float z, float angle);
/**
* See QQuaternion:: fromDirection(QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QQuaternion fromDirection(io.qt.gui.@NonNull QVector3D direction, io.qt.gui.@NonNull QVector3D up){
return fromDirection_native_cref_QVector3D_cref_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(direction), QtJambi_LibraryUtilities.internal.checkedNativeId(up));
}
private native static io.qt.gui.QQuaternion fromDirection_native_cref_QVector3D_cref_QVector3D(long direction, long up);
/**
* See QQuaternion:: fromEulerAngles(QVector3D)
*/
public static io.qt.gui.@NonNull QQuaternion fromEulerAngles(io.qt.gui.@NonNull QVector3D eulerAngles){
return fromEulerAngles_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(eulerAngles));
}
private native static io.qt.gui.QQuaternion fromEulerAngles_native_cref_QVector3D(long eulerAngles);
/**
* See QQuaternion:: fromEulerAngles(float, float, float)
*/
public native static io.qt.gui.@NonNull QQuaternion fromEulerAngles(float pitch, float yaw, float roll);
/**
* See QQuaternion:: fromRotationMatrix(QMatrix3x3)
*/
public static io.qt.gui.@NonNull QQuaternion fromRotationMatrix(io.qt.gui.@NonNull QMatrix3x3 rot3x3){
return fromRotationMatrix_native_cref_QMatrix3x3(QtJambi_LibraryUtilities.internal.checkedNativeId(rot3x3));
}
private native static io.qt.gui.QQuaternion fromRotationMatrix_native_cref_QMatrix3x3(long rot3x3);
/**
* See QQuaternion:: nlerp(QQuaternion, QQuaternion, float)
*/
public static io.qt.gui.@NonNull QQuaternion nlerp(io.qt.gui.@NonNull QQuaternion q1, io.qt.gui.@NonNull QQuaternion q2, float t){
return nlerp_native_cref_QQuaternion_cref_QQuaternion_float(QtJambi_LibraryUtilities.internal.checkedNativeId(q1), QtJambi_LibraryUtilities.internal.checkedNativeId(q2), t);
}
private native static io.qt.gui.QQuaternion nlerp_native_cref_QQuaternion_cref_QQuaternion_float(long q1, long q2, float t);
/**
* See qFuzzyCompare(QQuaternion, QQuaternion)
*/
public static boolean qFuzzyCompare(io.qt.gui.@NonNull QQuaternion q1, io.qt.gui.@NonNull QQuaternion q2){
return qFuzzyCompare_native_cref_QQuaternion_cref_QQuaternion(QtJambi_LibraryUtilities.internal.checkedNativeId(q1), QtJambi_LibraryUtilities.internal.checkedNativeId(q2));
}
private native static boolean qFuzzyCompare_native_cref_QQuaternion_cref_QQuaternion(long q1, long q2);
/**
* See QQuaternion:: rotationTo(QVector3D, QVector3D)
*/
public static io.qt.gui.@NonNull QQuaternion rotationTo(io.qt.gui.@NonNull QVector3D from, io.qt.gui.@NonNull QVector3D to){
return rotationTo_native_cref_QVector3D_cref_QVector3D(QtJambi_LibraryUtilities.internal.checkedNativeId(from), QtJambi_LibraryUtilities.internal.checkedNativeId(to));
}
private native static io.qt.gui.QQuaternion rotationTo_native_cref_QVector3D_cref_QVector3D(long from, long to);
/**
* See QQuaternion:: slerp(QQuaternion, QQuaternion, float)
*/
public static io.qt.gui.@NonNull QQuaternion slerp(io.qt.gui.@NonNull QQuaternion q1, io.qt.gui.@NonNull QQuaternion q2, float t){
return slerp_native_cref_QQuaternion_cref_QQuaternion_float(QtJambi_LibraryUtilities.internal.checkedNativeId(q1), QtJambi_LibraryUtilities.internal.checkedNativeId(q2), t);
}
private native static io.qt.gui.QQuaternion slerp_native_cref_QQuaternion_cref_QQuaternion_float(long q1, long q2, float t);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QQuaternion(QPrivateConstructor p) { super(p); }
/**
* See operator==(QQuaternion, QQuaternion)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.gui.QQuaternion) {
return equals((io.qt.gui.QQuaternion) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QQuaternion)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Result type for {@link QQuaternion#getAxes()}.
*/
public static class Axes{
private Axes(QVector3D xAxis, QVector3D yAxis, QVector3D zAxis) {
super();
this.xAxis = xAxis;
this.yAxis = yAxis;
this.zAxis = zAxis;
}
public final QVector3D xAxis;
public final QVector3D yAxis;
public final QVector3D zAxis;
}
/**
* Result type for {@link QQuaternion#getAxisAndAngle()}.
*/
public static class AxisAndAngle{
private AxisAndAngle(QVector3D axis, float angle) {
super();
this.axis = axis;
this.angle = angle;
}
public final QVector3D axis;
public final float angle;
}
/**
* Result type for {@link QQuaternion#getEulerAngles()}.
*/
public static class EulerAngles{
private EulerAngles(float pitch, float yaw, float roll) {
super();
this.pitch = pitch;
this.yaw = yaw;
this.roll = roll;
}
public final float pitch;
public final float yaw;
public final float roll;
}
/**
* See operator<<(QDebug, QQuaternion)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QQuaternion:: QQuaternion(QQuaternion)
*/
@QtUninvokable
@Override
public QQuaternion clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QQuaternion clone_native(long __this_nativeId);
}