io.qt.qt3d.render.QGeometry Maven / Gradle / Ivy
Show all versions of qtjambi-qt3drender Show documentation
package io.qt.qt3d.render;
import io.qt.*;
/**
* Encapsulates geometry
* Java wrapper for Qt class Qt3DRender::QGeometry
*/
public class QGeometry extends io.qt.qt3d.core.QNode
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcBoundingVolumePositionAttribute = null;
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGeometry.class);
/**
* See Qt3DRender::QGeometry:: boundingVolumePositionAttributeChanged(Qt3DRender::QAttribute*)
*/
@QtPropertyNotify(name="boundingVolumePositionAttribute")
public final @NonNull Signal1 boundingVolumePositionAttributeChanged = new Signal1<>();
/**
* See Qt3DRender::QGeometry:: maxExtentChanged(QVector3D)
*/
@QtPropertyNotify(name="maxExtent")
public final @NonNull Signal1 maxExtentChanged = new Signal1<>();
/**
* See Qt3DRender::QGeometry:: minExtentChanged(QVector3D)
*/
@QtPropertyNotify(name="minExtent")
public final @NonNull Signal1 minExtentChanged = new Signal1<>();
/**
* See Qt3DRender::QGeometry:: QGeometry(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QGeometry(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGeometry instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QGeometry:: addAttribute(Qt3DRender::QAttribute*)
*/
public final void addAttribute(io.qt.qt3d.render.@Nullable QAttribute attribute){
addAttribute_native_Qt3DRender_QAttribute_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(attribute));
}
private native void addAttribute_native_Qt3DRender_QAttribute_ptr(long __this__nativeId, long attribute);
/**
* See Qt3DRender::QGeometry:: attributes()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QVector attributes(){
return attributes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QVector attributes_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QGeometry:: boundingVolumePositionAttribute()const
*/
@QtPropertyReader(name="boundingVolumePositionAttribute")
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAttribute boundingVolumePositionAttribute(){
return boundingVolumePositionAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.render.QAttribute boundingVolumePositionAttribute_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QGeometry:: maxExtent()const
*/
@QtPropertyReader(name="maxExtent")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D maxExtent(){
return maxExtent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D maxExtent_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QGeometry:: minExtent()const
*/
@QtPropertyReader(name="minExtent")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D minExtent(){
return minExtent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D minExtent_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QGeometry:: removeAttribute(Qt3DRender::QAttribute*)
*/
public final void removeAttribute(io.qt.qt3d.render.@Nullable QAttribute attribute){
removeAttribute_native_Qt3DRender_QAttribute_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(attribute));
}
private native void removeAttribute_native_Qt3DRender_QAttribute_ptr(long __this__nativeId, long attribute);
/**
* See Qt3DRender::QGeometry:: setBoundingVolumePositionAttribute(Qt3DRender::QAttribute*)
*/
@QtPropertyWriter(name="boundingVolumePositionAttribute")
public final void setBoundingVolumePositionAttribute(io.qt.qt3d.render.@Nullable QAttribute boundingVolumePositionAttribute){
setBoundingVolumePositionAttribute_native_Qt3DRender_QAttribute_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(boundingVolumePositionAttribute));
__rcBoundingVolumePositionAttribute = boundingVolumePositionAttribute;
}
private native void setBoundingVolumePositionAttribute_native_Qt3DRender_QAttribute_ptr(long __this__nativeId, long boundingVolumePositionAttribute);
/**
* See Qt3DCore::QNode:: sceneChangeEvent(Qt3DCore::QSceneChangePtr)
*/
@QtUninvokable
@Override
protected void sceneChangeEvent(io.qt.qt3d.core.@Nullable QSceneChange change){
sceneChangeEvent_native_cref_QSharedPointer(QtJambi_LibraryUtilities.internal.nativeId(this), change);
}
@QtUninvokable
private native void sceneChangeEvent_native_cref_QSharedPointer(long __this__nativeId, io.qt.qt3d.core.QSceneChange change);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGeometry(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QGeometry(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGeometry instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QGeometry(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QGeometry() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #boundingVolumePositionAttribute()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.qt3d.render.@Nullable QAttribute getBoundingVolumePositionAttribute() {
return boundingVolumePositionAttribute();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #maxExtent()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getMaxExtent() {
return maxExtent();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #minExtent()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getMinExtent() {
return minExtent();
}
}