All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.render.QPickLineEvent Maven / Gradle / Ivy

The newest version!
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Holds information when a segment of a line is picked

*

Java wrapper for Qt class Qt3DRender::QPickLineEvent

*/ public class QPickLineEvent 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(QPickLineEvent.class); /** *

See Qt3DRender::QPickLineEvent::QPickLineEvent()

*/ public QPickLineEvent(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QPickLineEvent instance); /** *

See Qt3DRender::QPickLineEvent::QPickLineEvent(QPointF,QVector3D,QVector3D,float,uint,uint,uint,Buttons,int,int)

* @param position * @param worldIntersection * @param localIntersection * @param distance * @param edgeIndex * @param vertex1Index * @param vertex2Index * @param button * @param buttons * @param modifiers */ public QPickLineEvent(io.qt.core.@NonNull QPointF position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int edgeIndex, int vertex1Index, int vertex2Index, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers){ super((QPrivateConstructor)null); initialize_native(this, position, worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers); } private native static void initialize_native(QPickLineEvent instance, io.qt.core.QPointF position, io.qt.gui.QVector3D worldIntersection, io.qt.gui.QVector3D localIntersection, float distance, int edgeIndex, int vertex1Index, int vertex2Index, io.qt.qt3d.render.QPickEvent.Buttons button, int buttons, int modifiers); /** *

QPickLineEvent::edgeIndex Returns the index of the picked edge

*

See Qt3DRender::QPickLineEvent::edgeIndex()const

* @return */ @QtPropertyReader(name="edgeIndex") @QtPropertyConstant @QtUninvokable public final int edgeIndex(){ return edgeIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int edgeIndex_native_constfct(long __this__nativeId); /** *

QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge

*

See Qt3DRender::QPickLineEvent::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); /** *

QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle

*

See Qt3DRender::QPickLineEvent::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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPickLineEvent(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QPickLineEvent(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QPickLineEvent instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QPickLineEvent(io.qt.core.QPointF, io.qt.gui.QVector3D, io.qt.gui.QVector3D, float, int, int, int, io.qt.qt3d.render.QPickEvent.Buttons, int, int)}.

*/ public QPickLineEvent(io.qt.core.@NonNull QPoint position, io.qt.gui.@NonNull QVector3D worldIntersection, io.qt.gui.@NonNull QVector3D localIntersection, float distance, int edgeIndex, int vertex1Index, int vertex2Index, io.qt.qt3d.render.QPickEvent.@NonNull Buttons button, int buttons, int modifiers) { this(new io.qt.core.QPointF(position), worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers); } /** * @hidden *

Kotlin property getter. In Java use {@link #edgeIndex()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getEdgeIndex() { return edgeIndex(); } /** * @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(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy