![]() |
Qt 6.x
The Qt SDK
|
#include <qquick3dnode_p_p.h>
Inheritance diagram for QQuick3DNodePrivate:
Collaboration diagram for QQuick3DNodePrivate:Static Public Member Functions | |
| static QQuick3DNodePrivate * | get (QQuick3DNode *node) |
Static Public Member Functions inherited from QQuick3DObjectPrivate | |
| template<typename SceneContext , typename CallContext , typename Setter > | |
| static void | attachWatcherPriv (SceneContext *sceneContext, CallContext *callContext, Setter setter, QQuick3DObject *newO, QObject *oldO) |
| template<typename Context , typename Setter , typename Object3D > | |
| static void | attachWatcher (Context *context, Setter setter, Object3D *newO, Object3D *oldO) |
| Attach a object-destroyed-watcher to an object that's not owned. | |
| static QQuick3DObjectPrivate * | get (QQuick3DObject *item) |
| static const QQuick3DObjectPrivate * | get (const QQuick3DObject *item) |
| static QSSGRenderGraphObject * | updateSpatialNode (QQuick3DObject *o, QSSGRenderGraphObject *n) |
| static void | data_append (QQmlListProperty< QObject > *, QObject *) |
| static qsizetype | data_count (QQmlListProperty< QObject > *) |
| static QObject * | data_at (QQmlListProperty< QObject > *, qsizetype) |
| static void | data_clear (QQmlListProperty< QObject > *) |
| static QObject * | resources_at (QQmlListProperty< QObject > *, qsizetype) |
| static void | resources_append (QQmlListProperty< QObject > *, QObject *) |
| static qsizetype | resources_count (QQmlListProperty< QObject > *) |
| static void | resources_clear (QQmlListProperty< QObject > *) |
| static void | children_append (QQmlListProperty< QQuick3DObject > *, QQuick3DObject *) |
| static qsizetype | children_count (QQmlListProperty< QQuick3DObject > *) |
| static QQuick3DObject * | children_at (QQmlListProperty< QQuick3DObject > *, qsizetype) |
| static void | children_clear (QQmlListProperty< QQuick3DObject > *) |
| static void | refSceneManager (QQuick3DObject *obj, QQuick3DSceneManager &mgr) |
| static void | derefSceneManager (QQuick3DObject *obj) |
Static Public Member Functions inherited from QObjectPrivate | |
| static bool | removeConnection (Connection *c) |
| static QObjectPrivate * | get (QObject *o) |
| static const QObjectPrivate * | get (const QObject *o) |
| template<typename Func1 , typename Func2 > | |
| static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
| template<typename Func1 , typename Func2 > | |
| static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
| static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
| static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
| static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Additional Inherited Members | |
Public Types inherited from QQuick3DObjectPrivate | |
| enum | ChangeType { Geometry = 0x01 , SiblingOrder = 0x02 , Visibility = 0x04 , Opacity = 0x08 , Destroyed = 0x10 , Parent = 0x20 , Children = 0x40 , Rotation = 0x80 , ImplicitWidth = 0x100 , ImplicitHeight = 0x200 , Enabled = 0x400 } |
| enum | DirtyType { TransformOrigin = 0x00000001 , Transform = 0x00000002 , BasicTransform = 0x00000004 , Position = 0x00000008 , Size = 0x00000010 , ZValue = 0x00000020 , Content = 0x00000040 , Smooth = 0x00000080 , OpacityValue = 0x00000100 , ChildrenChanged = 0x00000200 , ChildrenStackingChanged = 0x00000400 , ParentChanged = 0x00000800 , Clip = 0x00001000 , Window = 0x00002000 , EffectReference = 0x00008000 , Visible = 0x00010000 , HideReference = 0x00020000 , Antialiasing = 0x00040000 , InstanceRootChanged = 0x00080000 , TransformUpdateMask = TransformOrigin | Transform | BasicTransform | Position | Window , ComplexTransformUpdateMask = Transform | Window , ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing , ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window } |
| using | Type = QSSGRenderGraphObject::Type |
| using | ConnectionMap = QHash< ConnectionKey, QMetaObject::Connection > |
Public Types inherited from QObjectPrivate | |
| typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
| using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
Definition at line 34 of file qquick3dnode_p_p.h.
|
explicit |
Definition at line 15 of file qquick3dnode.cpp.
| QQuick3DNodePrivate::~QQuick3DNodePrivate | ( | ) |
Definition at line 21 of file qquick3dnode.cpp.
| void QQuick3DNodePrivate::calculateGlobalVariables | ( | ) |
Definition at line 356 of file qquick3dnode.cpp.
References calculateGlobalVariables(), QSSGRenderNode::calculateTransformMatrix(), get(), m_hasInheritedUniformScale, m_pivot, m_position, m_rotation, m_scale, m_sceneTransform, m_sceneTransformDirty, QObjectData::parent, qFuzzyCompare(), QVector3D::x(), QVector3D::y(), and QVector3D::z().
Referenced by calculateGlobalVariables(), emitChangesToSceneTransform(), and sceneRotationMatrix().
Here is the call graph for this function:
Here is the caller graph for this function:| QMatrix4x4 QQuick3DNodePrivate::calculateLocalTransform | ( | ) |
| void QQuick3DNodePrivate::emitChangesToSceneTransform | ( | ) |
Definition at line 412 of file qquick3dnode.cpp.
References calculateGlobalVariables(), emit, QQuaternion::fromRotationMatrix(), mat44::getPosition(), mat44::getScale(), mat44::getUpper3x3(), m_directionConnectionCount, m_sceneTransform, QQuaternion::normalized(), QVector3D::normalized(), QMatrix4x4::normalMatrix(), Q_EMIT, qFuzzyCompare(), and mat33::transform().
Referenced by markSceneTransformDirty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 57 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables(), QQuick3DNode::itemChange(), markSceneTransformDirty(), QQuick3DNode::rotate(), sceneRotationMatrix(), and QQuick3DJoint::setSkeletonRoot().
Here is the caller graph for this function:| void QQuick3DNodePrivate::init | ( | ) |
Definition at line 26 of file qquick3dnode.cpp.
| bool QQuick3DNodePrivate::isDirectionRelatedSignal | ( | const QMetaMethod & | signal | ) | const |
Definition at line 487 of file qquick3dnode.cpp.
References QQuick3DNode::forwardChanged(), QMetaMethod::fromSignal(), QQuick3DNode::rightChanged(), signal, and QQuick3DNode::upChanged().
Here is the call graph for this function:| bool QQuick3DNodePrivate::isSceneTransformRelatedSignal | ( | const QMetaMethod & | signal | ) | const |
Definition at line 472 of file qquick3dnode.cpp.
References QMetaMethod::fromSignal(), QQuick3DNode::scenePositionChanged(), QQuick3DNode::sceneRotationChanged(), QQuick3DNode::sceneScaleChanged(), QQuick3DNode::sceneTransformChanged(), and signal.
Here is the call graph for this function:
|
inline |
Definition at line 382 of file qquick3dnode.cpp.
References m_rotation, and RotationData::toRotationMatrix().
Referenced by sceneRotationMatrix().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuick3DNodePrivate::markSceneTransformDirty | ( | ) |
Definition at line 530 of file qquick3dnode.cpp.
References child, QQuick3DObjectPrivate::childItems, QQuick3DObjectPrivate::children(), emitChangesToSceneTransform(), get(), QQuick3DObjectPrivate::get(), m_directionConnectionCount, m_sceneTransformConnectionCount, m_sceneTransformDirty, and markSceneTransformDirty().
Referenced by QQuick3DNode::itemChange(), and markSceneTransformDirty().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 387 of file qquick3dnode.cpp.
References calculateGlobalVariables(), get(), localRotationMatrix(), m_hasInheritedUniformScale, m_sceneTransformDirty, mat44::normalize(), and sceneRotationMatrix().
Referenced by QQuick3DNode::rotate(), and sceneRotationMatrix().
Here is the call graph for this function:
Here is the caller graph for this function:| void QQuick3DNodePrivate::setIsHiddenInEditor | ( | bool | isHidden | ) |
Definition at line 31 of file qquick3dnode.cpp.
References m_isHiddenInEditor.
| int QQuick3DNodePrivate::m_directionConnectionCount = 0 |
Definition at line 69 of file qquick3dnode_p_p.h.
Referenced by emitChangesToSceneTransform(), and markSceneTransformDirty().
| bool QQuick3DNodePrivate::m_hasInheritedUniformScale = true |
Definition at line 71 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables(), and sceneRotationMatrix().
| bool QQuick3DNodePrivate::m_isHiddenInEditor = false |
Definition at line 70 of file qquick3dnode_p_p.h.
Referenced by setIsHiddenInEditor().
| float QQuick3DNodePrivate::m_opacity = 1.0f |
Definition at line 63 of file qquick3dnode_p_p.h.
| QVector3D QQuick3DNodePrivate::m_pivot |
Definition at line 62 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables().
| QVector3D QQuick3DNodePrivate::m_position |
Definition at line 60 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables().
| RotationData QQuick3DNodePrivate::m_rotation |
Definition at line 59 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables(), and localRotationMatrix().
| QVector3D QQuick3DNodePrivate::m_scale { 1.0f, 1.0f, 1.0f } |
Definition at line 61 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables().
| QMatrix4x4 QQuick3DNodePrivate::m_sceneTransform |
Definition at line 66 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables(), and emitChangesToSceneTransform().
| int QQuick3DNodePrivate::m_sceneTransformConnectionCount = 0 |
Definition at line 68 of file qquick3dnode_p_p.h.
Referenced by markSceneTransformDirty().
| bool QQuick3DNodePrivate::m_sceneTransformDirty = true |
Definition at line 67 of file qquick3dnode_p_p.h.
Referenced by calculateGlobalVariables(), markSceneTransformDirty(), and sceneRotationMatrix().
| int QQuick3DNodePrivate::m_staticFlags = 0 |
Definition at line 64 of file qquick3dnode_p_p.h.
| bool QQuick3DNodePrivate::m_visible = true |
Definition at line 65 of file qquick3dnode_p_p.h.