io.qt.qt3d.extras.QConeGeometry Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Allows creation of a cone in 3D space
* Java wrapper for Qt class Qt3DExtras::QConeGeometry
*/
public class QConeGeometry 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(QConeGeometry.class);
/**
* See Qt3DExtras::QConeGeometry:: bottomRadiusChanged(float)
*/
@QtPropertyNotify(name="bottomRadius")
public final @NonNull Signal1 bottomRadiusChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: hasBottomEndcapChanged(bool)
*/
@QtPropertyNotify(name="hasBottomEndcap")
public final @NonNull Signal1 hasBottomEndcapChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: hasTopEndcapChanged(bool)
*/
@QtPropertyNotify(name="hasTopEndcap")
public final @NonNull Signal1 hasTopEndcapChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: lengthChanged(float)
*/
@QtPropertyNotify(name="length")
public final @NonNull Signal1 lengthChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: ringsChanged(int)
*/
@QtPropertyNotify(name="rings")
public final @NonNull Signal1 ringsChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: slicesChanged(int)
*/
@QtPropertyNotify(name="slices")
public final @NonNull Signal1 slicesChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: topRadiusChanged(float)
*/
@QtPropertyNotify(name="topRadius")
public final @NonNull Signal1 topRadiusChanged = new Signal1<>();
/**
* See Qt3DExtras::QConeGeometry:: QConeGeometry(QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QConeGeometry(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QConeGeometry instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DExtras::QConeGeometry:: bottomRadius()const
* @return
*/
@QtPropertyReader(name="bottomRadius")
@QtUninvokable
public final float bottomRadius(){
return bottomRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float bottomRadius_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: hasBottomEndcap()const
* @return
*/
@QtPropertyReader(name="hasBottomEndcap")
@QtUninvokable
public final boolean hasBottomEndcap(){
return hasBottomEndcap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasBottomEndcap_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: hasTopEndcap()const
* @return
*/
@QtPropertyReader(name="hasTopEndcap")
@QtUninvokable
public final boolean hasTopEndcap(){
return hasTopEndcap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasTopEndcap_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: indexAttribute()const
* @return
*/
@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);
/**
* See Qt3DExtras::QConeGeometry:: length()const
* @return
*/
@QtPropertyReader(name="length")
@QtUninvokable
public final float length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float length_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: normalAttribute()const
* @return
*/
@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);
/**
* See Qt3DExtras::QConeGeometry:: positionAttribute()const
* @return
*/
@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);
/**
* See Qt3DExtras::QConeGeometry:: 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::QConeGeometry:: setBottomRadius(float)
* @param bottomRadius
*/
@QtPropertyWriter(name="bottomRadius")
public final void setBottomRadius(float bottomRadius){
setBottomRadius_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), bottomRadius);
}
private native void setBottomRadius_native_float(long __this__nativeId, float bottomRadius);
/**
* See Qt3DExtras::QConeGeometry:: setHasBottomEndcap(bool)
* @param hasBottomEndcap
*/
@QtPropertyWriter(name="hasBottomEndcap")
public final void setHasBottomEndcap(boolean hasBottomEndcap){
setHasBottomEndcap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hasBottomEndcap);
}
private native void setHasBottomEndcap_native_bool(long __this__nativeId, boolean hasBottomEndcap);
/**
* See Qt3DExtras::QConeGeometry:: setHasTopEndcap(bool)
* @param hasTopEndcap
*/
@QtPropertyWriter(name="hasTopEndcap")
public final void setHasTopEndcap(boolean hasTopEndcap){
setHasTopEndcap_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), hasTopEndcap);
}
private native void setHasTopEndcap_native_bool(long __this__nativeId, boolean hasTopEndcap);
/**
* See Qt3DExtras::QConeGeometry:: setLength(float)
* @param length
*/
@QtPropertyWriter(name="length")
public final void setLength(float length){
setLength_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), length);
}
private native void setLength_native_float(long __this__nativeId, float length);
/**
* See Qt3DExtras::QConeGeometry:: 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::QConeGeometry:: 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::QConeGeometry:: setTopRadius(float)
* @param topRadius
*/
@QtPropertyWriter(name="topRadius")
public final void setTopRadius(float topRadius){
setTopRadius_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), topRadius);
}
private native void setTopRadius_native_float(long __this__nativeId, float topRadius);
/**
* See Qt3DExtras::QConeGeometry:: 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);
/**
* See Qt3DExtras::QConeGeometry:: texCoordAttribute()const
* @return
*/
@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::QConeGeometry:: topRadius()const
* @return
*/
@QtPropertyReader(name="topRadius")
@QtUninvokable
public final float topRadius(){
return topRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float topRadius_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: updateIndices()
*/
@QtUninvokable
public final void updateIndices(){
updateIndices_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void updateIndices_native(long __this__nativeId);
/**
* See Qt3DExtras::QConeGeometry:: 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
.
* @hidden
*/
@NativeAccess
protected QConeGeometry(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QConeGeometry(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QConeGeometry instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QConeGeometry(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QConeGeometry() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #bottomRadius()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getBottomRadius() {
return bottomRadius();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #hasBottomEndcap()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getHasBottomEndcap() {
return hasBottomEndcap();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #hasTopEndcap()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getHasTopEndcap() {
return hasTopEndcap();
}
/**
* @hidden
* 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();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #length()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getLength() {
return length();
}
/**
* @hidden
* 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();
}
/**
* @hidden
* 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();
}
/**
* @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();
}
/**
* @hidden
* 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();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #topRadius()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getTopRadius() {
return topRadius();
}
}