io.qt.qt3d.extras.QCuboidMesh Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* A cuboid mesh
* Java wrapper for Qt's class Qt3DExtras::QCuboidMesh
*/
public class QCuboidMesh 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(QCuboidMesh.class);
/**
* See Qt3DExtras::QCuboidMesh::xExtentChanged(float)
*/
@QtPropertyNotify(name="xExtent")
public final @NonNull Signal1 xExtentChanged = new Signal1<>();
/**
* See Qt3DExtras::QCuboidMesh::xyMeshResolutionChanged(QSize)
*/
@QtPropertyNotify(name="xyMeshResolution")
public final @NonNull Signal1 xyMeshResolutionChanged = new Signal1<>();
/**
* See Qt3DExtras::QCuboidMesh::xzMeshResolutionChanged(QSize)
*/
@QtPropertyNotify(name="xzMeshResolution")
public final @NonNull Signal1 xzMeshResolutionChanged = new Signal1<>();
/**
* See Qt3DExtras::QCuboidMesh::yExtentChanged(float)
*/
@QtPropertyNotify(name="yExtent")
public final @NonNull Signal1 yExtentChanged = new Signal1<>();
/**
* See Qt3DExtras::QCuboidMesh::yzMeshResolutionChanged(QSize)
*/
@QtPropertyNotify(name="yzMeshResolution")
public final @NonNull Signal1 yzMeshResolutionChanged = new Signal1<>();
/**
* See Qt3DExtras::QCuboidMesh::zExtentChanged(float)
*/
@QtPropertyNotify(name="zExtent")
public final @NonNull Signal1 zExtentChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QCuboidMesh(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QCuboidMesh() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QCuboidMesh::QCuboidMesh(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QCuboidMesh(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QCuboidMesh instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DExtras::QCuboidMesh::setXExtent(float)
*/
@QtPropertyWriter(name="xExtent")
public final void setXExtent(float xExtent){
setXExtent_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), xExtent);
}
private native void setXExtent_native_float(long __this__nativeId, float xExtent);
/**
* See Qt3DExtras::QCuboidMesh::setXYMeshResolution(QSize)
*/
@QtPropertyWriter(name="xyMeshResolution")
public final void setXYMeshResolution(io.qt.core.@NonNull QSize resolution){
setXYMeshResolution_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resolution));
}
private native void setXYMeshResolution_native_cref_QSize(long __this__nativeId, long resolution);
/**
* See Qt3DExtras::QCuboidMesh::setXZMeshResolution(QSize)
*/
@QtPropertyWriter(name="xzMeshResolution")
public final void setXZMeshResolution(io.qt.core.@NonNull QSize resolution){
setXZMeshResolution_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resolution));
}
private native void setXZMeshResolution_native_cref_QSize(long __this__nativeId, long resolution);
/**
* See Qt3DExtras::QCuboidMesh::setYExtent(float)
*/
@QtPropertyWriter(name="yExtent")
public final void setYExtent(float yExtent){
setYExtent_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), yExtent);
}
private native void setYExtent_native_float(long __this__nativeId, float yExtent);
/**
* See Qt3DExtras::QCuboidMesh::setYZMeshResolution(QSize)
*/
@QtPropertyWriter(name="yzMeshResolution")
public final void setYZMeshResolution(io.qt.core.@NonNull QSize resolution){
setYZMeshResolution_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resolution));
}
private native void setYZMeshResolution_native_cref_QSize(long __this__nativeId, long resolution);
/**
* See Qt3DExtras::QCuboidMesh::setZExtent(float)
*/
@QtPropertyWriter(name="zExtent")
public final void setZExtent(float zExtent){
setZExtent_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), zExtent);
}
private native void setZExtent_native_float(long __this__nativeId, float zExtent);
/**
* Kotlin property getter. In Java use {@link #xExtent()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getXExtent() {
return xExtent();
}
/**
* See Qt3DExtras::QCuboidMesh::xExtent()const
*/
@QtPropertyReader(name="xExtent")
@QtUninvokable
public final float xExtent(){
return xExtent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float xExtent_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #xyMeshResolution()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getXyMeshResolution() {
return xyMeshResolution();
}
/**
* See Qt3DExtras::QCuboidMesh::xyMeshResolution()const
*/
@QtPropertyReader(name="xyMeshResolution")
@QtUninvokable
public final io.qt.core.@NonNull QSize xyMeshResolution(){
return xyMeshResolution_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize xyMeshResolution_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #xzMeshResolution()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getXzMeshResolution() {
return xzMeshResolution();
}
/**
* See Qt3DExtras::QCuboidMesh::xzMeshResolution()const
*/
@QtPropertyReader(name="xzMeshResolution")
@QtUninvokable
public final io.qt.core.@NonNull QSize xzMeshResolution(){
return xzMeshResolution_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize xzMeshResolution_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #yExtent()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getYExtent() {
return yExtent();
}
/**
* See Qt3DExtras::QCuboidMesh::yExtent()const
*/
@QtPropertyReader(name="yExtent")
@QtUninvokable
public final float yExtent(){
return yExtent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float yExtent_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #yzMeshResolution()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getYzMeshResolution() {
return yzMeshResolution();
}
/**
* See Qt3DExtras::QCuboidMesh::yzMeshResolution()const
*/
@QtPropertyReader(name="yzMeshResolution")
@QtUninvokable
public final io.qt.core.@NonNull QSize yzMeshResolution(){
return yzMeshResolution_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize yzMeshResolution_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #zExtent()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getZExtent() {
return zExtent();
}
/**
* See Qt3DExtras::QCuboidMesh::zExtent()const
*/
@QtPropertyReader(name="zExtent")
@QtUninvokable
public final float zExtent(){
return zExtent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float zExtent_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QCuboidMesh(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QCuboidMesh(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QCuboidMesh instance, QDeclarativeConstructor constructor);
}