io.qt.datavis.QCustom3DItem Maven / Gradle / Ivy
Show all versions of qtjambi-datavisualization Show documentation
package io.qt.datavis;
import io.qt.*;
/**
* Adds a custom item to a graph
* Java wrapper for Qt class QCustom3DItem
*/
public class QCustom3DItem 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(QCustom3DItem.class);
/**
* See QCustom3DItem:: meshFileChanged(QString)
*/
@QtPropertyNotify(name="meshFile")
public final @NonNull Signal1 meshFileChanged = new Signal1<>();
/**
* See QCustom3DItem:: positionAbsoluteChanged(bool)
*/
@QtPropertyNotify(name="positionAbsolute")
public final @NonNull Signal1 positionAbsoluteChanged = new Signal1<>();
/**
* See QCustom3DItem:: positionChanged(QVector3D)
*/
@QtPropertyNotify(name="position")
public final @NonNull Signal1 positionChanged = new Signal1<>();
/**
* See QCustom3DItem:: rotationChanged(QQuaternion)
*/
@QtPropertyNotify(name="rotation")
public final @NonNull Signal1 rotationChanged = new Signal1<>();
/**
* See QCustom3DItem:: scalingAbsoluteChanged(bool)
*/
@QtPropertyNotify(name="scalingAbsolute")
public final @NonNull Signal1 scalingAbsoluteChanged = new Signal1<>();
/**
* See QCustom3DItem:: scalingChanged(QVector3D)
*/
@QtPropertyNotify(name="scaling")
public final @NonNull Signal1 scalingChanged = new Signal1<>();
/**
* See QCustom3DItem:: shadowCastingChanged(bool)
*/
@QtPropertyNotify(name="shadowCasting")
public final @NonNull Signal1 shadowCastingChanged = new Signal1<>();
/**
* See QCustom3DItem:: textureFileChanged(QString)
*/
@QtPropertyNotify(name="textureFile")
public final @NonNull Signal1 textureFileChanged = new Signal1<>();
/**
* See QCustom3DItem:: visibleChanged(bool)
*/
@QtPropertyNotify(name="visible")
public final @NonNull Signal1 visibleChanged = new Signal1<>();
/**
* See QCustom3DItem:: QCustom3DItem(QObject*)
* @param parent
*/
public QCustom3DItem(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCustom3DItem instance, io.qt.core.QObject parent);
/**
* See QCustom3DItem:: QCustom3DItem(QString, QVector3D, QVector3D, QQuaternion, QImage, QObject*)
* @param meshFile
* @param position
* @param scaling
* @param rotation
* @param texture
* @param parent
*/
public QCustom3DItem(java.lang.@NonNull String meshFile, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation, io.qt.gui.@NonNull QImage texture, io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, meshFile, position, scaling, rotation, texture, parent);
}
private native static void initialize_native(QCustom3DItem instance, java.lang.String meshFile, io.qt.gui.QVector3D position, io.qt.gui.QVector3D scaling, io.qt.gui.QQuaternion rotation, io.qt.gui.QImage texture, io.qt.core.QObject parent);
/**
* See QCustom3DItem:: isPositionAbsolute()const
* @return
*/
@QtPropertyReader(name="positionAbsolute")
@QtUninvokable
public final boolean isPositionAbsolute(){
return isPositionAbsolute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isPositionAbsolute_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: isScalingAbsolute()const
* @return
*/
@QtPropertyReader(name="scalingAbsolute")
@QtUninvokable
public final boolean isScalingAbsolute(){
return isScalingAbsolute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isScalingAbsolute_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: isShadowCasting()const
* @return
*/
@QtPropertyReader(name="shadowCasting")
@QtUninvokable
public final boolean isShadowCasting(){
return isShadowCasting_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isShadowCasting_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: isVisible()const
* @return
*/
@QtPropertyReader(name="visible")
@QtUninvokable
public final boolean isVisible(){
return isVisible_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isVisible_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: meshFile()const
* @return
*/
@QtPropertyReader(name="meshFile")
@QtUninvokable
public final java.lang.@NonNull String meshFile(){
return meshFile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String meshFile_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: 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);
/**
*
* @return
*/
@QtPropertyReader(name="rotation")
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion rotation(){
return rotation_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QQuaternion rotation_native(long __this__nativeId);
/**
* See QCustom3DItem:: scaling()const
* @return
*/
@QtPropertyReader(name="scaling")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D scaling(){
return scaling_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D scaling_native_constfct(long __this__nativeId);
/**
* See QCustom3DItem:: setMeshFile(QString)
* @param meshFile
*/
@QtPropertyWriter(name="meshFile")
@QtUninvokable
public final void setMeshFile(java.lang.@NonNull String meshFile){
setMeshFile_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), meshFile);
}
@QtUninvokable
private native void setMeshFile_native_cref_QString(long __this__nativeId, java.lang.String meshFile);
/**
* See QCustom3DItem:: 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 QCustom3DItem:: setPositionAbsolute(bool)
* @param positionAbsolute
*/
@QtPropertyWriter(name="positionAbsolute")
@QtUninvokable
public final void setPositionAbsolute(boolean positionAbsolute){
setPositionAbsolute_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), positionAbsolute);
}
@QtUninvokable
private native void setPositionAbsolute_native_bool(long __this__nativeId, boolean positionAbsolute);
/**
* See QCustom3DItem:: setRotation(QQuaternion)
* @param rotation
*/
@QtPropertyWriter(name="rotation")
@QtUninvokable
public final void setRotation(io.qt.gui.@NonNull QQuaternion rotation){
setRotation_native_cref_QQuaternion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rotation));
}
@QtUninvokable
private native void setRotation_native_cref_QQuaternion(long __this__nativeId, long rotation);
/**
* See QCustom3DItem:: setRotationAxisAndAngle(QVector3D, float)
* @param axis
* @param angle
*/
public final void setRotationAxisAndAngle(io.qt.gui.@NonNull QVector3D axis, float angle){
setRotationAxisAndAngle_native_cref_QVector3D_float(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis), angle);
}
private native void setRotationAxisAndAngle_native_cref_QVector3D_float(long __this__nativeId, long axis, float angle);
/**
* See QCustom3DItem:: setScaling(QVector3D)
* @param scaling
*/
@QtPropertyWriter(name="scaling")
@QtUninvokable
public final void setScaling(io.qt.gui.@NonNull QVector3D scaling){
setScaling_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(scaling));
}
@QtUninvokable
private native void setScaling_native_cref_QVector3D(long __this__nativeId, long scaling);
/**
* See QCustom3DItem:: setScalingAbsolute(bool)
* @param scalingAbsolute
*/
@QtPropertyWriter(name="scalingAbsolute")
@QtUninvokable
public final void setScalingAbsolute(boolean scalingAbsolute){
setScalingAbsolute_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), scalingAbsolute);
}
@QtUninvokable
private native void setScalingAbsolute_native_bool(long __this__nativeId, boolean scalingAbsolute);
/**
* See QCustom3DItem:: setShadowCasting(bool)
* @param enabled
*/
@QtPropertyWriter(name="shadowCasting")
@QtUninvokable
public final void setShadowCasting(boolean enabled){
setShadowCasting_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@QtUninvokable
private native void setShadowCasting_native_bool(long __this__nativeId, boolean enabled);
/**
* See QCustom3DItem:: setTextureFile(QString)
* @param textureFile
*/
@QtPropertyWriter(name="textureFile")
@QtUninvokable
public final void setTextureFile(java.lang.@NonNull String textureFile){
setTextureFile_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), textureFile);
}
@QtUninvokable
private native void setTextureFile_native_cref_QString(long __this__nativeId, java.lang.String textureFile);
/**
* See QCustom3DItem:: setTextureImage(QImage)
* @param textureImage
*/
@QtUninvokable
public final void setTextureImage(io.qt.gui.@NonNull QImage textureImage){
setTextureImage_native_cref_QImage(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(textureImage));
}
@QtUninvokable
private native void setTextureImage_native_cref_QImage(long __this__nativeId, long textureImage);
/**
* See QCustom3DItem:: setVisible(bool)
* @param visible
*/
@QtPropertyWriter(name="visible")
@QtUninvokable
public final void setVisible(boolean visible){
setVisible_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), visible);
}
@QtUninvokable
private native void setVisible_native_bool(long __this__nativeId, boolean visible);
/**
* See QCustom3DItem:: textureFile()const
* @return
*/
@QtPropertyReader(name="textureFile")
@QtUninvokable
public final java.lang.@NonNull String textureFile(){
return textureFile_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String textureFile_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QCustom3DItem(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QCustom3DItem(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCustom3DItem instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QCustom3DItem(io.qt.core.QObject)}
* with parent = null
.
*/
public QCustom3DItem() {
this((io.qt.core.QObject)null);
}
/**
* Overloaded constructor for {@link #QCustom3DItem(java.lang.String, io.qt.gui.QVector3D, io.qt.gui.QVector3D, io.qt.gui.QQuaternion, io.qt.gui.QImage, io.qt.core.QObject)}
* with parent = null
.
*/
public QCustom3DItem(java.lang.@NonNull String meshFile, io.qt.gui.@NonNull QVector3D position, io.qt.gui.@NonNull QVector3D scaling, io.qt.gui.@NonNull QQuaternion rotation, io.qt.gui.@NonNull QImage texture) {
this(meshFile, position, scaling, rotation, texture, (io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isPositionAbsolute()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getPositionAbsolute() {
return isPositionAbsolute();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isScalingAbsolute()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getScalingAbsolute() {
return isScalingAbsolute();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isShadowCasting()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getShadowCasting() {
return isShadowCasting();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #isVisible()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getVisible() {
return isVisible();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #meshFile()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getMeshFile() {
return meshFile();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #position()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getPosition() {
return position();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rotation()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QQuaternion getRotation() {
return rotation();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #scaling()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getScaling() {
return scaling();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #textureFile()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getTextureFile() {
return textureFile();
}
}