io.qt.datavis.QScatterDataItem Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Container for resolved data to be added to scatter graphs
* Java wrapper for Qt class QScatterDataItem
*/
public class QScatterDataItem extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QScatterDataItem:: QScatterDataItem()
*/
public QScatterDataItem(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QScatterDataItem instance);
/**
* See QScatterDataItem:: QScatterDataItem(QScatterDataItem)
* @param other
*/
public QScatterDataItem(io.qt.datavis.@NonNull QScatterDataItem other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QScatterDataItem instance, io.qt.datavis.QScatterDataItem other);
/**
* See QScatterDataItem:: QScatterDataItem(QVector3D)
* @param position
*/
public QScatterDataItem(io.qt.gui.@NonNull QVector3D position){
super((QPrivateConstructor)null);
initialize_native(this, position);
}
private native static void initialize_native(QScatterDataItem instance, io.qt.gui.QVector3D position);
/**
* See QScatterDataItem:: QScatterDataItem(QVector3D, QQuaternion)
* @param position
* @param rotation
*/
public QScatterDataItem(io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QQuaternion rotation){
super((QPrivateConstructor)null);
initialize_native(this, position, rotation);
}
private native static void initialize_native(QScatterDataItem instance, io.qt.gui.QVector3D position, io.qt.gui.QQuaternion rotation);
/**
* See QScatterDataItem:: createExtraData()
*/
@QtUninvokable
protected final void createExtraData(){
createExtraData_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void createExtraData_native(long __this__nativeId);
/**
* See QScatterDataItem:: operator=(QScatterDataItem)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.datavis.@NonNull QScatterDataItem other){
assign_native_cref_QScatterDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QScatterDataItem(long __this__nativeId, long other);
/**
* See operator==(QScatterDataItem, QScatterDataItem)
* @param b
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.datavis.@NonNull QScatterDataItem b){
return equals_native_cref_QScatterDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b));
}
@QtUninvokable
private native boolean equals_native_cref_QScatterDataItem(long __this__nativeId, long b);
/**
* See QScatterDataItem:: position()const
* @return
*/
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D position(){
return position_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D position_native_constfct(long __this__nativeId);
/**
* See QScatterDataItem:: rotation()const
* @return
*/
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion rotation(){
return rotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion rotation_native_constfct(long __this__nativeId);
/**
* See QScatterDataItem:: setPosition(QVector3D)
* @param pos
*/
@QtUninvokable
public final void setPosition(io.qt.gui.@NonNull QVector3D pos){
setPosition_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pos));
}
@QtUninvokable
private native void setPosition_native_cref_QVector3D(long __this__nativeId, long pos);
/**
* See QScatterDataItem:: setRotation(QQuaternion)
* @param rot
*/
@QtUninvokable
public final void setRotation(io.qt.gui.@NonNull QQuaternion rot){
setRotation_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rot));
}
@QtUninvokable
private native void setRotation_native_cref_QQuaternion(long __this__nativeId, long rot);
/**
* See QScatterDataItem:: setX(float)
* @param value
*/
@QtUninvokable
public final void setX(float value){
setX_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@QtUninvokable
private native void setX_native_float(long __this__nativeId, float value);
/**
* See QScatterDataItem:: setY(float)
* @param value
*/
@QtUninvokable
public final void setY(float value){
setY_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@QtUninvokable
private native void setY_native_float(long __this__nativeId, float value);
/**
* See QScatterDataItem:: setZ(float)
* @param value
*/
@QtUninvokable
public final void setZ(float value){
setZ_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@QtUninvokable
private native void setZ_native_float(long __this__nativeId, float value);
/**
* See QScatterDataItem:: x()const
* @return
*/
@QtUninvokable
public final float x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float x_native_constfct(long __this__nativeId);
/**
* See QScatterDataItem:: y()const
* @return
*/
@QtUninvokable
public final float y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float y_native_constfct(long __this__nativeId);
/**
* See QScatterDataItem:: z()const
* @return
*/
@QtUninvokable
public final float z(){
return z_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float z_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QScatterDataItem(QPrivateConstructor p) { super(p); }
/**
* See operator==(QScatterDataItem, QScatterDataItem)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.datavis.QScatterDataItem) {
return equals((io.qt.datavis.QScatterDataItem) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QScatterDataItem)
.
*/
@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 QScatterDataItem:: QScatterDataItem(QScatterDataItem)
*/
@QtUninvokable
@Override
public QScatterDataItem clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QScatterDataItem clone_native(long __this_nativeId);
}