41 double frame_rate,
int num_frames);
46 void set_bound_joints(
const BitArray &bound_joints);
52 INLINE
bool is_pending()
const;
54 INLINE
bool has_anim()
const;
55 void set_pending_done_event(
const std::string &done_event);
56 std::string get_pending_done_event()
const;
60 INLINE
int get_channel_index()
const;
61 INLINE
const BitArray &get_bound_joints()
const;
63 INLINE
void set_anim_model(
PandaNode *model);
66 virtual void output(std::ostream &out)
const;
72 bool channel_has_changed(
AnimChannelBase *channel,
bool frame_blend_flag)
const;
73 void mark_channels(
bool frame_blend_flag);
76 virtual void animation_activated();
80 std::string _pending_done_event;
104 return get_class_type();
106 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
111 static void init_type() {
112 TypedReferenceCount::init_type();
113 AnimInterface::init_type();
115 TypedReferenceCount::get_class_type(),
116 AnimInterface::get_class_type());
123 INLINE std::ostream &operator << (std::ostream &out,
const AnimControl &control);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the root of an AnimChannel hierarchy.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
A standard mutex, or mutual exclusion lock.
This is the fundamental interface for things that have a play/loop/stop type interface for frame-base...
A dynamic array with an unlimited number of bits.
Parent class for all animation channels.
void output(std::ostream &out) const
Outputs the Namable.
A base class for all things which can have a name.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class implements a condition variable; see ConditionVar for a brief introduction to this class.
This is the root of a MovingPart hierarchy.
Controls the timing of a character animation.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the base class for PartRoot and MovingPart.