14template<
class SwitchType>
15TypeHandle AnimChannel<SwitchType>::_type_handle;
27template<
class SwitchType>
38template<
class SwitchType>
39INLINE AnimChannel<SwitchType>::
40AnimChannel(
AnimGroup *parent,
const AnimChannel ©) :
41 AnimChannelBase(parent, copy)
49template<
class SwitchType>
50INLINE AnimChannel<SwitchType>::
51AnimChannel(AnimGroup *parent,
const std::string &name)
52 : AnimChannelBase(parent, name) {
58template<
class SwitchType>
68template<
class SwitchType>
71 get_value(frame, value);
78template<
class SwitchType>
88template<
class SwitchType>
99template<
class SwitchType>
109template<
class SwitchType>
119template<
class SwitchType>
131template<
class SwitchType>
134 return get_type_handle(ValueType);
Parent class for all animation channels.
This template class is the parent class for all kinds of AnimChannels that return different values.
virtual void get_scale(int frame, LVecBase3 &scale)
Returns the x, y, and z scale components associated with the current frame.
virtual void get_hpr(int frame, LVecBase3 &hpr)
Returns the h, p, and r components associated with the current frame.
virtual void get_quat(int frame, LQuaternion &quat)
Returns the rotation component associated with the current frame, expressed as a quaternion.
virtual TypeHandle get_value_type() const
Returns the TypeHandle associated with the ValueType we return.
virtual void get_pos(int frame, LVecBase3 &pos)
Returns the x, y, and z translation components associated with the current frame.
virtual void get_value_no_scale_shear(int frame, ValueType &value)
Returns the value associated with the current frame, with no scale or share components.
virtual void get_shear(int frame, LVecBase3 &shear)
Returns the a, b, and c shear components associated with the current frame.
This is the base class for AnimChannel and AnimBundle.
TypeHandle is the identifier used to differentiate C++ class types.