io.qt.qt3d.render.QLevelOfDetailBoundingSphere Maven / Gradle / Ivy
Show all versions of qtjambi-qt3drender Show documentation
package io.qt.qt3d.render;
import io.qt.*;
/**
* Simple spherical volume, defined by its center and radius
* Java wrapper for Qt class Qt3DRender::QLevelOfDetailBoundingSphere
*/
public class QLevelOfDetailBoundingSphere extends QtObject
implements java.lang.Cloneable
{
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(QLevelOfDetailBoundingSphere.class);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: QLevelOfDetailBoundingSphere(QVector3D, float)
* @param center
* @param radius
*/
public QLevelOfDetailBoundingSphere(io.qt.gui.@NonNull QVector3D center, float radius){
super((QPrivateConstructor)null);
initialize_native(this, center, radius);
}
private native static void initialize_native(QLevelOfDetailBoundingSphere instance, io.qt.gui.QVector3D center, float radius);
/**
*
* @param other
*/
public QLevelOfDetailBoundingSphere(io.qt.qt3d.render.@NonNull QLevelOfDetailBoundingSphere other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QLevelOfDetailBoundingSphere instance, io.qt.qt3d.render.QLevelOfDetailBoundingSphere other);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: center()const
* @return
*/
@QtPropertyReader(name="center")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D center(){
return center_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D center_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: isEmpty()const
* @return
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: operator=(Qt3DRender::QLevelOfDetailBoundingSphere)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.qt3d.render.@NonNull QLevelOfDetailBoundingSphere other){
assign_native_cref_Qt3DRender_QLevelOfDetailBoundingSphere(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_Qt3DRender_QLevelOfDetailBoundingSphere(long __this__nativeId, long other);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: operator==(Qt3DRender::QLevelOfDetailBoundingSphere)const
* @param other
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.qt3d.render.@NonNull QLevelOfDetailBoundingSphere other){
return equals_native_cref_Qt3DRender_QLevelOfDetailBoundingSphere_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native boolean equals_native_cref_Qt3DRender_QLevelOfDetailBoundingSphere_constfct(long __this__nativeId, long other);
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: radius()const
* @return
*/
@QtPropertyReader(name="radius")
@QtPropertyConstant
@QtUninvokable
public final float radius(){
return radius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float radius_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QLevelOfDetailBoundingSphere(QPrivateConstructor p) { super(p); }
/**
* See Qt3DRender::QLevelOfDetailBoundingSphere:: operator==(Qt3DRender::QLevelOfDetailBoundingSphere)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.qt3d.render.QLevelOfDetailBoundingSphere) {
return equals((io.qt.qt3d.render.QLevelOfDetailBoundingSphere) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(Qt3DRender::QLevelOfDetailBoundingSphere)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QLevelOfDetailBoundingSphere clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QLevelOfDetailBoundingSphere clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QLevelOfDetailBoundingSphere(io.qt.gui.QVector3D, float)}
* with radius = 1.0f
.
*/
public QLevelOfDetailBoundingSphere(io.qt.gui.@NonNull QVector3D center) {
this(center, (float)1.0f);
}
/**
* Overloaded constructor for {@link #QLevelOfDetailBoundingSphere(io.qt.gui.QVector3D, float)}
* with:
* center = new io.qt.gui.QVector3D()
* radius = 1.0f
*
*/
public QLevelOfDetailBoundingSphere() {
this(new io.qt.gui.QVector3D(), (float)1.0f);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #center()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getCenter() {
return center();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #radius()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getRadius() {
return radius();
}
}