QChannel Class

(Qt3DAnimation::QChannel)

Defines a channel for a QAnimationClipData. The animation system interpolates each channel component independently except in the case the QChannel is called "Rotation" (case sensitive), it has four QChannelComponents and the same number of keyframes for each QChannelComponent. In that case the interpolation will be performed using SLERP. More...

Header: #include <QChannel>
qmake: QT += 3danimation

Public Types

Public Functions

QChannel()
QChannel(const QString &name)
QChannel(const Qt3DAnimation::QChannel &)
~QChannel()
void appendChannelComponent(const Qt3DAnimation::QChannelComponent &component)
Qt3DAnimation::QChannel::const_iterator begin() const
Qt3DAnimation::QChannel::const_iterator cbegin() const
Qt3DAnimation::QChannel::const_iterator cend() const
int channelComponentCount() const
void clearChannelComponents()
Qt3DAnimation::QChannel::const_reverse_iterator crbegin() const
Qt3DAnimation::QChannel::const_reverse_iterator crend() const
Qt3DAnimation::QChannel::const_iterator end() const
void insertChannelComponent(int index, const Qt3DAnimation::QChannelComponent &component)
int jointIndex() const
QString name() const
Qt3DAnimation::QChannel::const_reverse_iterator rbegin() const
void removeChannelComponent(int index)
Qt3DAnimation::QChannel::const_reverse_iterator rend() const
void setJointIndex(int jointIndex)
void setName(const QString &name)
Qt3DAnimation::QChannel &operator=(const Qt3DAnimation::QChannel &)

Detailed Description

Defines a channel for a QAnimationClipData. The animation system interpolates each channel component independently except in the case the QChannel is called "Rotation" (case sensitive), it has four QChannelComponents and the same number of keyframes for each QChannelComponent. In that case the interpolation will be performed using SLERP.

Member Type Documentation

typedef QChannel::const_iterator

typedef QChannel::const_reverse_iterator

Member Function Documentation

QChannel::QChannel()

Default constructs an instance of QChannel.

QChannel::QChannel(const QString &name)

Default constructs an instance of QChannel.

QChannel::QChannel(const Qt3DAnimation::QChannel &)

Default constructs an instance of QChannel.

QChannel::~QChannel()

Destroys the instance of QChannel.

void QChannel::appendChannelComponent(const Qt3DAnimation::QChannelComponent &component)

Qt3DAnimation::QChannel::const_iterator QChannel::begin() const

Qt3DAnimation::QChannel::const_iterator QChannel::cbegin() const

Qt3DAnimation::QChannel::const_iterator QChannel::cend() const

int QChannel::channelComponentCount() const

void QChannel::clearChannelComponents()

Qt3DAnimation::QChannel::const_reverse_iterator QChannel::crbegin() const

Qt3DAnimation::QChannel::const_reverse_iterator QChannel::crend() const

Qt3DAnimation::QChannel::const_iterator QChannel::end() const

void QChannel::insertChannelComponent(int index, const Qt3DAnimation::QChannelComponent &component)

int QChannel::jointIndex() const

See also setJointIndex().

QString QChannel::name() const

See also setName().

Qt3DAnimation::QChannel::const_reverse_iterator QChannel::rbegin() const

void QChannel::removeChannelComponent(int index)

Qt3DAnimation::QChannel::const_reverse_iterator QChannel::rend() const

void QChannel::setJointIndex(int jointIndex)

See also jointIndex().

void QChannel::setName(const QString &name)

See also name().

Qt3DAnimation::QChannel &QChannel::operator=(const Qt3DAnimation::QChannel &)

Copy-assignment operator.

© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.