io.qt.qt3d.extras.QTorusMesh Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* A toroidal mesh
* Java wrapper for Qt class Qt3DExtras::QTorusMesh
*/
public class QTorusMesh extends io.qt.qt3d.render.QGeometryRenderer
{
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(QTorusMesh.class);
/**
* See Qt3DExtras::QTorusMesh:: minorRadiusChanged(float)
*/
@QtPropertyNotify(name="minorRadius")
public final @NonNull Signal1 minorRadiusChanged = new Signal1<>();
/**
* See Qt3DExtras::QTorusMesh:: radiusChanged(float)
*/
@QtPropertyNotify(name="radius")
public final @NonNull Signal1 radiusChanged = new Signal1<>();
/**
* See Qt3DExtras::QTorusMesh:: ringsChanged(int)
*/
@QtPropertyNotify(name="rings")
public final @NonNull Signal1 ringsChanged = new Signal1<>();
/**
* See Qt3DExtras::QTorusMesh:: slicesChanged(int)
*/
@QtPropertyNotify(name="slices")
public final @NonNull Signal1 slicesChanged = new Signal1<>();
/**
* See Qt3DExtras::QTorusMesh:: QTorusMesh(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QTorusMesh(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QTorusMesh instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DExtras::QTorusMesh:: minorRadius()const
* @return
*/
@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);
/**
* See Qt3DExtras::QTorusMesh:: radius()const
* @return
*/
@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);
/**
* See Qt3DExtras::QTorusMesh:: rings()const
* @return
*/
@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::QTorusMesh:: setMinorRadius(float)
* @param minorRadius
*/
@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::QTorusMesh:: setRadius(float)
* @param radius
*/
@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::QTorusMesh:: setRings(int)
* @param rings
*/
@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::QTorusMesh:: setSlices(int)
* @param slices
*/
@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);
/**
* See Qt3DExtras::QTorusMesh:: slices()const
* @return
*/
@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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTorusMesh(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QTorusMesh(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QTorusMesh instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QTorusMesh(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QTorusMesh() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minorRadius()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getMinorRadius() {
return minorRadius();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #radius()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getRadius() {
return radius();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #rings()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getRings() {
return rings();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #slices()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getSlices() {
return slices();
}
}