All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.extras.QAbstractCameraController Maven / Gradle / Ivy

Go to download

The Qt 3D Extras module provides a set of prebuilt elements to help you get started with Qt 3D.

There is a newer version: 6.8.0
Show newest version
package io.qt.qt3d.extras;

import io.qt.*;


/**
 * 

Basic functionality for camera controllers

*

Java wrapper for Qt's class Qt3DExtras::QAbstractCameraController

*

The following private function is pure virtual in Qt and thus has to * be implemented in derived Java classes by using the @QtPrivateOverride annotation:

* *
* @QtPrivateOverride
*     @QtUninvokable
*     private void moveCamera(io.qt.qt3d.extras.QAbstractCameraController.@NonNull InputState state, float dt) {...}
*
*/ public abstract class QAbstractCameraController extends io.qt.qt3d.core.QEntity { 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(QAbstractCameraController.class); @NativeAccess private static final class ConcreteWrapper extends QAbstractCameraController { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } } /** *

Java wrapper for Qt class Qt3DExtras::QAbstractCameraController::InputState

*/ public static class InputState extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } public InputState(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(InputState instance); @QtUninvokable public final void setAltKeyActive(boolean altKeyActive){ setAltKeyActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), altKeyActive); } @QtUninvokable private native void setAltKeyActive_native_bool(long __this__nativeId, boolean altKeyActive); /** *

Kotlin property getter. In Java use {@link #altKeyActive()} instead.

*/ @QtUninvokable public final boolean getAltKeyActive() { return altKeyActive(); } @QtUninvokable public final boolean altKeyActive(){ return altKeyActive_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean altKeyActive_native(long __this__nativeId); @QtUninvokable public final void setLeftMouseButtonActive(boolean leftMouseButtonActive){ setLeftMouseButtonActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), leftMouseButtonActive); } @QtUninvokable private native void setLeftMouseButtonActive_native_bool(long __this__nativeId, boolean leftMouseButtonActive); /** *

Kotlin property getter. In Java use {@link #leftMouseButtonActive()} instead.

*/ @QtUninvokable public final boolean getLeftMouseButtonActive() { return leftMouseButtonActive(); } @QtUninvokable public final boolean leftMouseButtonActive(){ return leftMouseButtonActive_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean leftMouseButtonActive_native(long __this__nativeId); @QtUninvokable public final void setMiddleMouseButtonActive(boolean middleMouseButtonActive){ setMiddleMouseButtonActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), middleMouseButtonActive); } @QtUninvokable private native void setMiddleMouseButtonActive_native_bool(long __this__nativeId, boolean middleMouseButtonActive); /** *

Kotlin property getter. In Java use {@link #middleMouseButtonActive()} instead.

*/ @QtUninvokable public final boolean getMiddleMouseButtonActive() { return middleMouseButtonActive(); } @QtUninvokable public final boolean middleMouseButtonActive(){ return middleMouseButtonActive_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean middleMouseButtonActive_native(long __this__nativeId); @QtUninvokable public final void setRightMouseButtonActive(boolean rightMouseButtonActive){ setRightMouseButtonActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), rightMouseButtonActive); } @QtUninvokable private native void setRightMouseButtonActive_native_bool(long __this__nativeId, boolean rightMouseButtonActive); /** *

Kotlin property getter. In Java use {@link #rightMouseButtonActive()} instead.

*/ @QtUninvokable public final boolean getRightMouseButtonActive() { return rightMouseButtonActive(); } @QtUninvokable public final boolean rightMouseButtonActive(){ return rightMouseButtonActive_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean rightMouseButtonActive_native(long __this__nativeId); @QtUninvokable public final void setRxAxisValue(float rxAxisValue){ setRxAxisValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), rxAxisValue); } @QtUninvokable private native void setRxAxisValue_native_float(long __this__nativeId, float rxAxisValue); /** *

Kotlin property getter. In Java use {@link #rxAxisValue()} instead.

*/ @QtUninvokable public final float getRxAxisValue() { return rxAxisValue(); } @QtUninvokable public final float rxAxisValue(){ return rxAxisValue_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float rxAxisValue_native(long __this__nativeId); @QtUninvokable public final void setRyAxisValue(float ryAxisValue){ setRyAxisValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), ryAxisValue); } @QtUninvokable private native void setRyAxisValue_native_float(long __this__nativeId, float ryAxisValue); /** *

Kotlin property getter. In Java use {@link #ryAxisValue()} instead.

*/ @QtUninvokable public final float getRyAxisValue() { return ryAxisValue(); } @QtUninvokable public final float ryAxisValue(){ return ryAxisValue_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float ryAxisValue_native(long __this__nativeId); @QtUninvokable public final void setShiftKeyActive(boolean shiftKeyActive){ setShiftKeyActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), shiftKeyActive); } @QtUninvokable private native void setShiftKeyActive_native_bool(long __this__nativeId, boolean shiftKeyActive); /** *

Kotlin property getter. In Java use {@link #shiftKeyActive()} instead.

*/ @QtUninvokable public final boolean getShiftKeyActive() { return shiftKeyActive(); } @QtUninvokable public final boolean shiftKeyActive(){ return shiftKeyActive_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean shiftKeyActive_native(long __this__nativeId); @QtUninvokable public final void setTxAxisValue(float txAxisValue){ setTxAxisValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), txAxisValue); } @QtUninvokable private native void setTxAxisValue_native_float(long __this__nativeId, float txAxisValue); /** *

Kotlin property getter. In Java use {@link #txAxisValue()} instead.

*/ @QtUninvokable public final float getTxAxisValue() { return txAxisValue(); } @QtUninvokable public final float txAxisValue(){ return txAxisValue_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float txAxisValue_native(long __this__nativeId); @QtUninvokable public final void setTyAxisValue(float tyAxisValue){ setTyAxisValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), tyAxisValue); } @QtUninvokable private native void setTyAxisValue_native_float(long __this__nativeId, float tyAxisValue); /** *

Kotlin property getter. In Java use {@link #tyAxisValue()} instead.

*/ @QtUninvokable public final float getTyAxisValue() { return tyAxisValue(); } @QtUninvokable public final float tyAxisValue(){ return tyAxisValue_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float tyAxisValue_native(long __this__nativeId); @QtUninvokable public final void setTzAxisValue(float tzAxisValue){ setTzAxisValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), tzAxisValue); } @QtUninvokable private native void setTzAxisValue_native_float(long __this__nativeId, float tzAxisValue); /** *

Kotlin property getter. In Java use {@link #tzAxisValue()} instead.

*/ @QtUninvokable public final float getTzAxisValue() { return tzAxisValue(); } @QtUninvokable public final float tzAxisValue(){ return tzAxisValue_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float tzAxisValue_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. */ @NativeAccess protected InputState(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

*/ @QtUninvokable @Override public InputState clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native InputState clone_native(long __this_nativeId); } /** *

See Qt3DExtras::QAbstractCameraController::accelerationChanged(float)

*/ @QtPropertyNotify(name="acceleration") public final @NonNull Signal1 accelerationChanged = new Signal1<>(); /** *

See Qt3DExtras::QAbstractCameraController::cameraChanged()

*/ @QtPropertyNotify(name="camera") public final @NonNull Signal0 cameraChanged = new Signal0(); /** *

See Qt3DExtras::QAbstractCameraController::decelerationChanged(float)

*/ @QtPropertyNotify(name="deceleration") public final @NonNull Signal1 decelerationChanged = new Signal1<>(); /** *

See Qt3DExtras::QAbstractCameraController::linearSpeedChanged()

*/ @QtPropertyNotify(name="linearSpeed") public final @NonNull Signal0 linearSpeedChanged = new Signal0(); /** *

See Qt3DExtras::QAbstractCameraController::lookSpeedChanged()

*/ @QtPropertyNotify(name="lookSpeed") public final @NonNull Signal0 lookSpeedChanged = new Signal0(); /** *

Overloaded constructor for {@link #QAbstractCameraController(io.qt.qt3d.core.QNode)} * with parent = null.

*/ protected QAbstractCameraController() { this((io.qt.qt3d.core.QNode)null); } protected QAbstractCameraController(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAbstractCameraController instance, io.qt.qt3d.core.QNode parent); /** *

Kotlin property getter. In Java use {@link #acceleration()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getAcceleration() { return acceleration(); } /** *

See Qt3DExtras::QAbstractCameraController::acceleration()const

*/ @QtPropertyReader(name="acceleration") @QtUninvokable public final float acceleration(){ return acceleration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float acceleration_native_constfct(long __this__nativeId); /** *

Kotlin property getter. In Java use {@link #camera()} instead.

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.render.@Nullable QCamera getCamera() { return camera(); } /** *

See Qt3DExtras::QAbstractCameraController::camera()const

*/ @QtPropertyReader(name="camera") @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.render.@Nullable QCamera camera(){ return camera_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.render.QCamera camera_native_constfct(long __this__nativeId); /** *

Kotlin property getter. In Java use {@link #deceleration()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getDeceleration() { return deceleration(); } /** *

See Qt3DExtras::QAbstractCameraController::deceleration()const

*/ @QtPropertyReader(name="deceleration") @QtUninvokable public final float deceleration(){ return deceleration_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float deceleration_native_constfct(long __this__nativeId); /** *

See Qt3DExtras::QAbstractCameraController::keyboardDevice()const

*/ @QtUninvokable protected final io.qt.qt3d.input.@Nullable QKeyboardDevice keyboardDevice(){ return keyboardDevice_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.input.QKeyboardDevice keyboardDevice_native_constfct(long __this__nativeId); /** *

Kotlin property getter. In Java use {@link #linearSpeed()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getLinearSpeed() { return linearSpeed(); } /** *

See Qt3DExtras::QAbstractCameraController::linearSpeed()const

*/ @QtPropertyReader(name="linearSpeed") @QtUninvokable public final float linearSpeed(){ return linearSpeed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float linearSpeed_native_constfct(long __this__nativeId); /** *

Kotlin property getter. In Java use {@link #lookSpeed()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getLookSpeed() { return lookSpeed(); } /** *

See Qt3DExtras::QAbstractCameraController::lookSpeed()const

*/ @QtPropertyReader(name="lookSpeed") @QtUninvokable public final float lookSpeed(){ return lookSpeed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float lookSpeed_native_constfct(long __this__nativeId); /** *

See Qt3DExtras::QAbstractCameraController::mouseDevice()const

*/ @QtUninvokable protected final io.qt.qt3d.input.@Nullable QMouseDevice mouseDevice(){ return mouseDevice_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.input.QMouseDevice mouseDevice_native_constfct(long __this__nativeId); /** *

See Qt3DExtras::QAbstractCameraController::setAcceleration(float)

*/ @QtPropertyWriter(name="acceleration") @QtUninvokable public final void setAcceleration(float acceleration){ setAcceleration_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), acceleration); } @QtUninvokable private native void setAcceleration_native_float(long __this__nativeId, float acceleration); /** *

See Qt3DExtras::QAbstractCameraController::setCamera(Qt3DRender::QCamera*)

*/ @QtPropertyWriter(name="camera") @SuppressWarnings({"exports"}) @QtUninvokable public final void setCamera(io.qt.qt3d.render.@Nullable QCamera camera){ setCamera_native_Qt3DRender_QCamera_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(camera)); } @QtUninvokable private native void setCamera_native_Qt3DRender_QCamera_ptr(long __this__nativeId, long camera); /** *

See Qt3DExtras::QAbstractCameraController::setDeceleration(float)

*/ @QtPropertyWriter(name="deceleration") @QtUninvokable public final void setDeceleration(float deceleration){ setDeceleration_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), deceleration); } @QtUninvokable private native void setDeceleration_native_float(long __this__nativeId, float deceleration); /** *

See Qt3DExtras::QAbstractCameraController::setLinearSpeed(float)

*/ @QtPropertyWriter(name="linearSpeed") @QtUninvokable public final void setLinearSpeed(float linearSpeed){ setLinearSpeed_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), linearSpeed); } @QtUninvokable private native void setLinearSpeed_native_float(long __this__nativeId, float linearSpeed); /** *

See Qt3DExtras::QAbstractCameraController::setLookSpeed(float)

*/ @QtPropertyWriter(name="lookSpeed") @QtUninvokable public final void setLookSpeed(float lookSpeed){ setLookSpeed_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), lookSpeed); } @QtUninvokable private native void setLookSpeed_native_float(long __this__nativeId, float lookSpeed); /** * Constructor for internal use only. * @param p expected to be null. */ @NativeAccess protected QAbstractCameraController(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @NativeAccess protected QAbstractCameraController(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAbstractCameraController instance, QDeclarativeConstructor constructor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy