io.qt.datavis.Q3DObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-datavisualization Show documentation
Show all versions of qtjambi-datavisualization Show documentation
UI Components for creating stunning 3D data visualizations.
The newest version!
package io.qt.datavis;
import io.qt.*;
/**
* Simple base class for all the objects in a 3D scene
* Java wrapper for Qt class Q3DObject
* @since This class was introduced in Qt QtDataVisualization 1.0.
*/
public class Q3DObject extends io.qt.core.QObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(Q3DObject.class);
/**
* See Q3DObject:: positionChanged(QVector3D)
*/
@QtPropertyNotify(name="position")
public final @NonNull Signal1 positionChanged = new Signal1<>();
/**
* See Q3DObject:: Q3DObject(QObject*)
* @param parent
*/
public Q3DObject(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(Q3DObject instance, io.qt.core.QObject parent);
/**
*
* @return
*/
@QtUninvokable
protected final boolean isDirty(){
return isDirty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDirty_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtPropertyReader(name="parentScene")
@QtUninvokable
public final io.qt.datavis.@Nullable Q3DScene parentScene(){
return parentScene_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.datavis.Q3DScene parentScene_native(long __this__nativeId);
/**
* See Q3DObject:: position()const
* @return
*/
@QtPropertyReader(name="position")
@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);
/**
*
* @param dirty
*/
@QtUninvokable
protected final void setDirty(boolean dirty){
setDirty_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), dirty);
}
@QtUninvokable
private native void setDirty_native_bool(long __this__nativeId, boolean dirty);
/**
* See Q3DObject:: setPosition(QVector3D)
* @param position
*/
@QtPropertyWriter(name="position")
@QtUninvokable
public final void setPosition(io.qt.gui.@NonNull QVector3D position){
setPosition_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(position));
}
@QtUninvokable
private native void setPosition_native_cref_QVector3D(long __this__nativeId, long position);
/**
* See Q3DObject:: copyValuesFrom(Q3DObject)
* @param source
*/
@QtUninvokable
public void copyValuesFrom(io.qt.datavis.@StrictNonNull Q3DObject source){
java.util.Objects.requireNonNull(source, "Argument 'source': null not expected.");
copyValuesFrom_native_cref_Q3DObject(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(source));
}
@QtUninvokable
private native void copyValuesFrom_native_cref_Q3DObject(long __this__nativeId, long source);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Q3DObject(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected Q3DObject(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(Q3DObject instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #Q3DObject(io.qt.core.QObject)}
* with parent = null
.
*/
public Q3DObject() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #parentScene()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.datavis.@Nullable Q3DScene getParentScene() {
return parentScene();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #position()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getPosition() {
return position();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy