18 #include "pandabase.h" 20 #include "animInterface.h" 21 #include "animBundle.h" 22 #include "partGroup.h" 24 #include "pandaNode.h" 25 #include "typedReferenceCount.h" 28 #include "conditionVarFull.h" 44 double frame_rate,
int num_frames);
47 void set_bound_joints(
const BitArray &bound_joints);
53 INLINE
bool is_pending()
const;
55 INLINE
bool has_anim()
const;
56 void set_pending_done_event(
const string &done_event);
57 string get_pending_done_event()
const;
61 INLINE
int get_channel_index()
const;
62 INLINE
const BitArray &get_bound_joints()
const;
64 INLINE
void set_anim_model(
PandaNode *model);
67 virtual void output(ostream &out)
const;
74 bool channel_has_changed(
AnimChannelBase *channel,
bool frame_blend_flag)
const;
75 void mark_channels(
bool frame_blend_flag);
78 virtual void animation_activated();
82 string _pending_done_event;
108 return get_class_type();
110 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
115 static void init_type() {
116 TypedReferenceCount::init_type();
117 AnimInterface::init_type();
118 register_type(_type_handle,
"AnimControl",
119 TypedReferenceCount::get_class_type(),
120 AnimInterface::get_class_type());
127 INLINE ostream &operator << (ostream &out,
const AnimControl &control);
129 #include "animControl.I" A basic node of the scene graph or data graph.
void output(ostream &out) const
Outputs the Namable.
This is the root of an AnimChannel hierarchy.
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.
A base class for all things which can have a name.
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.
This is the base class for PartRoot and MovingPart.