io.qt.datavis.QSurfaceDataItem 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 surface graphs
* Java wrapper for Qt class QSurfaceDataItem
*/
public class QSurfaceDataItem extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QSurfaceDataItem:: QSurfaceDataItem()
*/
public QSurfaceDataItem(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QSurfaceDataItem instance);
/**
* See QSurfaceDataItem:: QSurfaceDataItem(QSurfaceDataItem)
* @param other
*/
public QSurfaceDataItem(io.qt.datavis.@NonNull QSurfaceDataItem other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QSurfaceDataItem instance, io.qt.datavis.QSurfaceDataItem other);
/**
* See QSurfaceDataItem:: QSurfaceDataItem(QVector3D)
* @param position
*/
public QSurfaceDataItem(io.qt.gui.@NonNull QVector3D position){
super((QPrivateConstructor)null);
initialize_native(this, position);
}
private native static void initialize_native(QSurfaceDataItem instance, io.qt.gui.QVector3D position);
/**
* See QSurfaceDataItem:: createExtraData()
*/
@QtUninvokable
protected final void createExtraData(){
createExtraData_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void createExtraData_native(long __this__nativeId);
/**
* See QSurfaceDataItem:: operator=(QSurfaceDataItem)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.datavis.@NonNull QSurfaceDataItem other){
assign_native_cref_QSurfaceDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QSurfaceDataItem(long __this__nativeId, long other);
/**
* See operator==(QSurfaceDataItem, QSurfaceDataItem)
* @param b
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.datavis.@NonNull QSurfaceDataItem b){
return equals_native_cref_QSurfaceDataItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b));
}
@QtUninvokable
private native boolean equals_native_cref_QSurfaceDataItem(long __this__nativeId, long b);
/**
* See QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem:: 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 QSurfaceDataItem(QPrivateConstructor p) { super(p); }
/**
* See operator==(QSurfaceDataItem, QSurfaceDataItem)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.datavis.QSurfaceDataItem) {
return equals((io.qt.datavis.QSurfaceDataItem) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QSurfaceDataItem)
.
*/
@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 QSurfaceDataItem:: QSurfaceDataItem(QSurfaceDataItem)
*/
@QtUninvokable
@Override
public QSurfaceDataItem clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QSurfaceDataItem clone_native(long __this_nativeId);
}