io.qt.qt3d.render.QPickTriangleEvent Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Holds information when a triangle is picked
* Java wrapper for Qt class Qt3DRender::QPickTriangleEvent
*/
public class QPickTriangleEvent 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(QPickTriangleEvent.class);
/**
* See Qt3DRender::QPickTriangleEvent:: QPickTriangleEvent()
*/
public QPickTriangleEvent(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QPickTriangleEvent instance);
/**
* QPickTriangleEvent::QPickTriangleEvent Constructs a new QPickEvent with the given parameters * position, * worldIntersection, * localIntersection, * distance, * triangleIndex, * vertex1Index, * vertex2Index and * vertex3Index
*
* @param position
* @param worldIntersection
* @param localIntersection
* @param distance
* @param triangleIndex
* @param vertex1Index
* @param vertex2Index
* @param vertex3Index
*/
public QPickTriangleEvent(io.qt.core.@NonNull QPointF position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index){
super((QPrivateConstructor)null);
initialize_native(this, position, worldIntersection, localIntersection, distance, triangleIndex, vertex1Index, vertex2Index, vertex3Index);
}
private native static void initialize_native(QPickTriangleEvent instance, io.qt.core.QPointF position, io.qt.gui.QVector3D worldIntersection, io.qt.gui.QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index);
/**
* See Qt3DRender::QPickTriangleEvent:: QPickTriangleEvent(QPointF, QVector3D, QVector3D, float, uint, uint, uint, uint, Buttons, int, int, QVector3D)
* @param position
* @param worldIntersection
* @param localIntersection
* @param distance
* @param triangleIndex
* @param vertex1Index
* @param vertex2Index
* @param vertex3Index
* @param button
* @param buttons
* @param modifiers
* @param uvw
*/
public QPickTriangleEvent(io.qt.core.@NonNull QPointF position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers, io.qt.gui.@NonNull QVector3D uvw){
super((QPrivateConstructor)null);
initialize_native(this, position, worldIntersection, localIntersection, distance, triangleIndex, vertex1Index, vertex2Index, vertex3Index, button, buttons, modifiers, uvw);
}
private native static void initialize_native(QPickTriangleEvent instance, io.qt.core.QPointF position, io.qt.gui.QVector3D worldIntersection, io.qt.gui.QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index, io.qt.qt3d.render.QPickEvent.Buttons button, int buttons, int modifiers, io.qt.gui.QVector3D uvw);
/**
* QPickTriangleEvent::triangleIndex Returns the index of the picked triangle
* See Qt3DRender::QPickTriangleEvent:: triangleIndex()const
* @return
*/
@QtPropertyReader(name="triangleIndex")
@QtPropertyConstant
@QtUninvokable
public final int triangleIndex(){
return triangleIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int triangleIndex_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QPickTriangleEvent:: uvw()const
* @return
*/
@QtPropertyReader(name="uvw")
@QtPropertyConstant
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D uvw(){
return uvw_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D uvw_native_constfct(long __this__nativeId);
/**
* QPickTriangleEvent::vertex1Index Returns the index of the first point of the picked triangle
* See Qt3DRender::QPickTriangleEvent:: vertex1Index()const
* @return
*/
@QtPropertyReader(name="vertex1Index")
@QtPropertyConstant
@QtUninvokable
public final int vertex1Index(){
return vertex1Index_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int vertex1Index_native_constfct(long __this__nativeId);
/**
* QPickTriangleEvent::vertex2Index Returns the index of the second point of the picked triangle
* See Qt3DRender::QPickTriangleEvent:: vertex2Index()const
* @return
*/
@QtPropertyReader(name="vertex2Index")
@QtPropertyConstant
@QtUninvokable
public final int vertex2Index(){
return vertex2Index_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int vertex2Index_native_constfct(long __this__nativeId);
/**
* QPickTriangleEvent::vertex3Index Returns index of third point of picked triangle
* See Qt3DRender::QPickTriangleEvent:: vertex3Index()const
* @return
*/
@QtPropertyReader(name="vertex3Index")
@QtPropertyConstant
@QtUninvokable
public final int vertex3Index(){
return vertex3Index_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int vertex3Index_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QPickTriangleEvent(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QPickTriangleEvent(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QPickTriangleEvent instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QPickTriangleEvent(io.qt.core.QPointF, io.qt.gui.QVector3D, io.qt.gui.QVector3D, float, int, int, int, int)}.
*/
public QPickTriangleEvent(io.qt.core.@NonNull QPoint position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index) {
this(new io.qt.core.QPointF(position), worldIntersection, localIntersection, distance, triangleIndex, vertex1Index, vertex2Index, vertex3Index);
}
/**
* Overloaded constructor for {@link #QPickTriangleEvent(io.qt.core.QPointF, io.qt.gui.QVector3D, io.qt.gui.QVector3D, float, int, int, int, int, io.qt.qt3d.render.QPickEvent.Buttons, int, int, io.qt.gui.QVector3D)}.
*/
public QPickTriangleEvent(io.qt.core.@NonNull QPoint position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int triangleIndex, int vertex1Index, int vertex2Index, int vertex3Index, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers, io.qt.gui.@NonNull QVector3D uvw) {
this(new io.qt.core.QPointF(position), worldIntersection, localIntersection, distance, triangleIndex, vertex1Index, vertex2Index, vertex3Index, button, buttons, modifiers, uvw);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #triangleIndex()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getTriangleIndex() {
return triangleIndex();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #uvw()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getUvw() {
return uvw();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #vertex1Index()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getVertex1Index() {
return vertex1Index();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #vertex2Index()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getVertex2Index() {
return vertex2Index();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #vertex3Index()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final int getVertex3Index() {
return vertex3Index();
}
}