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

io.qt.qt3d.extras.QTorusGeometry 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.*;


/**
 * 

Allows creation of a torus in 3D space. * * * * * The QTorusGeometry class is most commonly used internally by the QTorusMesh * but can also be used in custom Qt3DRender::QGeometryRenderer subclasses

*

Java wrapper for Qt's class Qt3DExtras::QTorusGeometry

*/ public class QTorusGeometry extends io.qt.qt3d.core.QGeometry { 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(QTorusGeometry.class); /** *

See Qt3DExtras::QTorusGeometry::minorRadiusChanged(float)

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

See Qt3DExtras::QTorusGeometry::radiusChanged(float)

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

See Qt3DExtras::QTorusGeometry::ringsChanged(int)

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

See Qt3DExtras::QTorusGeometry::slicesChanged(int)

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

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

*/ public QTorusGeometry() { this((io.qt.qt3d.core.QNode)null); } /** *

See Qt3DExtras::QTorusGeometry::QTorusGeometry(QNode*)

*/ @SuppressWarnings({"exports"}) public QTorusGeometry(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QTorusGeometry instance, io.qt.qt3d.core.QNode parent); /** *

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

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute getIndexAttribute() { return indexAttribute(); } /** *

See Qt3DExtras::QTorusGeometry::indexAttribute()const

*/ @QtPropertyReader(name="indexAttribute") @QtPropertyConstant @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute indexAttribute(){ return indexAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.core.QAttribute indexAttribute_native_constfct(long __this__nativeId); /** *

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

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

See Qt3DExtras::QTorusGeometry::minorRadius()const

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

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

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute getNormalAttribute() { return normalAttribute(); } /** *

See Qt3DExtras::QTorusGeometry::normalAttribute()const

*/ @QtPropertyReader(name="normalAttribute") @QtPropertyConstant @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute normalAttribute(){ return normalAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.core.QAttribute normalAttribute_native_constfct(long __this__nativeId); /** *

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

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute getPositionAttribute() { return positionAttribute(); } /** *

See Qt3DExtras::QTorusGeometry::positionAttribute()const

*/ @QtPropertyReader(name="positionAttribute") @QtPropertyConstant @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute positionAttribute(){ return positionAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.core.QAttribute positionAttribute_native_constfct(long __this__nativeId); /** *

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

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

See Qt3DExtras::QTorusGeometry::radius()const

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

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getRings() { return rings(); } /** *

See Qt3DExtras::QTorusGeometry::rings()const

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

See Qt3DExtras::QTorusGeometry::setMinorRadius(float)

*/ @QtPropertyWriter(name="minorRadius") public final void setMinorRadius(float minorRadius){ setMinorRadius_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), minorRadius); } private native void setMinorRadius_native_float(long __this__nativeId, float minorRadius); /** *

See Qt3DExtras::QTorusGeometry::setRadius(float)

*/ @QtPropertyWriter(name="radius") public final void setRadius(float radius){ setRadius_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), radius); } private native void setRadius_native_float(long __this__nativeId, float radius); /** *

See Qt3DExtras::QTorusGeometry::setRings(int)

*/ @QtPropertyWriter(name="rings") public final void setRings(int rings){ setRings_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), rings); } private native void setRings_native_int(long __this__nativeId, int rings); /** *

See Qt3DExtras::QTorusGeometry::setSlices(int)

*/ @QtPropertyWriter(name="slices") public final void setSlices(int slices){ setSlices_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), slices); } private native void setSlices_native_int(long __this__nativeId, int slices); /** *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getSlices() { return slices(); } /** *

See Qt3DExtras::QTorusGeometry::slices()const

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

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

*/ @QtPropertyReader(enabled=false) @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute getTexCoordAttribute() { return texCoordAttribute(); } /** *

See Qt3DExtras::QTorusGeometry::texCoordAttribute()const

*/ @QtPropertyReader(name="texCoordAttribute") @QtPropertyConstant @SuppressWarnings({"exports"}) @QtUninvokable public final io.qt.qt3d.core.@Nullable QAttribute texCoordAttribute(){ return texCoordAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.qt3d.core.QAttribute texCoordAttribute_native_constfct(long __this__nativeId); /** *

See Qt3DExtras::QTorusGeometry::updateIndices()

*/ @QtUninvokable public final void updateIndices(){ updateIndices_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void updateIndices_native(long __this__nativeId); /** *

See Qt3DExtras::QTorusGeometry::updateVertices()

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy