io.qt.qt3d.animation.QChannel Maven / Gradle / Ivy
Show all versions of qtjambi-qt3danimation Show documentation
package io.qt.qt3d.animation;
import io.qt.*;
/**
* Defines a channel for a QAnimationClipData. The animation system interpolates each channel component independently except in the case the QChannel is called "Rotation" (case sensitive), it has four QChannelComponents and the same number of keyframes for each QChannelComponent. In that case the interpolation will be performed using SLERP
* Java wrapper for Qt class Qt3DAnimation::QChannel
*/
public class QChannel extends QtObject
implements java.lang.Iterable,
java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See Qt3DAnimation::QChannel:: QChannel()
*/
public QChannel(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QChannel instance);
/**
* See Qt3DAnimation::QChannel:: QChannel(QString)
*/
public QChannel(java.lang.@NonNull String name){
super((QPrivateConstructor)null);
initialize_native(this, name);
}
private native static void initialize_native(QChannel instance, java.lang.String name);
/**
* See Qt3DAnimation::QChannel:: QChannel(Qt3DAnimation::QChannel)
*/
public QChannel(io.qt.qt3d.animation.@NonNull QChannel arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QChannel instance, io.qt.qt3d.animation.QChannel arg__1);
/**
* See Qt3DAnimation::QChannel:: appendChannelComponent(Qt3DAnimation::QChannelComponent)
*/
@QtUninvokable
public final void appendChannelComponent(io.qt.qt3d.animation.@NonNull QChannelComponent component){
appendChannelComponent_native_cref_Qt3DAnimation_QChannelComponent(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(component));
}
@QtUninvokable
private native void appendChannelComponent_native_cref_Qt3DAnimation_QChannelComponent(long __this__nativeId, long component);
/**
* See Qt3DAnimation::QChannel:: begin()const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator begin(){
return begin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator begin_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: channelComponentCount()const
*/
@QtUninvokable
public final int channelComponentCount(){
return channelComponentCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int channelComponentCount_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: clearChannelComponents()
*/
@QtUninvokable
public final void clearChannelComponents(){
clearChannelComponents_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clearChannelComponents_native(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: end()const
*/
@QtUninvokable
protected final io.qt.core.@NonNull QSequentialConstIterator end(){
return end_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSequentialConstIterator end_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: insertChannelComponent(int, Qt3DAnimation::QChannelComponent)
*/
@QtUninvokable
public final void insertChannelComponent(int index, io.qt.qt3d.animation.@NonNull QChannelComponent component){
insertChannelComponent_native_int_cref_Qt3DAnimation_QChannelComponent(QtJambi_LibraryUtilities.internal.nativeId(this), index, QtJambi_LibraryUtilities.internal.checkedNativeId(component));
}
@QtUninvokable
private native void insertChannelComponent_native_int_cref_Qt3DAnimation_QChannelComponent(long __this__nativeId, int index, long component);
/**
* See Qt3DAnimation::QChannel:: jointIndex()const
*/
@QtUninvokable
public final int jointIndex(){
return jointIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int jointIndex_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: name()const
*/
@QtUninvokable
public final java.lang.@NonNull String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
/**
* See Qt3DAnimation::QChannel:: operator=(Qt3DAnimation::QChannel)
*/
@QtUninvokable
public final void assign(io.qt.qt3d.animation.@NonNull QChannel arg__1){
assign_native_cref_Qt3DAnimation_QChannel(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_Qt3DAnimation_QChannel(long __this__nativeId, long arg__1);
/**
* See operator==(Qt3DAnimation::QChannel, Qt3DAnimation::QChannel)
*/
@QtUninvokable
public final boolean equals(io.qt.qt3d.animation.@NonNull QChannel arg__2){
return equals_native_cref_Qt3DAnimation_QChannel(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__2));
}
@QtUninvokable
private native boolean equals_native_cref_Qt3DAnimation_QChannel(long __this__nativeId, long arg__2);
/**
* See Qt3DAnimation::QChannel:: removeChannelComponent(int)
*/
@QtUninvokable
public final void removeChannelComponent(int index){
removeChannelComponent_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native void removeChannelComponent_native_int(long __this__nativeId, int index);
/**
* See Qt3DAnimation::QChannel:: setJointIndex(int)
*/
@QtUninvokable
public final void setJointIndex(int jointIndex){
setJointIndex_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), jointIndex);
}
@QtUninvokable
private native void setJointIndex_native_int(long __this__nativeId, int jointIndex);
/**
* See Qt3DAnimation::QChannel:: setName(QString)
*/
@QtUninvokable
public final void setName(java.lang.@NonNull String name){
setName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native void setName_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* Returns an iterator for this iterable object.
* @see #begin()
* @see #end()
*/
@Override
public java.util.@NonNull Iterator iterator() {
return begin().iterator();
}
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QChannel(QPrivateConstructor p) { super(p); }
/**
* See operator==(Qt3DAnimation::QChannel, Qt3DAnimation::QChannel)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.qt3d.animation.QChannel) {
return equals((io.qt.qt3d.animation.QChannel) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(Qt3DAnimation::QChannel)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See Qt3DAnimation::QChannel:: QChannel(Qt3DAnimation::QChannel)
*/
@QtUninvokable
@Override
public QChannel clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QChannel clone_native(long __this_nativeId);
}