All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QMatrix4x3 Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Java wrapper for Qt class QMatrix4x3

*/ public class QMatrix4x3 extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QMatrix4x3::QMatrix4x3()

*/ public QMatrix4x3(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QMatrix4x3 instance); /** *

See QMatrix4x3::QMatrix4x3(QMatrix4x3)

*/ public QMatrix4x3(io.qt.gui.@NonNull QMatrix4x3 other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QMatrix4x3 instance, io.qt.gui.QMatrix4x3 other); /** *

See QMatrix4x3::QMatrix4x3(const float*)

*/ public QMatrix4x3(java.nio.@StrictNonNull FloatBuffer values){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(values, "Argument 'values': null not expected."); if(values.capacity() < 12) throw new IllegalArgumentException("Argument 'values': buffer minimum of capacity 12 expected."); initialize_native(this, values); } private native static void initialize_native(QMatrix4x3 instance, java.nio.FloatBuffer values); /** *

See QMatrix4x3::copyDataTo(float*)const

*/ @QtUninvokable public final void copyDataTo(java.nio.@StrictNonNull FloatBuffer values){ java.util.Objects.requireNonNull(values, "Argument 'values': null not expected."); if(values.capacity() < 12) throw new IllegalArgumentException("Argument 'values': buffer minimum of capacity 12 expected."); copyDataTo_native_float_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), values); } @QtUninvokable private native void copyDataTo_native_float_ptr_constfct(long __this__nativeId, java.nio.FloatBuffer values); /** *

See QMatrix4x3::data()

*/ @QtUninvokable public final java.nio.@StrictNonNull FloatBuffer data(){ return data_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.nio.FloatBuffer data_native(long __this__nativeId); /** *

See QMatrix4x3::data()const

*/ @QtUninvokable public final float @StrictNonNull[] array(){ return array_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float[] array_native_constfct(long __this__nativeId); /** *

See QMatrix4x3::fill(float)

*/ @QtUninvokable public final void fill(float value){ fill_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void fill_native_float(long __this__nativeId, float value); /** *

See QMatrix4x3::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 QMatrix4x3::operator()(int,int)

*/ @QtUninvokable public final void setValue(int row, int column, float value){ setValue_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), row, column, value); } @QtUninvokable private native void setValue_native_int_int(long __this__nativeId, int row, int column, float value); /** *

See QMatrix4x3::operator()(int,int)const

*/ @QtUninvokable public final float value(int row, int column){ return value_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), row, column); } @QtUninvokable private native float value_native_int_int_constfct(long __this__nativeId, int row, int column); /** *

See QMatrix4x3::operator*(float)

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix4x3 times(float factor){ return times_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor); } @QtUninvokable private native io.qt.gui.QMatrix4x3 times_native_float(long __this__nativeId, float factor); /** *

See QMatrix4x3::operator*=(float)

*/ @QtUninvokable public final @NonNull QMatrix4x3 multiply(float factor){ return multiply_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor); } @QtUninvokable private native QMatrix4x3 multiply_native_float(long __this__nativeId, float factor); /** *

See QMatrix4x3::operator+(QMatrix4x3)

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix4x3 plus(io.qt.gui.@NonNull QMatrix4x3 other){ return plus_native_cref_QMatrix4x3(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.gui.QMatrix4x3 plus_native_cref_QMatrix4x3(long __this__nativeId, long other); /** *

See QMatrix4x3::operator+=(QMatrix4x3)

*/ @QtUninvokable public final @NonNull QMatrix4x3 add(io.qt.gui.@NonNull QMatrix4x3 other){ return add_native_cref_QMatrix4x3(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native QMatrix4x3 add_native_cref_QMatrix4x3(long __this__nativeId, long other); /** *

See QMatrix4x3::operator-(QMatrix4x3)

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix4x3 minus(io.qt.gui.@NonNull QMatrix4x3 other){ return minus_native_cref_QMatrix4x3(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.gui.QMatrix4x3 minus_native_cref_QMatrix4x3(long __this__nativeId, long other); /** *

See QMatrix4x3::operator-=(QMatrix4x3)

*/ @QtUninvokable public final @NonNull QMatrix4x3 subtract(io.qt.gui.@NonNull QMatrix4x3 other){ return subtract_native_cref_QMatrix4x3(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native QMatrix4x3 subtract_native_cref_QMatrix4x3(long __this__nativeId, long other); /** *

See QMatrix4x3::operator/(float)

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix4x3 div(float factor){ return div_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), factor); } @QtUninvokable private native io.qt.gui.QMatrix4x3 div_native_float(long __this__nativeId, float factor); /** *

See QMatrix4x3::operator/=(float)

*/ @QtUninvokable public final @NonNull QMatrix4x3 divide(float divisor){ return divide_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), divisor); } @QtUninvokable private native QMatrix4x3 divide_native_float(long __this__nativeId, float divisor); /** *

See QMatrix4x3::operator=(QMatrix4x3)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QMatrix4x3 other){ assign_native_cref_QMatrix4x3(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QMatrix4x3(long __this__nativeId, long other); /** *

See QMatrix4x3::operator==(QMatrix4x3)const

*/ @QtUninvokable public final boolean equals(io.qt.gui.@NonNull QMatrix4x3 other){ return equals_native_cref_QMatrix4x3_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean equals_native_cref_QMatrix4x3_constfct(long __this__nativeId, long other); /** *

See QMatrix4x3::setToIdentity()

*/ @QtUninvokable public final void setToIdentity(){ setToIdentity_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void setToIdentity_native(long __this__nativeId); /** *

See QMatrix4x3::transposed()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix3x4 transposed(){ return transposed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QMatrix3x4 transposed_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QMatrix4x3(QPrivateConstructor p) { super(p); } /** *

See QMatrix4x3::operator==(QMatrix4x3)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QMatrix4x3) { return equals((io.qt.gui.QMatrix4x3) other); } return false; } /** * Returns the objects's hash code computed by qHash(QMatrix4x3). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); // TEMPLATE - gui.matrix_constructor - START private static java.nio.FloatBuffer wrap(float[] values){ if(values.length < 12) throw new ArrayIndexOutOfBoundsException(12); return java.nio.FloatBuffer.wrap(values); } public QMatrix4x3(float[] values){ this(wrap(values)); } @QtUninvokable public final void copyDataTo(float[] values) { copyDataTo(wrap(values)); } // TEMPLATE - gui.matrix_constructor - END /** *

Creates and returns a copy of this object.

See QMatrix4x3::QMatrix4x3(QMatrix4x3)

*/ @QtUninvokable @Override public QMatrix4x3 clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QMatrix4x3 clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy