![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.render.QPickPointEvent Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Holds information when a segment of a point cloud is picked
* Java wrapper for Qt class Qt3DRender::QPickPointEvent
*/
public class QPickPointEvent extends io.qt.qt3d.render.QPickEvent
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QPickPointEvent.class);
/**
* See Qt3DRender::QPickPointEvent:: QPickPointEvent()
*/
public QPickPointEvent(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPickPointEvent instance);
/**
* See Qt3DRender::QPickPointEvent:: QPickPointEvent(QPointF, QVector3D, QVector3D, float, uint, Buttons, int, int)
* @param position
* @param worldIntersection
* @param localIntersection
* @param distance
* @param pointIndex
* @param button
* @param buttons
* @param modifiers
*/
public QPickPointEvent(io.qt.core.@NonNull QPointF position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int pointIndex, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers){
super((QPrivateConstructor)null);
initialize_native(this, position, worldIntersection, localIntersection, distance, pointIndex, button, buttons, modifiers);
}
private native static void initialize_native(QPickPointEvent instance, io.qt.core.QPointF position, io.qt.gui.QVector3D worldIntersection, io.qt.gui.QVector3D localIntersection, float distance, int pointIndex, io.qt.qt3d.render.QPickEvent.Buttons button, int buttons, int modifiers);
/**
* QPickPointEvent::pointIndex Returns the index of the picked point
* See Qt3DRender::QPickPointEvent:: pointIndex()const
* @return
*/
@QtPropertyReader(name="pointIndex")
@QtPropertyConstant
@QtUninvokable
public final int pointIndex(){
return pointIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int pointIndex_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QPickPointEvent(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QPickPointEvent(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QPickPointEvent instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QPickPointEvent(io.qt.core.QPointF, io.qt.gui.QVector3D, io.qt.gui.QVector3D, float, int, io.qt.qt3d.render.QPickEvent.Buttons, int, int)}.
*/
public QPickPointEvent(io.qt.core.@NonNull QPoint position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int pointIndex, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers) {
this(new io.qt.core.QPointF(position), worldIntersection, localIntersection, distance, pointIndex, button, buttons, modifiers);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #pointIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getPointIndex() {
return pointIndex();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy