Qt3DCore Namespace | Qt 3D 5.6

Qt 5.6 | Qt 3D | Qt3DCore Namespace

Qt 5.6.2 Reference Documentation

# Qt3DCore Namespace

Contains classes that are the foundation for Qt 3D simulation framework, as well as classes that provide the ability to render using the Qt 3D framework. More...

Header: | #include <Qt3DCore>
qmake: | QT += 3dcore

## Namespaces

namespace | Quick

## Classes

class | ArrayAllocatingPolicy
class | ArrayPreallocationPolicy
class | AspectTaskRunnable
class | CircularBufferData
class | Dependency
class | DependencyHandler
class | Int2Type
class | NonLockingPolicy
class | NullOpenGLInformationService
class | NullSystemInformationService
class | ObjectLevelLockingPolicy
class | PropertyChangeHandler
class | QAbstractArbiter
class | QAbstractAspect
class | QAbstractAspectJobManager
class | QAbstractAspectPrivate
class | QAbstractFrameAdvanceService
class | QAbstractFrameAdvanceServicePrivate
class | QAbstractNodeFactory
class | QAbstractPostman
class | QAbstractServiceProvider
class | QAbstractServiceProviderPrivate
class | QAspectEngine
class | QAspectEnginePrivate
class | QAspectFactory
class | QAspectJob
class | QAspectJobManager
class | QAspectJobPrivate
class | QAspectJobProviderInterface
class | QAspectManager
class | QAspectThread
class | QBackendNode
class | QBackendNodeFactory
class | QBackendNodeFunctor
class | QBackendNodePrivate
class | QBackendScenePropertyChange
class | QBackendScenePropertyChangePrivate
class | QBoundedCircularBuffer
class | QCamera
class | QCameraLens
class | QCameraLensPrivate
class | QCameraPrivate
class | QChangeArbiter
class | QCircularBuffer
class | QComponent
class | QComponentPrivate
class | QEntity
class | QEntityPrivate
class | QEventFilterService
class | QFixedFrameAllocator
class | QFrameAllocator
class | QFrameAllocatorPrivate
class | QFrameChunk
class | QHandle
class | QHandleManager
class | QLockableObserverInterface
class | QNode
class | QNodeId
class | QNodePrivate
class | QNodeVisitor
class | QObservableInterface
class | QObserverInterface
class | QOpenGLInformationService
class | QOpenGLInformationServicePrivate
class | QPostman
class | QRay3D
class | QResourceInfo
class | QResourceManager
class | QScene
class | QSceneChange
class | QSceneChangePrivate
class | QSceneObserverInterface
class | QScenePropertyChange
class | QScenePropertyChangePrivate
class | QScheduler
class | QServiceLocator
class | QSystemInformationService
class | QSystemInformationServicePrivate
class | QThreadPooler
class | QTickClock
class | QTickClockService
class | QTransform
class | QTransformPrivate
class | QuickNodeFactory
class | RunnableInterface
class | SyncTaskRunnable
class | TypedCircularBufferData

## Types

enum | ChangeFlag { NodeCreated, NodeAboutToBeDeleted, NodeDeleted, NodeUpdated, ..., AllChanges }
flags | ChangeFlags
typedef | QAspectJobPtr
typedef | QBackendNodeFunctorPtr
typedef | QBackendScenePropertyChangePtr
typedef | QComponentList
typedef | QNodeList
typedef | QNodePtr
typedef | QObservableList
typedef | QSceneChangeList
typedef | QSceneChangePtr
typedef | QScenePropertyChangePtr

## Functions

| PropertyChangeHandler(Receiver *receiver, QObject *parent)
QHandle<T, INDEXBITS> | acquire(T *d)
void | connectToPropertyChange(const QObject *object, int propertyIndex)
const T * | constData(const QHandle<T, INDEXBITS> &handle, bool *ok) const
T * | data(const QHandle<T, INDEXBITS> &handle, bool *ok)
void | disconnectFromPropertyChange(const QObject *object, int propertyIndex)
uint | qHash(const QNodeId &id, uint seed = 0)
int | qt_metacall(QMetaObject::Call call, int methodId, void **args)
void | registerBackendType(const QBackendNodeFunctorPtr &functor)
void | release(const QHandle<T, INDEXBITS> &handle)
void | reset()
void | swap(QCircularBuffer<T> &lhs, QCircularBuffer<T> &rhs)
void | update(const QHandle<T, INDEXBITS> &handle, T *d)
bool | operator!=(const Dependency &left, const Dependency &right)
bool | operator!=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
QCircularBuffer<T> | operator+(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
bool | operator<(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
QDebug | operator<<(QDebug d, const QNodeId &id)
QDebug | operator<<(QDebug dbg, const Qt3DCore::QRay3D &ray)
QDataStream & | operator<<(QDataStream &stream, const Qt3DCore::QRay3D &ray)
QDebug | operator<<(QDebug dbg, const QHandle<T, INDEXBITS> &h)
bool | operator<=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
bool | operator==(const Dependency &left, const Dependency &right)
bool | operator==(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
bool | operator>(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
bool | operator>=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)
QDataStream & | operator>>(QDataStream &stream, Qt3DCore::QRay3D &ray)

## Detailed Description

Contains classes that are the foundation for Qt 3D simulation framework, as well as classes that provide the ability to render using the Qt 3D framework.

## Namespaces

### namespace Qt3DCore::Quick

Contains classes used for implementing QML functionality into Qt3D applications.

## Classes

### class ArrayAllocatingPolicy

### class ArrayPreallocationPolicy

### class AspectTaskRunnable

### class CircularBufferData

### class Dependency

### class DependencyHandler

### class Int2Type

### class NonLockingPolicy

### class NullOpenGLInformationService

### class NullSystemInformationService

### class ObjectLevelLockingPolicy

### class PropertyChangeHandler

### class QAbstractArbiter

### class QAbstractAspect

QAbstractAspect is the base class for aspects that provide a vertical slice of behavior. More...

### class QAbstractAspectJobManager

### class QAbstractAspectPrivate

### class QAbstractFrameAdvanceService

### class QAbstractFrameAdvanceServicePrivate

### class QAbstractNodeFactory

### class QAbstractPostman

### class QAbstractServiceProvider

### class QAbstractServiceProviderPrivate

### class QAspectEngine

### class QAspectEnginePrivate

### class QAspectFactory

### class QAspectJob

### class QAspectJobManager

### class QAspectJobPrivate

### class QAspectJobProviderInterface

### class QAspectManager

### class QAspectThread

### class QBackendNode

### class QBackendNodeFactory

### class QBackendNodeFunctor

### class QBackendNodePrivate

### class QBackendScenePropertyChange

### class QBackendScenePropertyChangePrivate

### class QBoundedCircularBuffer

### class QCamera

### class QCameraLens

Qt3DCore::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene. More...

### class QCameraLensPrivate

### class QCameraPrivate

### class QChangeArbiter

### class QCircularBuffer

### class QComponent

The base class of scene nodes that can be aggregated by Qt3DCore::QEntity instances as a component. More...

### class QComponentPrivate

### class QEntity

Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior. More...

### class QEntityPrivate

### class QEventFilterService

### class QFixedFrameAllocator

### class QFrameAllocator

### class QFrameAllocatorPrivate

### class QFrameChunk

### class QHandle

### class QHandleManager

### class QLockableObserverInterface

### class QNode

QNode is the base class of all Qt3D node classes used to build a Qt3D scene. More...

### class QNodeId

### class QNodePrivate

### class QNodeVisitor

### class QObservableInterface

### class QObserverInterface

### class QOpenGLInformationService

### class QOpenGLInformationServicePrivate

### class QPostman

### class QRay3D

The QRay3D class defines a directional line in 3D space extending through an origin point. More...

### class QResourceInfo

### class QResourceManager

### class QScene

### class QSceneChange

### class QSceneChangePrivate

### class QSceneObserverInterface

### class QScenePropertyChange

### class QScenePropertyChangePrivate

### class QScheduler

### class QServiceLocator

### class QSystemInformationService

### class QSystemInformationServicePrivate

### class QThreadPooler

### class QTickClock

### class QTickClockService

### class QTransform

### class QTransformPrivate

### class QuickNodeFactory

### class RunnableInterface

### class SyncTaskRunnable

### class TypedCircularBufferData

## Type Documentation

### enum Qt3DCore::ChangeFlag
flags Qt3DCore::ChangeFlags

The types of change that can be sent and received by Qt3D's change notification system.

Constant | Value | Description
--- | --- | ---
`Qt3DCore::NodeCreated` | `1<<0` | A new instance of a QNode subclass has been created.
`Qt3DCore::NodeAboutToBeDeleted` | `1<<1` | A QNode is about to be deleted from the scene.
`Qt3DCore::NodeDeleted` | `1<<2` | A QNode has been deleted.
`Qt3DCore::NodeUpdated` | `1<<3` | A QNode property has been updated.
`Qt3DCore::NodeAdded` | `1<<4` | A QNode has been added to the scene.
`Qt3DCore::NodeRemoved` | `1<<5` | A QNode has been removed from the scene.
`Qt3DCore::ComponentAdded` | `1<<6` | A QComponent has been added to a QEntity.
`Qt3DCore::ComponentRemoved` | `1<<7` | A QComponent has been removed from a QEntity.
`Qt3DCore::AllChanges` | `0xFFFFFFFF` | Allows an observer to monitor for any of the above changes.

The ChangeFlags type is a typedef for QFlags<ChangeFlag>. It stores an OR combination of ChangeFlag values.

### typedef Qt3DCore::QAspectJobPtr

A shared pointer for QAspectJob.

### typedef Qt3DCore::QBackendNodeFunctorPtr

A shared pointer for QBackendNodeFunctor.

### typedef Qt3DCore::QBackendScenePropertyChangePtr

A shared pointer for QBackendScenePropertyChange.

### typedef Qt3DCore::QComponentList

List of QComponent pointers.

### typedef Qt3DCore::QNodeList

List of QNode pointers.

### typedef Qt3DCore::QNodePtr

A shared pointer for QNode.

### typedef Qt3DCore::QObservableList

### typedef Qt3DCore::QSceneChangeList

### typedef Qt3DCore::QSceneChangePtr

### typedef Qt3DCore::QScenePropertyChangePtr

## Function Documentation

### Qt3DCore::PropertyChangeHandler(Receiver *receiver, QObject *parent)

### QHandle<T, INDEXBITS> Qt3DCore::acquire(T *d)

### void Qt3DCore::connectToPropertyChange(const QObject *object, int propertyIndex)

### const T *Qt3DCore::constData(const QHandle<T, INDEXBITS> &handle, bool *ok) const

### T *Qt3DCore::data(const QHandle<T, INDEXBITS> &handle, bool *ok)

### void Qt3DCore::disconnectFromPropertyChange(const QObject *object, int propertyIndex)

### uint Qt3DCore::qHash(const QNodeId &id, uint seed = 0)

### int Qt3DCore::qt_metacall(QMetaObject::Call call, int methodId, void **args)

### void Qt3DCore::registerBackendType(const QBackendNodeFunctorPtr &functor)

### void Qt3DCore::release(const QHandle<T, INDEXBITS> &handle)

### void Qt3DCore::reset()

### void Qt3DCore::swap(QCircularBuffer<T> &lhs, QCircularBuffer<T> &rhs)

### void Qt3DCore::update(const QHandle<T, INDEXBITS> &handle, T *d)

### bool Qt3DCore::operator!=(const Dependency &left, const Dependency &right)

### bool Qt3DCore::operator!=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### QCircularBuffer<T> Qt3DCore::operator+(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### bool Qt3DCore::operator<(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### QDebug Qt3DCore::operator<<(QDebug d, const QNodeId &id)

### QDebug Qt3DCore::operator<<(QDebug dbg, const Qt3DCore::QRay3D &ray)

### QDataStream &Qt3DCore::operator<<(QDataStream &stream, const Qt3DCore::QRay3D &ray)

### QDebug Qt3DCore::operator<<(QDebug dbg, const QHandle<T, INDEXBITS> &h)

### bool Qt3DCore::operator<=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### bool Qt3DCore::operator==(const Dependency &left, const Dependency &right)

### bool Qt3DCore::operator==(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### bool Qt3DCore::operator>(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### bool Qt3DCore::operator>=(const QCircularBuffer<T> &lhs, const QCircularBuffer<T> &rhs)

### QDataStream &Qt3DCore::operator>>(QDataStream &stream, Qt3DCore::QRay3D &ray)

Reads a 3D ray from the given stream into the given ray and returns a reference to the stream.